1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-06-17 08:53:06 -07:00

run menu handling while emu is paused

This commit is contained in:
Connor Olding 2015-11-14 13:46:04 -08:00
parent 454d59dcca
commit f0eac171f9

View File

@ -8,6 +8,7 @@ require "flag manager"
-- TODO: make OoT versions for most of these menus
local run_while_paused = true
local fn = 'cheat menu.save.lua'
local saved = deserialize('cheat menu.save.lua') or {}
local function save()
@ -277,5 +278,10 @@ while mm or oot do
passive:tick()
end
emu.frameadvance()
if run_while_paused then
emu.yield()
gui.cleartext()
else
emu.frameadvance()
end
end