Fixed compilation failure if ES1370 is enabled, but gameport disabled in config.h.

This commit is contained in:
Volker Ruppert 2017-08-04 18:09:26 +00:00
parent 18dc09aaad
commit 21fce8c2f2

View File

@ -275,7 +275,11 @@ extern "C" {
((eth_pktmover_c*)bx_netmod_ctl.init_module(a,(void*)b,(void*)c,d))
///////// Gameport macro
#if BX_SUPPORT_GAMEPORT
#define DEV_gameport_set_enabled(a) bx_devices.pluginGameport->set_enabled(a)
#else
#define DEV_gameport_set_enabled(a) BX_ERROR(("gameport emulation not present"))
#endif
#if BX_HAVE_DLFCN_H