From 250b2e4969eb2c86abdacf19ec7e01d7bd425938 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Thu, 8 Aug 2024 13:05:11 +0300 Subject: [PATCH] small playgo adjustments --- src/core/libraries/playgo/playgo.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/core/libraries/playgo/playgo.cpp b/src/core/libraries/playgo/playgo.cpp index a3af8b4c..af98253f 100644 --- a/src/core/libraries/playgo/playgo.cpp +++ b/src/core/libraries/playgo/playgo.cpp @@ -58,6 +58,7 @@ s32 PS4_SYSV_ABI scePlayGoGetLocus(OrbisPlayGoHandle handle, const OrbisPlayGoCh if (chunkIds[i] <= playgo->GetPlaygoHeader().mchunk_count) { outLoci[i] = OrbisPlayGoLocusValue::ORBIS_PLAYGO_LOCUS_LOCAL_FAST; } else { + outLoci[i] = ORBIS_PLAYGO_LOCUS_NOT_DOWNLOADED; return ORBIS_PLAYGO_ERROR_BAD_CHUNK_ID; } } @@ -70,12 +71,13 @@ s32 PS4_SYSV_ABI scePlayGoGetProgress(OrbisPlayGoHandle handle, const OrbisPlayG handle, *chunkIds, numberOfEntries); outProgress->progressSize = 0x10000; // todo? outProgress->totalSize = 0x10000; - return 0; + return ORBIS_OK; } s32 PS4_SYSV_ABI scePlayGoGetToDoList(OrbisPlayGoHandle handle, OrbisPlayGoToDo* outTodoList, u32 numberOfEntries, u32* outEntries) { - LOG_ERROR(Lib_PlayGo, "(STUBBED)called"); + LOG_ERROR(Lib_PlayGo, "(STUBBED)called handle = {} numberOfEntries = {}", handle, + numberOfEntries); if (handle != 1) return ORBIS_PLAYGO_ERROR_BAD_HANDLE; if (outTodoList == nullptr)