mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
RARCH_CMD_HISTORY_INIT - early return if g_extern.history is not NULL
This commit is contained in:
parent
b6dc9fff03
commit
8178957c7b
@ -3259,6 +3259,9 @@ void rarch_main_command(unsigned action)
|
||||
#endif
|
||||
break;
|
||||
case RARCH_CMD_HISTORY_INIT:
|
||||
if (g_extern.history)
|
||||
return;
|
||||
|
||||
g_extern.history = content_history_init(g_settings.content_history_path, g_settings.game_history_size);
|
||||
break;
|
||||
case RARCH_CMD_HISTORY_DEINIT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user