mirror of
https://github.com/Vita3K/Vita3K.git
synced 2026-07-11 01:34:23 +02:00
ngs: Calling sceNgsVoiceResume on a non-paused voice is a no-op (#3854)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user