mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-22 20:45:11 +00:00
YM2608-LLE, part 13
This commit is contained in:
parent
a235e4d77c
commit
ebe10ee37f
1 changed files with 2 additions and 2 deletions
|
@ -532,7 +532,7 @@ void DivPlatformYM2608::acquire_lle(short** buf, size_t len) {
|
|||
}
|
||||
} else if (!writes.empty()) {
|
||||
QueuedWrite& w=writes.front();
|
||||
if (w.addr>=0x2d && w.addr<=0x2f) {
|
||||
if (w.addr==0x2e || w.addr==0x2f) {
|
||||
// ignore prescaler writes since it doesn't work too well
|
||||
fm_lle.input.cs=1;
|
||||
fm_lle.input.rd=1;
|
||||
|
@ -543,7 +543,7 @@ void DivPlatformYM2608::acquire_lle(short** buf, size_t len) {
|
|||
|
||||
regPool[w.addr&0x1ff]=w.val;
|
||||
writes.pop_front();
|
||||
} if (w.addrOrVal) {
|
||||
} else if (w.addrOrVal) {
|
||||
fm_lle.input.cs=0;
|
||||
fm_lle.input.rd=1;
|
||||
fm_lle.input.wr=0;
|
||||
|
|
Loading…
Reference in a new issue