mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-25 00:58:59 +02:00
proper memswap mechanism
This commit is contained in:
parent
d11f8864ff
commit
f80688c04c
4 changed files with 86 additions and 30 deletions
|
|
@ -52,8 +52,10 @@
|
|||
|
||||
#ifdef __OPENORBIS__
|
||||
#include <orbis/SystemService.h>
|
||||
#include <cxxabi.h>
|
||||
#include <__thread/support.h>
|
||||
# define STUB_WEAK(name) extern "C" void name() { printf("called " #name); asm volatile("ud2"); }
|
||||
STUB_WEAK(__cxa_thread_atexit)
|
||||
void *__cxa_thread_atexit_impl = nullptr;
|
||||
STUB_WEAK(__assert)
|
||||
STUB_WEAK(ZSTD_trace_compress_begin)
|
||||
STUB_WEAK(ZSTD_trace_compress_end)
|
||||
|
|
@ -236,7 +238,6 @@ int main(int argc, char** argv) {
|
|||
{0, 0, 0, 0},
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
#ifdef __OPENORBIS__
|
||||
// PS4 will use this path by default UNLESS overriden; this is so users
|
||||
// can quickly launch whatever they want.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue