mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-05 20:35:06 +00:00
No need to de-duplicate writes here
This commit is contained in:
parent
8f31c4b49f
commit
119d815a16
1 changed files with 2 additions and 5 deletions
|
@ -97,11 +97,8 @@ void DivPlatformWS::acquire(short* bufL, short* bufR, size_t start, size_t len)
|
|||
// the rest
|
||||
while (!writes.empty()) {
|
||||
QueuedWrite w=writes.front();
|
||||
if (regPool[w.addr]!=w.val) {
|
||||
if (w.addr<0x40) ws->SoundWrite(w.addr|0x80,w.val);
|
||||
else ws->RAMWrite(w.addr&0x3f,w.val);
|
||||
regPool[w.addr]=w.val;
|
||||
}
|
||||
if (w.addr<0x40) ws->SoundWrite(w.addr|0x80,w.val);
|
||||
else ws->RAMWrite(w.addr&0x3f,w.val);
|
||||
writes.pop();
|
||||
}
|
||||
int16_t samp[2]{0, 0};
|
||||
|
|
Loading…
Reference in a new issue