mirror of
https://github.com/holub/mame
synced 2025-06-10 06:47:18 +03:00
hiscore: even if we can't save before a soft reset, at least load what we've got (nw)
This commit is contained in:
parent
82a8cea336
commit
5cfe38e481
@ -239,7 +239,10 @@ function hiscore.startplugin()
|
|||||||
end
|
end
|
||||||
|
|
||||||
emu.register_start(function()
|
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
|
-- check if we've just soft reset
|
||||||
-- reset() -- there's no way to reliably save scores after a soft reset currently
|
-- reset() -- there's no way to reliably save scores after a soft reset currently
|
||||||
current_game = emu.romname()
|
current_game = emu.romname()
|
||||||
|
Loading…
Reference in New Issue
Block a user