From: notaz Date: Wed, 15 Aug 2012 20:09:23 +0000 (+0300) Subject: frontend: save last cdimg on successful select X-Git-Tag: r16~24 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=6645608833266df41ce8e07eacc3b18b77fe9e0e frontend: save last cdimg on successful select otherwise it's wont save after crash, which can still happen --- diff --git a/frontend/menu.c b/frontend/menu.c index 3756c1a3..7babfabf 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); }