Merge pull request from vladmikhalin/fix-avplayer-is-active

Fixed the return value of sceAvPlayerIsActive
This commit is contained in:
georgemoralis 2024-09-12 10:17:21 +03:00 committed by GitHub
commit 1b12138cda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -166,8 +166,8 @@ s32 PS4_SYSV_ABI sceAvPlayerInitEx(const SceAvPlayerInitDataEx* p_data,
bool PS4_SYSV_ABI sceAvPlayerIsActive(SceAvPlayerHandle handle) {
LOG_TRACE(Lib_AvPlayer, "called");
if (handle == nullptr) {
LOG_TRACE(Lib_AvPlayer, "returning ORBIS_AVPLAYER_ERROR_INVALID_PARAMS");
return ORBIS_AVPLAYER_ERROR_INVALID_PARAMS;
LOG_TRACE(Lib_AvPlayer, "returning false");
return false;
}
const auto res = handle->IsActive();
LOG_TRACE(Lib_AvPlayer, "returning {}", res);