sound, increase resolution for calculating psg sound

This commit is contained in:
kub 2021-10-02 21:13:48 +02:00
parent 86d6fb9a2f
commit 15caa286fc
3 changed files with 26 additions and 26 deletions

View file

@ -396,19 +396,13 @@ void NOINLINE ctl_write_z80reset(u32 d)
static void psg_write_68k(u32 d)
{
// look for volume write and update if needed
if ((d & 0x90) == 0x90)
PsndDoPSG(z80_cycles_from_68k());
PsndDoPSG(z80_cycles_from_68k());
SN76496Write(d);
}
static void psg_write_z80(u32 d)
{
if ((d & 0x90) == 0x90) {
PsndDoPSG(z80_cyclesDone());
}
PsndDoPSG(z80_cyclesDone());
SN76496Write(d);
}