From 942ce775cc698d0ba7f76e79976a142a4a4e2ea4 Mon Sep 17 00:00:00 2001 From: sum2012 Date: Sun, 8 Nov 2020 22:47:32 +0800 Subject: [PATCH] Fix AuCheckStreamDataNeeded function fix #13633 --- Core/HW/SimpleAudioDec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HW/SimpleAudioDec.cpp b/Core/HW/SimpleAudioDec.cpp index b6a51438c9..10159d7daa 100644 --- a/Core/HW/SimpleAudioDec.cpp +++ b/Core/HW/SimpleAudioDec.cpp @@ -394,7 +394,7 @@ u32 AuCtx::AuSetLoopNum(int loop) // return 1 to read more data stream, 0 don't read int AuCtx::AuCheckStreamDataNeeded() { // If we would ask for bytes, then some are needed. - if (AuStreamBytesNeeded() != 0) { + if (AuStreamBytesNeeded() > 0) { return 1; } return 0;