WonderSwan: make macOS happy

This commit is contained in:
tildearrow 2022-03-07 23:38:36 -05:00
parent 1bc8bc8746
commit b21aecf285
2 changed files with 0 additions and 4 deletions

View File

@ -85,7 +85,6 @@ void WSwan::SoundUpdate(uint32_t v30mz_timestamp)
else if(ch == 2 && (control & 0x40) && sweep_value) // Sweep
{
uint32_t tmp_pt = 2048 - period[ch];
uint32_t meow_timestamp = v30mz_timestamp - run_time;
uint32_t tmp_run_time = run_time;
while(tmp_run_time)
@ -107,7 +106,6 @@ void WSwan::SoundUpdate(uint32_t v30mz_timestamp)
}
}
meow_timestamp += sub_run_time;
if(tmp_pt > 4)
{
period_counter[ch] -= sub_run_time;
@ -116,7 +114,6 @@ void WSwan::SoundUpdate(uint32_t v30mz_timestamp)
sample_pos[ch] = (sample_pos[ch] + 1) & 0x1F;
MK_SAMPLE_CACHE;
SYNCSAMPLE(meow_timestamp + period_counter[ch]);
period_counter[ch] += tmp_pt;
}
}

View File

@ -76,7 +76,6 @@ private:
uint32_t last_ts;
uint8_t wsRAM[64];
int16_t sBuf[2];
};
#endif