From 2aa0a94cce9c4a94f908ca97d1591e61ea2f4f4d Mon Sep 17 00:00:00 2001 From: MarcZX10 <67475268+MarcZX10@users.noreply.github.com> Date: Sat, 24 Oct 2026 16:44:18 +0000 Subject: [PATCH] feat(libSceBgft): declare sceBgftServiceIntDownloadGetPatchProgress and GetTaskInfo with known signatures Both throw through NotImplemented_nid_no_patch as before; only the parameter lists change, from the OpenOrbis Bgft headers. --- core/libs/prx/libSceBgft/Export.cpp | 4 ++-- core/libs/prx/libSceBgft/include/Api.hpp | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/core/libs/prx/libSceBgft/Export.cpp b/core/libs/prx/libSceBgft/Export.cpp index 2d5833b1d3..c94cfeb6b8 100644 --- a/core/libs/prx/libSceBgft/Export.cpp +++ b/core/libs/prx/libSceBgft/Export.cpp @@ -85,7 +85,7 @@ int APS5_VABI sceBgftServiceIntDownloadGetGameAndGameAcProgress(const char* cont NotImplemented_nid_no_patch(__func__); return 0; } -int APS5_VABI sceBgftServiceIntDownloadGetPatchProgress() { +int APS5_VABI sceBgftServiceIntDownloadGetPatchProgress(const char* contentId, BgftProgress* progress) { NotImplemented_nid_no_patch(__func__); return 0; } @@ -97,7 +97,7 @@ int APS5_VABI sceBgftServiceIntDownloadGetProgress(int32_t taskId, BgftProgress* NotImplemented_nid_no_patch(__func__); return 0; } -int APS5_VABI sceBgftServiceIntDownloadGetTaskInfo() { +int APS5_VABI sceBgftServiceIntDownloadGetTaskInfo(int32_t taskId, BgftTaskInfo* taskInfo) { NotImplemented_nid_no_patch(__func__); return 0; } diff --git a/core/libs/prx/libSceBgft/include/Api.hpp b/core/libs/prx/libSceBgft/include/Api.hpp index 484cf37682..9e39227e29 100644 --- a/core/libs/prx/libSceBgft/include/Api.hpp +++ b/core/libs/prx/libSceBgft/include/Api.hpp @@ -8,6 +8,7 @@ struct BgftInitParam { }; struct BgftProgress; +struct BgftTaskInfo; struct BgftStorageTaskParam { std::uint32_t value0; @@ -47,10 +48,10 @@ int APS5_VABI sceBgftServiceDownloadStopTask(int32_t taskId); int APS5_VABI sceBgftServiceIntDownloadFindActiveGameAndGameAcTask(const char* contentId, int32_t* taskId); int APS5_VABI sceBgftServiceIntDownloadFindActiveTask(const char* contentId, int32_t subType, int32_t* taskId); int APS5_VABI sceBgftServiceIntDownloadGetGameAndGameAcProgress(const char* contentId, BgftProgress* progress); -int APS5_VABI sceBgftServiceIntDownloadGetPatchProgress(); +int APS5_VABI sceBgftServiceIntDownloadGetPatchProgress(const char* contentId, BgftProgress* progress); int APS5_VABI sceBgftServiceIntDownloadGetPlayGoProgress(const char* contentId, BgftProgress* progress); int APS5_VABI sceBgftServiceIntDownloadGetProgress(int32_t taskId, BgftProgress* progress); -int APS5_VABI sceBgftServiceIntDownloadGetTaskInfo(); +int APS5_VABI sceBgftServiceIntDownloadGetTaskInfo(int32_t taskId, BgftTaskInfo* taskInfo); int APS5_VABI sceBgftServiceIntDownloadPauseTask(int32_t taskId); int APS5_VABI sceBgftServiceIntDownloadRegisterTaskByStorageEx(const BgftStorageTaskParam* params, int32_t* taskId); int APS5_VABI sceBgftServiceIntDownloadResumeTask(int32_t taskId);