(iOS) Save to ROM history when loading game from Cocoa interface

This commit is contained in:
twinaphex 2013-05-17 21:05:28 +02:00
parent 978ce1dc49
commit 2c5be4ad56
1 changed files with 5 additions and 0 deletions

View File

@ -100,6 +100,11 @@ void* rarch_main_ios(void* args)
menu_init();
g_extern.lifecycle_mode_state |= 1ULL << MODE_GAME;
// If we started a ROM directly from command line,
// push it to ROM history.
if (!g_extern.libretro_dummy)
menu_rom_history_push_current();
for (;;)
{
if (g_extern.system.shutdown)