hiscore: even if we can't save before a soft reset, at least load what we've got (nw)

This commit is contained in:
cracyc 2016-03-28 08:42:27 -05:00
parent 82a8cea336
commit 5cfe38e481

View File

@ -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()