mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-02 12:56:05 +00:00
NIDs s2eGsgUF9vk (_ZnamSt11align_val_tRKSt9nothrow_t) and v09ZcAhZzSc (_ZdaPvSt11align_val_t) forward to the libc exports of the same names instead of throwing.
20 lines
726 B
C++
20 lines
726 B
C++
#include "prx/libSceLibcInternal/include/Api.hpp"
|
|
#include "prx/libc/include/Api.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
#include "SceTypes.hpp"
|
|
#include <cstddef>
|
|
|
|
extern "C" {
|
|
|
|
void* APS5_VABI sceLibcInternalAlignedArrayNewNothrow_nid_no_patch(std::size_t size, std::size_t alignment, const void* tag) noexcept {
|
|
return _ZnamSt11align_val_tRKSt9nothrow_t_nid_postfix(size, alignment, tag);
|
|
}
|
|
APS5_EXPORT("s2eGsgUF9vk", sceLibcInternalAlignedArrayNewNothrow_nid_no_patch);
|
|
|
|
void APS5_VABI sceLibcInternalAlignedArrayDelete_nid_no_patch(void* pointer, std::size_t alignment) {
|
|
_ZdaPvSt11align_val_t_nid_postfix(pointer, alignment);
|
|
}
|
|
APS5_EXPORT("v09ZcAhZzSc", sceLibcInternalAlignedArrayDelete_nid_no_patch);
|
|
|
|
}
|