Fixed plugins case (unloading module).

This commit is contained in:
Volker Ruppert 2017-05-28 08:45:23 +00:00
parent bd1eb0f862
commit 1de56aa05e

View File

@ -295,7 +295,7 @@ void usbdev_locator_c::cleanup()
{ {
#if BX_PLUGINS #if BX_PLUGINS
while (all != NULL) { while (all != NULL) {
PLUG_unload_usb_plugin(usbmod_names[all->type]); PLUG_unload_usb_plugin(all->type);
} }
#endif #endif
} }