tabs to spaces
This commit is contained in:
parent
98cebf92f2
commit
5e2a247b77
|
@ -143,7 +143,7 @@ void DivZSM::setLoopPoint() {
|
||||||
flushTicks(); // flush ticks incase no writes were pending
|
flushTicks(); // flush ticks incase no writes were pending
|
||||||
logI("ZSM: loop at file offset %d bytes",w->tell());
|
logI("ZSM: loop at file offset %d bytes",w->tell());
|
||||||
loopOffset=w->tell();
|
loopOffset=w->tell();
|
||||||
//update the ZSM header's loop offset value
|
// update the ZSM header's loop offset value
|
||||||
w->seek(0x03,SEEK_SET);
|
w->seek(0x03,SEEK_SET);
|
||||||
w->writeS((short)(loopOffset&0xffff));
|
w->writeS((short)(loopOffset&0xffff));
|
||||||
w->writeC((unsigned char)((loopOffset>>16)&0xff));
|
w->writeC((unsigned char)((loopOffset>>16)&0xff));
|
||||||
|
@ -155,7 +155,7 @@ void DivZSM::setLoopPoint() {
|
||||||
// ... and cache (except for unused channels)
|
// ... and cache (except for unused channels)
|
||||||
memset(&ymState[ym_NEW],-1,0x20);
|
memset(&ymState[ym_NEW],-1,0x20);
|
||||||
for (int chan=0; chan<8 ; chan++) {
|
for (int chan=0; chan<8 ; chan++) {
|
||||||
//do not clear state for as-yet-unused channels
|
// do not clear state for as-yet-unused channels
|
||||||
if (!(ymMask & (1<<chan))) continue;
|
if (!(ymMask & (1<<chan))) continue;
|
||||||
// clear the state for channels in use so they match the unknown state
|
// clear the state for channels in use so they match the unknown state
|
||||||
// of the YM shadow.
|
// of the YM shadow.
|
||||||
|
|
Loading…
Reference in a new issue