Update debug.cpp

фикс номера банка, теперь будет учитываться банк в cpu memory
This commit is contained in:
Cyneprepou4uk 2022-02-14 14:30:00 +03:00
parent 9c92572cbb
commit 6af49e9a28
1 changed files with 1 additions and 1 deletions

View File

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