mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sound, increase resolution for calculating psg sound
This commit is contained in:
parent
86d6fb9a2f
commit
15caa286fc
3 changed files with 26 additions and 26 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue