mirror of
https://github.com/libretro/RetroArch
synced 2025-02-25 21:41:03 +00:00
Check if fullpath is non-empty.
This commit is contained in:
parent
911f782c50
commit
99b41dd1d0
@ -177,7 +177,7 @@ int rarch_main(int argc, char *argv[])
|
||||
args.config_path = *g_extern.config_path ? g_extern.config_path : NULL;
|
||||
args.sram_path = (g_extern.lifecycle_mode_state & (1ULL << MODE_LOAD_GAME_SRAM_DIR_ENABLE)) ? g_extern.console.main_wrap.default_sram_dir : NULL;
|
||||
args.state_path = (g_extern.lifecycle_mode_state & (1ULL << MODE_LOAD_GAME_STATE_DIR_ENABLE)) ? g_extern.console.main_wrap.default_savestate_dir : NULL;
|
||||
args.rom_path = g_extern.fullpath;
|
||||
args.rom_path = *g_extern.fullpath ? g_extern.fullpath : NULL;
|
||||
args.libretro_path = g_settings.libretro;
|
||||
|
||||
int init_ret = rarch_main_init_wrap(&args);
|
||||
|
Loading…
x
Reference in New Issue
Block a user