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){