- compilation fixes

This commit is contained in:
Volker Ruppert 2012-08-15 21:29:32 +00:00
parent 9ed372790e
commit 6809e9b72e

View File

@ -315,9 +315,18 @@ void bx_devices_c::exit()
bx_unload_plugins();
bx_unload_core_plugins();
PLUG_unload_plugin(hdimage);
PLUG_unload_plugin(netmod);
PLUG_unload_plugin(soundmod);
PLUG_unload_plugin(usb_common);
#if BX_NETWORKING
if (is_network_enabled())
PLUG_unload_plugin(netmod);
#endif
#if BX_SUPPORT_SOUNDLOW
if (is_sound_enabled())
PLUG_unload_plugin(soundmod);
#endif
#if BX_SUPPORT_PCIUSB
if (is_usb_enabled())
PLUG_unload_plugin(usb_common);
#endif
init_stubs();
}