mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
core z80, partially revert ebde43d
(bus blocking DMA)
it causes audio lag in OD2
This commit is contained in:
parent
b72095041e
commit
3b480be4c0
1 changed files with 2 additions and 1 deletions
|
@ -1372,7 +1372,8 @@ static void access_68k_bus(int delay) // bus delay as Q8
|
|||
// TODO: if the 68K is in DMA wait, Z80 has to wait until DMA ends
|
||||
if (Pico.video.status & (PVS_CPUWR|PVS_CPURD)) {
|
||||
z80_subCLeft(z80_cyclesLeft); // rather rough on both condition and action
|
||||
Pico.video.status |= PVS_Z80WAIT;
|
||||
// TODO the next line will cause audio lag in Overdrive 2 demo?
|
||||
//Pico.video.status |= PVS_Z80WAIT;
|
||||
}
|
||||
|
||||
// 68k bus access delay for z80. The fractional part needs to be accumulated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue