mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
sound: fix ym2612 freq latch
there is only a single register, as described in: http://www.mjsstuf.x10host.com/pages/vgmPlay/vgmPlay.htm
This commit is contained in:
parent
ca980e1b0a
commit
68e06234e3
2 changed files with 6 additions and 5 deletions
|
@ -78,7 +78,7 @@ typedef struct
|
|||
UINT8 ams; /* channel AMS */
|
||||
|
||||
UINT8 kcode; /* +11 key code: */
|
||||
UINT8 fn_h; /* freq latch */
|
||||
UINT8 pad2;
|
||||
UINT8 upd_cnt; /* eg update counter */
|
||||
UINT32 fc; /* fnum,blk:adjusted to sample rate */
|
||||
UINT32 block_fnum; /* current blk/fnum value for this slot (can be different betweeen slots of one channel in 3slot mode) */
|
||||
|
@ -101,7 +101,8 @@ typedef struct
|
|||
int TAC; /* timer a maxval */
|
||||
int TAT; /* timer a ticker | need_save */
|
||||
UINT8 TB; /* timer b */
|
||||
UINT8 pad2[3];
|
||||
UINT8 fn_h; /* freq latch */
|
||||
UINT8 pad2[2];
|
||||
int TBC; /* timer b maxval */
|
||||
int TBT; /* timer b ticker | need_save */
|
||||
/* local time tables */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue