diff options
author | 2016-03-28 08:42:27 -0500 | |
---|---|---|
committer | 2016-03-28 08:42:45 -0500 | |
commit | 5cfe38e48171dc70b0767c43b0c25c704320eeaf (patch) | |
tree | c0722b98fc2e862260fd512f94abc1fda24fb920 /plugins | |
parent | 82a8cea336efb89117348e5621a462bd34328a0e (diff) |
hiscore: even if we can't save before a soft reset, at least load what we've got (nw)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/hiscore/init.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/hiscore/init.lua b/plugins/hiscore/init.lua index 228892e7539..3c8e9a37dbe 100644 --- a/plugins/hiscore/init.lua +++ b/plugins/hiscore/init.lua @@ -239,7 +239,10 @@ function hiscore.startplugin() end emu.register_start(function() - print("Starting " .. emu.gamename()) + current_game = "" + mem_check_passed = false + scores_have_been_read = false; + print("Starting " .. emu.gamename()) -- check if we've just soft reset -- reset() -- there's no way to reliably save scores after a soft reset currently current_game = emu.romname() |