bio2emu: Remove requirement for bio2emu_init_end to be called
Instead bio2emu_setupapi_hook_init is called during init, this is safe because the game's IO thread isn't initialized at this point, and nothing could be attempting to open devices at this point in time.
This commit is contained in:
@@ -149,11 +149,8 @@ static bool my_dll_entry_init(char *sidcode, struct property_node *param)
|
||||
rs232_hook_limit_hooks();
|
||||
|
||||
if (!iidxhook8_config_io.disable_bio2_emu) {
|
||||
bio2emu_init_start();
|
||||
|
||||
bio2emu_init();
|
||||
bio2_emu_bi2a_init(&bio2_emu, iidxhook8_config_io.disable_poll_limiter);
|
||||
|
||||
bio2emu_init_end();
|
||||
}
|
||||
|
||||
if (!iidxhook8_config_io.disable_card_reader_emu) {
|
||||
|
||||
Reference in New Issue
Block a user