stubbed Assert function . should fix #26

This commit is contained in:
georgemoralis 2023-07-26 13:18:10 +03:00
parent 2b9aaff641
commit d7247f9e8d
3 changed files with 4 additions and 0 deletions

View file

@ -45,6 +45,7 @@ namespace HLE::Libs::LibC {
}
return rt;
}
static PS4_SYSV_ABI void _Assert() { BREAKPOINT(); }
void LibC_Register(SymbolsResolver* sym)
{
@ -56,6 +57,7 @@ namespace HLE::Libs::LibC {
LIB_FUNCTION("XKRegsFpEpk", "libc", 1, "libc", 1, 1, catchReturnFromMain);
LIB_FUNCTION("uMei1W9uyNo", "libc", 1, "libc", 1, 1, exit);
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);
}