mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Warning fix
This commit is contained in:
1 parent
d81533e8d8
commit
bfb9b2fd6d
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user