mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-29 08:52:09 +00:00
Fixing the PHA
This commit is contained in:
+2
-2
@@ -45,7 +45,7 @@ namespace ComSquare::PPU
|
||||
case ppuRegisters::stat78:
|
||||
return 0;
|
||||
default:
|
||||
throw InvalidAddress("PPU Internal Registers read ", addr);
|
||||
throw InvalidAddress("PPU Internal Registers read ", addr + this->getStart());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -215,7 +215,7 @@ namespace ComSquare::PPU
|
||||
break;
|
||||
//TODO adding the rest of the registers. oaf !
|
||||
default:
|
||||
throw InvalidAddress("PPU Internal Registers write", addr);
|
||||
throw InvalidAddress("PPU Internal Registers write", addr + this->getStart());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user