Warning fix

This commit is contained in:
Henrik Rydgård committed 2013-06-19 15:06:04 +02:00
1 parent d81533e8d8
commit bfb9b2fd6d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -201,7 +201,7 @@ public:
bool CanPush() {
int nextBlock = curWriteBlock + 1;
if (nextBlock == NUM_BLOCKS) nextBlock == 0;
if (nextBlock == NUM_BLOCKS) nextBlock = 0;
return nextBlock != curReadBlock;
}
+1 -1
View File
@@ -281,7 +281,7 @@ void __AudioUpdate() {
}
if (hwBlockSize * 2 > chans[i].sampleQueue.size()) {
ERROR_LOG(HLE, "Channel %i buffer underrun at %i of %i", i, chans[i].sampleQueue.size() / 2, hwBlockSize);
ERROR_LOG(HLE, "Channel %i buffer underrun at %i of %i", i, (int)chans[i].sampleQueue.size() / 2, hwBlockSize);
}
const s16 *buf1 = 0, *buf2 = 0;