stubbed Assert function . should fix #26
This commit is contained in:
parent
2b9aaff641
commit
d7247f9e8d
|
@ -45,6 +45,7 @@ namespace HLE::Libs::LibC {
|
||||||
}
|
}
|
||||||
return rt;
|
return rt;
|
||||||
}
|
}
|
||||||
|
static PS4_SYSV_ABI void _Assert() { BREAKPOINT(); }
|
||||||
|
|
||||||
void LibC_Register(SymbolsResolver* sym)
|
void LibC_Register(SymbolsResolver* sym)
|
||||||
{
|
{
|
||||||
|
@ -56,6 +57,7 @@ namespace HLE::Libs::LibC {
|
||||||
LIB_FUNCTION("XKRegsFpEpk", "libc", 1, "libc", 1, 1, catchReturnFromMain);
|
LIB_FUNCTION("XKRegsFpEpk", "libc", 1, "libc", 1, 1, catchReturnFromMain);
|
||||||
LIB_FUNCTION("uMei1W9uyNo", "libc", 1, "libc", 1, 1, exit);
|
LIB_FUNCTION("uMei1W9uyNo", "libc", 1, "libc", 1, 1, exit);
|
||||||
LIB_FUNCTION("8G2LB+A3rzg", "libc", 1, "libc", 1, 1, atexit);
|
LIB_FUNCTION("8G2LB+A3rzg", "libc", 1, "libc", 1, 1, atexit);
|
||||||
|
LIB_FUNCTION("-QgqOT5u2Vk", "libc", 1, "libc", 1, 1, _Assert);
|
||||||
|
|
||||||
LIB_OBJ("P330P3dFF68", "libc", 1, "libc", 1, 1, &HLE::Libs::LibC::g_need_sceLibc);
|
LIB_OBJ("P330P3dFF68", "libc", 1, "libc", 1, 1, &HLE::Libs::LibC::g_need_sceLibc);
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@ namespace HLE::Libs::LibC {
|
||||||
//functions
|
//functions
|
||||||
static PS4_SYSV_ABI void init_env();
|
static PS4_SYSV_ABI void init_env();
|
||||||
static PS4_SYSV_ABI void exit(int code);
|
static PS4_SYSV_ABI void exit(int code);
|
||||||
|
static PS4_SYSV_ABI void _Assert();
|
||||||
static PS4_SYSV_ABI void catchReturnFromMain(int status);
|
static PS4_SYSV_ABI void catchReturnFromMain(int status);
|
||||||
int PS4_SYSV_ABI __cxa_guard_acquire(u64* guard_object);
|
int PS4_SYSV_ABI __cxa_guard_acquire(u64* guard_object);
|
||||||
int PS4_SYSV_ABI memcmp(const void* s1, const void* s2, size_t n);
|
int PS4_SYSV_ABI memcmp(const void* s1, const void* s2, size_t n);
|
||||||
|
|
|
@ -11219,6 +11219,7 @@ namespace aerolib {
|
||||||
{"9rAeANT2tyE", "__cxa_guard_release"},
|
{"9rAeANT2tyE", "__cxa_guard_release"},
|
||||||
{"DfivPArhucg", "memcmp"},
|
{"DfivPArhucg", "memcmp"},
|
||||||
{"Q3VBxCXhUHs", "memcpy"},
|
{"Q3VBxCXhUHs", "memcpy"},
|
||||||
|
{"-QgqOT5u2Vk", "_Assert"},
|
||||||
//libkernel
|
//libkernel
|
||||||
{"Ou3iL1abvng", "__stack_chk_fail"},
|
{"Ou3iL1abvng", "__stack_chk_fail"},
|
||||||
{"f7uOxY9mM1U", "__stack_chk_guard"}
|
{"f7uOxY9mM1U", "__stack_chk_guard"}
|
||||||
|
|
Loading…
Reference in New Issue