mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-23 09:09:45 +00:00
Tweak behavior of halt/dummy reads during DMA
This commit is contained in:
parent
3d17e2bfd7
commit
4d4ef482a5
@ -374,7 +374,7 @@ void CPU::ProcessPendingDma(uint16_t readAddress)
|
||||
assert(_needHalt || _needDummyRead);
|
||||
processCycle();
|
||||
if(!skipDummyReads) {
|
||||
ProcessDmaRead(readAddress, prevReadAddress, enableInternalRegReads, isNesBehavior);
|
||||
_memoryManager->Read(readAddress, MemoryOperationType::DummyRead);
|
||||
}
|
||||
EndCpuCycle(true);
|
||||
}
|
||||
@ -392,7 +392,7 @@ void CPU::ProcessPendingDma(uint16_t readAddress)
|
||||
//Align to read cycle before starting sprite DMA (or align to perform DMC read)
|
||||
processCycle();
|
||||
if(!skipDummyReads) {
|
||||
ProcessDmaRead(readAddress, prevReadAddress, enableInternalRegReads, isNesBehavior);
|
||||
_memoryManager->Read(readAddress, MemoryOperationType::DummyRead);
|
||||
}
|
||||
EndCpuCycle(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user