fix: don't start HDMA in vblank
This commit is contained in:
parent
125b931d0c
commit
0fd8a13a93
|
@ -569,6 +569,8 @@ pub const Ppu = struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// See if HBlank DMA is present and not enabled
|
// See if HBlank DMA is present and not enabled
|
||||||
|
|
||||||
|
if (!self.dispstat.vblank.read())
|
||||||
pollBlankingDma(&cpu.bus, .HBlank);
|
pollBlankingDma(&cpu.bus, .HBlank);
|
||||||
|
|
||||||
self.dispstat.hblank.set();
|
self.dispstat.hblank.set();
|
||||||
|
|
Loading…
Reference in New Issue