From 2c5be4ad567d9fff0dd35150c573e15b9cb6d2ef Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 17 May 2013 21:05:28 +0200 Subject: [PATCH] (iOS) Save to ROM history when loading game from Cocoa interface --- frontend/frontend_ios.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/frontend_ios.c b/frontend/frontend_ios.c index 7ab0d693db..34a42afe39 100644 --- a/frontend/frontend_ios.c +++ b/frontend/frontend_ios.c @@ -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)