From fec148fb79c7a9291d34b1f6bff5fcaee8b9b126 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Fri, 8 Jun 2018 14:51:17 +0200 Subject: [PATCH] don't turbo in playable mode, note overlay bug --- _NOTICE | 1 + main.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/_NOTICE b/_NOTICE index eada196..5cfa6d0 100644 --- a/_NOTICE +++ b/_NOTICE @@ -10,6 +10,7 @@ TODOs: (that i can remember right now) - rewrite positions to be relative to Mario '-> fix offscreen sprites sometimes being visible to network - add some detection for enemies later in the game +- fix cfg.enable_overlay (smb.lua doesn't see it being changed) naive: - learn any combination of buttons, starting from title screen diff --git a/main.lua b/main.lua index c5d532d..61f42ea 100644 --- a/main.lua +++ b/main.lua @@ -547,7 +547,7 @@ local function init() emu.poweron() emu.unpause() - emu.speedmode("turbo") + if not cfg.playable_mode then emu.speedmode("turbo") end while emu.framecount() < 195 do -- FIXME: don't hardcode this. joypad_mash('start')