mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-24 20:35:01 +00:00
added more PS4_SYSV_ABI codes
This commit is contained in:
parent
bb40fa9d65
commit
5706e1be1b
6 changed files with 92 additions and 61 deletions
|
@ -11,29 +11,31 @@ namespace HLE::Libs::LibC {
|
|||
//dummy no need atm
|
||||
}
|
||||
|
||||
int __cxa_guard_acquire(u64* guard_object)
|
||||
{ return 0;
|
||||
int PS4_SYSV_ABI __cxa_guard_acquire(u64* guard_object)
|
||||
{
|
||||
__debugbreak();
|
||||
return 0;
|
||||
}
|
||||
|
||||
int __cxa_guard_release(u64* guard_object)
|
||||
{ return 0;
|
||||
int PS4_SYSV_ABI __cxa_guard_release(u64* guard_object)
|
||||
{
|
||||
__debugbreak();
|
||||
return 0;
|
||||
}
|
||||
|
||||
int memcmp(const void* s1, const void* s2, size_t n) {
|
||||
int PS4_SYSV_ABI memcmp(const void* s1, const void* s2, size_t n) {
|
||||
return ::memcmp(s1, s2, n);
|
||||
}
|
||||
|
||||
void* memcpy(void* dest, const void* src, size_t n) {
|
||||
void* PS4_SYSV_ABI memcpy(void* dest, const void* src, size_t n) {
|
||||
return ::memcpy(dest, src, n);
|
||||
}
|
||||
|
||||
static void catchReturnFromMain(int status)
|
||||
{
|
||||
|
||||
static PS4_SYSV_ABI void catchReturnFromMain(int status)
|
||||
{ __debugbreak();
|
||||
}
|
||||
static void exit(int code)
|
||||
{
|
||||
|
||||
static PS4_SYSV_ABI void exit(int code)
|
||||
{ __debugbreak();
|
||||
}
|
||||
static PS4_SYSV_ABI int atexit(void (*func)())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue