diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -541,7 +541,9 @@ int main(int argc, char **argv) { } int quit(int code) { - sram_write(); + if (current_core.initialized) + sram_write(); + menu_finish(); core_unload(); plat_finish(); |