mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
sound, improve FM output on load/resume
This commit is contained in:
parent
4c2b81a012
commit
196e2929f7
1 changed files with 2 additions and 0 deletions
|
@ -2185,6 +2185,7 @@ int YM2612PicoStateLoad2(int *tat, int *tbt)
|
|||
blk = ym2612.CH[c].block_fnum >> 11;
|
||||
ym2612.CH[c].kcode= (blk<<2) | opn_fktable[fn >> 7];
|
||||
ym2612.CH[c].fc = fn_table[fn*2]>>(7-blk);
|
||||
refresh_fc_eg_chan( &ym2612.CH[c] );
|
||||
}
|
||||
// chans 4,5,6
|
||||
ptr = &ym2612.REGS[0x1b8];
|
||||
|
@ -2205,6 +2206,7 @@ int YM2612PicoStateLoad2(int *tat, int *tbt)
|
|||
blk = ym2612.CH[c].block_fnum >> 11;
|
||||
ym2612.CH[c].kcode= (blk<<2) | opn_fktable[fn >> 7];
|
||||
ym2612.CH[c].fc = fn_table[fn*2]>>(7-blk);
|
||||
refresh_fc_eg_chan( &ym2612.CH[c] );
|
||||
}
|
||||
for (c = 0; c < 3; c++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue