]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Debugger info text address off by one
authorToni Wilen <twilen@winuae.net>
Sat, 16 May 2026 08:57:57 +0000 (11:57 +0300)
committerToni Wilen <twilen@winuae.net>
Sat, 16 May 2026 08:57:57 +0000 (11:57 +0300)
debug.cpp

index c90eb4665fd6782939277f2ef4939793d1ea8864..f4b0a2d1659f29fac9eff12c97356f0ac52f96aa 100644 (file)
--- a/debug.cpp
+++ b/debug.cpp
@@ -4001,7 +4001,7 @@ static void smc_detect_init(TCHAR **c)
                initialize_memwatch(0);
        if (v)
                smc_mode = 1;
-       console_out_f(_T("SMCD enabled. Break=%d. Last address=%08x\n"), smc_mode, smc_size);
+       console_out_f(_T("SMCD enabled. Break=%d. Last address=%08x\n"), smc_mode, smc_size - 1);
 }
 
 void debug_smc_clear(uaecptr addr, int size)