mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Refactor this
This commit is contained in:
parent
0862700577
commit
32add9c3c2
@ -4739,10 +4739,11 @@ static bool secondary_core_create(void)
|
||||
return false;
|
||||
|
||||
/* Load Core */
|
||||
if (init_libretro_symbols_custom(
|
||||
if (!init_libretro_symbols_custom(
|
||||
CORE_TYPE_PLAIN, &secondary_core,
|
||||
secondary_library_path, &secondary_module))
|
||||
{
|
||||
return false;
|
||||
|
||||
secondary_core.symbols_inited = true;
|
||||
secondary_core.retro_set_environment(
|
||||
rarch_environment_secondary_core_hook);
|
||||
@ -4812,9 +4813,6 @@ static bool secondary_core_create(void)
|
||||
(unsigned)port, (unsigned)device);
|
||||
}
|
||||
clear_controller_port_map();
|
||||
}
|
||||
else
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user