aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorNebuleon Fumika2013-03-27 01:09:27 -0400
committerNebuleon Fumika2013-03-27 01:09:27 -0400
commit286c44077ad2f6a7e9bb4c7723f867cd5b7414fc (patch)
treeaf8b619fd9868dcf4c940444b1581c135b7635de /source
parent688b13d065178dada2974aefbcd18b8a5912af4f (diff)
downloadsnes9x2005-286c44077ad2f6a7e9bb4c7723f867cd5b7414fc.tar.gz
snes9x2005-286c44077ad2f6a7e9bb4c7723f867cd5b7414fc.tar.bz2
snes9x2005-286c44077ad2f6a7e9bb4c7723f867cd5b7414fc.zip
Show the screenshot with timestamp after writing a state.
Diffstat (limited to 'source')
-rw-r--r--source/nds/gui.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index 0ddd7a4..f03873d 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -2178,6 +2178,13 @@ u32 menu(u16 *screen, bool8 FirstInvocation)
SavedStateCacheInvalidate ();
mdelay(500); // let the progress message linger
+
+ // Now show the screen of what we just wrote.
+ get_savestate_filename(savestate_index, tmp_filename);
+ sprintf(line_buffer, "%s/%s", DEFAULT_RTS_DIR, tmp_filename);
+ HighFrequencyCPU();
+ load_game_stat_snapshot(tmp_filename);
+ LowFrequencyCPU();
}
else //load screen snapshot
{