From e8665e7c0acbb8980d5da9debac5595caafd42b6 Mon Sep 17 00:00:00 2001 From: Jeremy Penner Date: Thu, 7 Oct 2021 22:16:09 -0400 Subject: [PATCH] Fix multiple breakpoints at the same memory address --- link/mame.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/link/mame.fnl b/link/mame.fnl index 5660d7e..6b47c55 100644 --- a/link/mame.fnl +++ b/link/mame.fnl @@ -70,7 +70,7 @@ (var last-addr ?last-addr) (while (let [state manager.machine.debugger.execution_state addr (. manager.machine.devices ::maincpu :state :PC :value)] - (not (and (= state :stop) (not= addr ?last-addr)))) + (not (and (= state :stop) (not= addr last-addr)))) (when (= :run manager.machine.debugger.execution_state) (set last-addr nil)) (coroutine.yield))))