From f0eac171f90bc0bf3612072ff74e24b580c18a60 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 14 Nov 2015 13:46:04 -0800 Subject: [PATCH] run menu handling while emu is paused --- Lua/cheat menu.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Lua/cheat menu.lua b/Lua/cheat menu.lua index a6ced3d..035a9a1 100755 --- a/Lua/cheat menu.lua +++ b/Lua/cheat menu.lua @@ -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