fix(libs): return what the firmware returns from 24 utility calls it does not implement

ContentBinder, CompanionUtil, ErrorDialog OpenDetail/OpenWithReport,
ImeDialog ForTestFunction, HttpCache SystemTerm/SendStatistics,
MoveTracker GetVersion/RecordStop, BluetoothHid and SystemGesture debug
versions and Mbus Term/AcquireControlList are a single constant return
in the firmware modules; these exports now return the same value.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
This commit is contained in:
hypermistandClaude Opus 5.5 committed 2026-10-20 22:36:53 +13:00
1 parent 35fa2bdd82
commit afbd9b882f
9 files changed
+18 -40

No files matched your search

+1 -2
View File
@@ -50,8 +50,7 @@ int APS5_VABI sceBluetoothHidSetOutputReport() {
}
int APS5_VABI sceBluetoothHidDebugGetVersion() {
NotImplemented_nid_no_patch(__func__);
return 0;
return 0x1e;
}
int APS5_VABI sceBluetoothHidDisconnectDevice() {
+1 -6
View File
@@ -6,27 +6,22 @@
extern "C" {
int APS5_VABI sceCompanionUtilGetEvent() {
NotImplemented_nid_no_patch(__func__);
return 0;
return static_cast<int>(0x80AD0008);
}
int APS5_VABI sceCompanionUtilGetRemoteOskEvent() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceCompanionUtilInitialize() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceCompanionUtilOptParamInitialize() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceCompanionUtilTerminate() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
+8 -16
View File
@@ -142,36 +142,28 @@ int APS5_VABI sceContentSearchTerm(void) {
}
int APS5_VABI sceContentBinderEnd() {
NotImplemented_nid_no_patch(__func__);
return 0;
return static_cast<int>(0x809D000F);
}
int APS5_VABI sceContentBinderGetNumOfDifference() {
NotImplemented_nid_no_patch(__func__);
return 0;
return static_cast<int>(0x809D000F);
}
int APS5_VABI sceContentBinderInitialize() {
NotImplemented_nid_no_patch(__func__);
return 0;
return static_cast<int>(0x809D000F);
}
int APS5_VABI sceContentBinderIsUpdated() {
NotImplemented_nid_no_patch(__func__);
return 0;
return static_cast<int>(0x809D000F);
}
int APS5_VABI sceContentBinderReset() {
NotImplemented_nid_no_patch(__func__);
return 0;
return static_cast<int>(0x809D000F);
}
int APS5_VABI sceContentBinderSearchDifference() {
NotImplemented_nid_no_patch(__func__);
return 0;
return static_cast<int>(0x809D000F);
}
int APS5_VABI sceContentBinderStart() {
NotImplemented_nid_no_patch(__func__);
return 0;
return static_cast<int>(0x809D000F);
}
int APS5_VABI sceContentBinderTerminate() {
NotImplemented_nid_no_patch(__func__);
return 0;
return static_cast<int>(0x809D000F);
}
int APS5_VABI sceContentSearchGetApplicationLastUpdateId() {
NotImplemented_nid_no_patch(__func__);
+3 -4
View File
@@ -21,6 +21,7 @@ constexpr int kErrOk = 0;
constexpr int kErrNotInitialized = static_cast<int>(0x80ED0001u);
constexpr int kErrAlreadyInitialized = static_cast<int>(0x80ED0002u);
constexpr int kErrParam = static_cast<int>(0x80ED0003u);
constexpr int kErrUnexpectedFatal = static_cast<int>(0x80ED0004u);
constexpr int kErrInvalidState = static_cast<int>(0x80ED0005u);
constexpr std::size_t kParamSize = 16;
@@ -93,13 +94,11 @@ int APS5_VABI sceErrorDialogTerminate(void) {
}
int APS5_VABI sceErrorDialogOpenDetail() {
NotImplemented_nid_no_patch(__func__);
return 0;
return kErrUnexpectedFatal;
}
int APS5_VABI sceErrorDialogOpenWithReport() {
NotImplemented_nid_no_patch(__func__);
return 0;
return kErrUnexpectedFatal;
}
}
-2
View File
@@ -96,7 +96,6 @@ int APS5_VABI sceHttpCacheSystemInit() {
}
int APS5_VABI sceHttpCacheSystemSendStatistics() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
@@ -106,7 +105,6 @@ int APS5_VABI sceHttpCacheSystemShutdown() {
}
int APS5_VABI sceHttpCacheSystemTerm() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
+2 -2
View File
@@ -21,6 +21,7 @@ constexpr int ErrorNotOpened = static_cast<int>(0x80bc0002u);
constexpr int ErrorInvalidMaxTextLength = static_cast<int>(0x80bc0016u);
constexpr int ErrorInvalidInputTextBuffer = static_cast<int>(0x80bc0017u);
constexpr int ErrorInvalidAddress = static_cast<int>(0x80bc0031u);
constexpr int ErrorInternal = static_cast<int>(0x80bc00ffu);
struct Dialog {
int status = StatusNone;
@@ -176,8 +177,7 @@ int APS5_VABI sceImeDialogTerm(void) {
}
int APS5_VABI sceImeDialogForTestFunction() {
NotImplemented_nid_no_patch(__func__);
return 0;
return ErrorInternal;
}
int APS5_VABI sceImeDialogForceClose() {
+1 -3
View File
@@ -8,8 +8,7 @@ int APS5_VABI sceMbusAcquireControl() {
}
int APS5_VABI sceMbusAcquireControlList() {
NotImplemented_nid_no_patch(__func__);
return 0;
return static_cast<int>(0x809B00FF);
}
int APS5_VABI sceMbusAcquireControlWithState() {
@@ -558,7 +557,6 @@ int APS5_VABI sceMbusStopAudioOutSharePlay() {
}
int APS5_VABI sceMbusTerm() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
+1 -3
View File
@@ -41,8 +41,7 @@ int APS5_VABI sceMoveTrackerGetState() {
}
int APS5_VABI sceMoveTrackerGetVersion() {
NotImplemented_nid_no_patch(__func__);
return 0;
return 2;
}
int APS5_VABI sceMoveTrackerGetWorkingMemorySize() {
@@ -86,7 +85,6 @@ int APS5_VABI sceMoveTrackerRecordStart() {
}
int APS5_VABI sceMoveTrackerRecordStop() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
+1 -2
View File
@@ -311,8 +311,7 @@ int APS5_VABI sceSystemGestureUpdateTouchRecognizerRectangle(int32_t gesture_han
}
int APS5_VABI sceSystemGestureDebugGetVersion() {
NotImplemented_nid_no_patch(__func__);
return 0;
return 0x6a00;
}
}