Fixed plugins case (unloading module).
This commit is contained in:
parent
bd1eb0f862
commit
1de56aa05e
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user