Debugger: Fixed unintentional emulation sideeffect caused by PPU viewer
This commit is contained in:
parent
c15a07476f
commit
06cbbcf9d5
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ void MemoryDumper::GetChrBank(int bankIndex, uint32_t* frameBuffer, uint8_t pale
|
|||
if(bankIndex == 0 || bankIndex == 1) {
|
||||
uint16_t baseAddr = bankIndex == 0 ? 0x0000 : 0x1000;
|
||||
for(int i = 0; i < 0x1000; i++) {
|
||||
chrBuffer[i] = _mapper->ReadVRAM(baseAddr + i);
|
||||
chrBuffer[i] = _mapper->DebugReadVRAM(baseAddr + i);
|
||||
chrIsDrawn[i] = _codeDataLogger->IsDrawn(_mapper->ToAbsoluteChrAddress(baseAddr + i));
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue