mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
sound: fix ym2612 address handling
I already fixed this back in 2017 with
151df6adf9
, but forgot about
ym2612_write_local(). Fixes missing sounds in Overdrive2.
This commit is contained in:
parent
5864c4214a
commit
225260ba40
2 changed files with 13 additions and 31 deletions
|
@ -1886,6 +1886,7 @@ int YM2612Write_(unsigned int a, unsigned int v)
|
|||
switch( a & 3 ){
|
||||
case 0: /* address port 0 */
|
||||
case 2: /* address port 1 */
|
||||
/* reminder: this is not used, see ym2612_write_local() */
|
||||
ym2612.OPN.ST.address = v;
|
||||
ym2612.addr_A1 = (a & 2) >> 1;
|
||||
ret = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue