mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-26 14:27:14 +00:00
fix warning
svn-id: r26073
This commit is contained in:
parent
72ef7093fa
commit
4e5aa19f74
@ -60,9 +60,9 @@ int AdlibMusic::readBuffer(int16 *data, const int numSamples) {
|
||||
_nextMusicPoll = _sampleRate / 50;
|
||||
} else {
|
||||
uint32 render;
|
||||
int remaining = numSamples;
|
||||
uint remaining = numSamples;
|
||||
while (remaining) {
|
||||
render = (remaining > _nextMusicPoll) ? (_nextMusicPoll) : (remaining);
|
||||
render = (remaining > _nextMusicPoll) ? _nextMusicPoll : remaining;
|
||||
remaining -= render;
|
||||
_nextMusicPoll -= render;
|
||||
YM3812UpdateOne(_opl, data, render);
|
||||
|
Loading…
x
Reference in New Issue
Block a user