mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-21 08:12:09 -05:00
Sign-in, web browser and player dialogs finish cancelled; the message dialog finishes at once; NpAuth, entitlement consumption, reachability, account age and the NpUtility bandwidth test report signed out; sceKernelMtypeprotect changes the protection (the memory type has no host equivalent); the APR ForEach resolvers resolve every path and report each failure in its own result entry. vswprintf's stub is dropped in favor of the existing wide-formatter implementation, which already covers it on every platform. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
41 lines
1.0 KiB
C++
41 lines
1.0 KiB
C++
#include <cstdint>
|
|
#include <cstddef>
|
|
#include "SceTypes.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
|
|
static constexpr int SCE_NP_ERROR_INVALID_ARGUMENT = static_cast<int>(0x80550003);
|
|
static constexpr int SCE_NP_ERROR_SIGNED_OUT = static_cast<int>(0x80550006);
|
|
|
|
extern "C" {
|
|
|
|
int SceNpUtilityModuleLoaded_nid_no_patch = 1;
|
|
|
|
int APS5_VABI sceNpBandwidthTestAbort(int context_id) {
|
|
(void)context_id;
|
|
return SCE_NP_ERROR_INVALID_ARGUMENT;
|
|
}
|
|
|
|
int APS5_VABI sceNpBandwidthTestGetStatus(int context_id, int* status) {
|
|
(void)context_id;
|
|
if (status) *status = 0;
|
|
return SCE_NP_ERROR_INVALID_ARGUMENT;
|
|
}
|
|
|
|
int APS5_VABI sceNpBandwidthTestInitStartDownload(const void* param) {
|
|
(void)param;
|
|
return SCE_NP_ERROR_SIGNED_OUT;
|
|
}
|
|
|
|
int APS5_VABI sceNpBandwidthTestInitStartUpload(const void* param) {
|
|
(void)param;
|
|
return SCE_NP_ERROR_SIGNED_OUT;
|
|
}
|
|
|
|
int APS5_VABI sceNpBandwidthTestShutdown(int context_id, void* result) {
|
|
(void)context_id;
|
|
(void)result;
|
|
return SCE_NP_ERROR_INVALID_ARGUMENT;
|
|
}
|
|
|
|
}
|