From 97958bdd07d0d65dcf3e1670390e62a4d36a074f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Franch?= Date: Thu, 1 Oct 2026 19:49:12 +0200 Subject: [PATCH] fix(libScePlayGo): use the library's error codes for bad pointer, handle and size BAD_POINTER, BAD_HANDLE and BAD_SIZE were 0x80B20004, 0x80B20005 and 0x80B2000D, which are INVALID_ARGUMENT, NOT_INITIALIZED and BAD_SPEED. They are 0x80B2000A, 0x80B20009 and 0x80B2000B. Co-Authored-By: Claude --- core/libs/prx/libScePlayGo/Export.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/libs/prx/libScePlayGo/Export.cpp b/core/libs/prx/libScePlayGo/Export.cpp index f9b308cba..de1ca05a6 100644 --- a/core/libs/prx/libScePlayGo/Export.cpp +++ b/core/libs/prx/libScePlayGo/Export.cpp @@ -9,8 +9,8 @@ #include // The game is fully installed on the host, so every chunk is local and nothing is pending. -static constexpr int SCE_PLAYGO_ERROR_BAD_POINTER = static_cast(0x80B20004); -static constexpr int SCE_PLAYGO_ERROR_BAD_HANDLE = static_cast(0x80B20005); +static constexpr int SCE_PLAYGO_ERROR_BAD_POINTER = static_cast(0x80B2000A); +static constexpr int SCE_PLAYGO_ERROR_BAD_HANDLE = static_cast(0x80B20009); static constexpr int PLAYGO_HANDLE = 1; static constexpr int8_t PLAYGO_LOCUS_LOCAL_FAST = 3; static constexpr int32_t PLAYGO_INSTALL_SPEED_FULL = 2; @@ -18,7 +18,7 @@ static constexpr int32_t PLAYGO_INSTALL_SPEED_FULL = 2; static int32_t g_installSpeed = PLAYGO_INSTALL_SPEED_FULL; static constexpr int SCE_PLAYGO_ERROR_BAD_CHUNK_ID = static_cast(0x80B2000C); -static constexpr int SCE_PLAYGO_ERROR_BAD_SIZE = static_cast(0x80B2000D); +static constexpr int SCE_PLAYGO_ERROR_BAD_SIZE = static_cast(0x80B2000B); // The package's chunk table is not part of the dump, so the chunk set comes from the title's // playgo-chunkdefs.xml: every listed chunk plus chunks 0 through the default chunk. Games probe