Update debug.cpp
фикс номера банка, теперь будет учитываться банк в cpu memory
This commit is contained in:
parent
9c92572cbb
commit
6af49e9a28
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue