HDMA should not be run during forced blank
This commit is contained in:
parent
e34a1c81cd
commit
e0b0ac3a96
1 changed files with 4 additions and 2 deletions
|
@ -169,8 +169,10 @@ void Ppu::Exec()
|
|||
if(_scanline != 0) {
|
||||
RenderScanline();
|
||||
}
|
||||
EvaluateNextLineSprites();
|
||||
_console->GetDmaController()->ProcessHdmaChannels();
|
||||
if(!_forcedVblank) {
|
||||
EvaluateNextLineSprites();
|
||||
_console->GetDmaController()->ProcessHdmaChannels();
|
||||
}
|
||||
} else if((_cycle == 134 || _cycle == 135) && (_console->GetMemoryManager()->GetMasterClock() & 0x07) == 0) {
|
||||
//TODO Approximation (DRAM refresh timing is not exact)
|
||||
_console->GetMemoryManager()->IncrementMasterClockValue<40>();
|
||||
|
|
Loading…
Add table
Reference in a new issue