mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 04:55:13 +00:00
ZSM: variable set but not used
This commit is contained in:
parent
6b89dec812
commit
2f45f59906
1 changed files with 0 additions and 2 deletions
|
@ -95,7 +95,6 @@ SafeWriter* DivEngine::saveZSM(unsigned int zsmrate, bool loop) {
|
|||
//size_t tickCount=0;
|
||||
bool done=false;
|
||||
int loopPos=-1;
|
||||
int writeCount=0;
|
||||
int fracWait=0; // accumulates fractional ticks
|
||||
if (VERA>=0) disCont[VERA].dispatch->toggleRegisterDump(true);
|
||||
if (YM>=0) {
|
||||
|
@ -152,7 +151,6 @@ SafeWriter* DivEngine::saveZSM(unsigned int zsmrate, bool loop) {
|
|||
for (DivRegWrite& write: writes) {
|
||||
if (i==YM) zsm.writeYM(write.addr&0xff,write.val);
|
||||
if (i==VERA) zsm.writePSG(write.addr&0xff,write.val);
|
||||
writeCount++;
|
||||
}
|
||||
writes.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue