mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-01 10:32:40 +00:00
fix prescaler address decoding 2
commit 423b1d72e9df217d24837581c8090cc29214815e of https://github.com/nukeykt/YM2608-LLE by nukeykt
This commit is contained in:
parent
8da379b055
commit
3cfefae221
1 changed files with 3 additions and 3 deletions
6
extern/YM2608-LLE/fmopna_impl.c
vendored
6
extern/YM2608-LLE/fmopna_impl.c
vendored
|
@ -386,9 +386,9 @@ void FMOPNA_2612_Clock(fmopna_2612_t* chip, int clk)
|
|||
#ifdef FMOPNA_YM2608
|
||||
if (chip->mclk1)
|
||||
{
|
||||
int addr2d = chip->write0_en && ADDRESS_MATCH(0x2d);
|
||||
int addr2e = chip->write0_en && ADDRESS_MATCH(0x2e);
|
||||
int addr2f = chip->write0_en && ADDRESS_MATCH(0x2f);
|
||||
int addr2d = chip->write2_en && ADDRESS_MATCH(0x2d);
|
||||
int addr2e = chip->write2_en && ADDRESS_MATCH(0x2e);
|
||||
int addr2f = chip->write2_en && ADDRESS_MATCH(0x2f);
|
||||
chip->prescaler_sel[0] = chip->prescaler_sel[1];
|
||||
if (addr2f)
|
||||
chip->prescaler_sel[0] = 0;
|
||||
|
|
Loading…
Reference in a new issue