Fix sceVoicePortInfo (#3408)

The VoicePortInfo 'state' was changed from 3-RUNNING to 0-IDLE. This prevents it from getting into a loop.
This commit is contained in:
DanielSvoboda
2025-08-10 14:04:15 -03:00
committed by GitHub
parent d1f9594b9d
commit 54de156e1e

View File

@@ -52,7 +52,7 @@ s32 PS4_SYSV_ABI sceVoiceGetPortAttr() {
s32 PS4_SYSV_ABI sceVoiceGetPortInfo(u32 port_id, OrbisVoicePortInfo* info) {
LOG_ERROR(Lib_Voice, "(STUBBED) called");
info->port_type = 0;
info->state = 3;
info->state = 0;
info->byte_count = 0;
info->frame_size = 1;
info->edge_count = 0;
@@ -200,4 +200,4 @@ void RegisterLib(Core::Loader::SymbolsResolver* sym) {
LIB_FUNCTION("YeJl6yDlhW0", "libSceVoice", 1, "libSceVoice", 0, 0, sceVoiceWriteToIPort);
};
} // namespace Libraries::Voice
} // namespace Libraries::Voice