ngs: Calling sceNgsVoiceResume on a non-paused voice is a no-op (#3854)

This commit is contained in:
ReverseLover
2026-07-02 06:13:05 +02:00
committed by GitHub
parent 6063154f6f
commit c8b08292e7
+1 -1
View File
@@ -968,7 +968,7 @@ EXPORT(int, sceNgsVoiceResume, ngs::Voice *voice) {
}
if (!voice->is_paused)
return RET_ERROR(SCE_NGS_ERROR_INVALID_STATE);
return SCE_NGS_OK;
if (!voice->rack->system->voice_scheduler.resume(emuenv.mem, voice)) {
return RET_ERROR(SCE_NGS_ERROR);