From 6af49e9a287d116cc8ced62092d14a6eed8a3b57 Mon Sep 17 00:00:00 2001 From: Cyneprepou4uk Date: Mon, 14 Feb 2022 14:30:00 +0300 Subject: [PATCH] Update debug.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit фикс номера банка, теперь будет учитываться банк в cpu memory --- src/debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.cpp b/src/debug.cpp index 4a16376e..dd95ead2 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -267,7 +267,7 @@ int getBank(int offs) int bzk_getBank(int offs) { - return bzk_GetNesFileAddress(offs) / 0x2000; + return offs / 0x2000; } int GetNesFileAddress(int A){