fix: Reset the emulator after startup.
This commit is contained in:
parent
9f8db04757
commit
118fbb9e9f
1 changed files with 1 additions and 0 deletions
|
@ -277,6 +277,7 @@ local startupCallback = nil
|
|||
local lastTime = -1
|
||||
local function breakHandle()
|
||||
if startupCallback ~= nil then
|
||||
emu.reset()
|
||||
emu.removeMemoryCallback(startupCallback, emu.memCallbackType.cpuExec, 0x0000, 0xffff)
|
||||
startupCallback = nil
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue