mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-05 17:11:09 +00:00
Return "system", "generic", "iostream" and "future" from the name() members of the four error categories, as ISO C++ fixes them, and 1 from codecvt_base::do_max_length and do_encoding, as the Dinkumware <xlocale> and libc's codecvt facet do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
1.3 KiB
C++
38 lines
1.3 KiB
C++
#include "prx/libSceLibcInternal/include/Api.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
#include "SceTypes.hpp"
|
|
|
|
extern "C" {
|
|
|
|
const char* APS5_VABI sceLibcInternalSystemErrorCategoryName_nid_no_patch(const void*) noexcept {
|
|
return "system";
|
|
}
|
|
APS5_EXPORT("dXy+lFOiaQA", sceLibcInternalSystemErrorCategoryName_nid_no_patch);
|
|
|
|
const char* APS5_VABI sceLibcInternalGenericErrorCategoryName_nid_no_patch(const void*) noexcept {
|
|
return "generic";
|
|
}
|
|
APS5_EXPORT("xvVR0CBPFAM", sceLibcInternalGenericErrorCategoryName_nid_no_patch);
|
|
|
|
const char* APS5_VABI sceLibcInternalIostreamErrorCategoryName_nid_no_patch(const void*) noexcept {
|
|
return "iostream";
|
|
}
|
|
APS5_EXPORT("sb2vivqtLS0", sceLibcInternalIostreamErrorCategoryName_nid_no_patch);
|
|
|
|
const char* APS5_VABI sceLibcInternalFutureErrorCategoryName_nid_no_patch(const void*) noexcept {
|
|
return "future";
|
|
}
|
|
APS5_EXPORT("Q0VsWTapQ4M", sceLibcInternalFutureErrorCategoryName_nid_no_patch);
|
|
|
|
int APS5_VABI sceLibcInternalCodecvtBaseMaxLength_nid_no_patch(const void*) noexcept {
|
|
return 1;
|
|
}
|
|
APS5_EXPORT("FOsY+JAyXow", sceLibcInternalCodecvtBaseMaxLength_nid_no_patch);
|
|
|
|
int APS5_VABI sceLibcInternalCodecvtBaseEncoding_nid_no_patch(const void*) noexcept {
|
|
return 1;
|
|
}
|
|
APS5_EXPORT("MwAySqTo+-M", sceLibcInternalCodecvtBaseEncoding_nid_no_patch);
|
|
|
|
}
|