summaryrefslogtreecommitdiffstatshomepage
path: root/plugins
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2016-03-28 08:42:27 -0500
committer cracyc <cracyc@users.noreply.github.com>2016-03-28 08:42:45 -0500
commit5cfe38e48171dc70b0767c43b0c25c704320eeaf (patch)
treec0722b98fc2e862260fd512f94abc1fda24fb920 /plugins
parent82a8cea336efb89117348e5621a462bd34328a0e (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.lua5
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()