OPL: YMF262-LLE optimization
thanks nukeykt
This commit is contained in:
parent
6eafedd037
commit
0f8fba06ca
2
extern/YMF262-LLE/fmopl3.c
vendored
2
extern/YMF262-LLE/fmopl3.c
vendored
|
@ -74,7 +74,7 @@ void FMOPL3_Clock(fmopl3_t *chip)
|
|||
chip->prescaler1_cnt[1] = chip->prescaler1_cnt[0];
|
||||
}
|
||||
|
||||
int prescaler1_clk = (chip->reg_test1 & 0x40) != 0 ? chip->input.mclk : !(chip->prescaler1_cnt[1] & 2);
|
||||
int prescaler1_clk = chip->input.mclk; /* Temp: disable prescaler for performance reasons */
|
||||
|
||||
chip->aclk1 = !prescaler1_clk;
|
||||
chip->aclk2 = prescaler1_clk;
|
||||
|
|
Loading…
Reference in a new issue