diff options
author | Nebuleon Fumika | 2013-03-27 01:09:27 -0400 |
---|---|---|
committer | Nebuleon Fumika | 2013-03-27 01:09:27 -0400 |
commit | 286c44077ad2f6a7e9bb4c7723f867cd5b7414fc (patch) | |
tree | af8b619fd9868dcf4c940444b1581c135b7635de | |
parent | 688b13d065178dada2974aefbcd18b8a5912af4f (diff) | |
download | snes9x2005-286c44077ad2f6a7e9bb4c7723f867cd5b7414fc.tar.gz snes9x2005-286c44077ad2f6a7e9bb4c7723f867cd5b7414fc.tar.bz2 snes9x2005-286c44077ad2f6a7e9bb4c7723f867cd5b7414fc.zip |
Show the screenshot with timestamp after writing a state.
-rw-r--r-- | source/nds/gui.c | 7 |
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 { |