From 6645608833266df41ce8e07eacc3b18b77fe9e0e Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 15 Aug 2012 23:09:23 +0300 Subject: [PATCH] frontend: save last cdimg on successful select otherwise it's wont save after crash, which can still happen --- frontend/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2