aboutsummaryrefslogtreecommitdiff
path: root/frontend/menu.c
diff options
context:
space:
mode:
authornotaz2012-08-15 23:09:23 +0300
committernotaz2012-08-15 23:57:12 +0300
commit6645608833266df41ce8e07eacc3b18b77fe9e0e (patch)
treeb6674e19e30d1f01ec6d27542579caa0bfd6ae0e /frontend/menu.c
parent9f7042907bbf7e1810ee8e002bc43319fbb3d0b4 (diff)
downloadpcsx_rearmed-6645608833266df41ce8e07eacc3b18b77fe9e0e.tar.gz
pcsx_rearmed-6645608833266df41ce8e07eacc3b18b77fe9e0e.tar.bz2
pcsx_rearmed-6645608833266df41ce8e07eacc3b18b77fe9e0e.zip
frontend: save last cdimg on successful select
otherwise it's wont save after crash, which can still happen
Diffstat (limited to 'frontend/menu.c')
-rw-r--r--frontend/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/menu.c b/frontend/menu.c
index 3756c1a..7babfab 100644
--- a/frontend/menu.c
+++ b/frontend/menu.c
@@ -1859,6 +1859,7 @@ static int romsel_run(void)
}
strcpy(last_selected_fname, rom_fname_reload);
+ menu_do_last_cd_img(0);
return 0;
}
@@ -2399,6 +2400,5 @@ void me_update_msg(const char *msg)
void menu_finish(void)
{
- menu_do_last_cd_img(0);
plat_cpu_clock_apply(cpu_clock_st);
}