Disabled an accuracy-improvement-attempt that caused audio regressions until the proper behavior is well understood, fixes #390

This commit is contained in:
Lior Halphon 2021-06-18 01:36:29 +03:00
parent 339613263c
commit b4709fd66b
1 changed files with 4 additions and 1 deletions

View File

@ -288,7 +288,10 @@ static void cycle_write(GB_gameboy_t *gb, uint16_t addr, uint8_t value)
gb->apu.square_sweep_calculate_countdown -= 2;
}
gb->apu.enable_zombie_calculate_stepping = true;
GB_write_memory(gb, addr, 0xFF);
/* TODO: this causes audio regressions in the Donkey Kong Land series.
The exact behavior of this quirk should be further investigated, as it seems
more complicated than a single FF pseudo-write. */
// GB_write_memory(gb, addr, 0xFF);
}
GB_write_memory(gb, addr, value);
gb->pending_cycles = 4;