mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-29 19:48:58 +02:00
fixup shit
This commit is contained in:
parent
8897005bdd
commit
19ccb0e19e
4 changed files with 15 additions and 26 deletions
|
|
@ -50,22 +50,7 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#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"); }
|
||||
extern "C" void __cxa_thread_atexit_impl() {
|
||||
//printf("atexit called");
|
||||
}
|
||||
STUB_WEAK(__assert)
|
||||
STUB_WEAK(ZSTD_trace_compress_begin)
|
||||
STUB_WEAK(ZSTD_trace_compress_end)
|
||||
STUB_WEAK(ZSTD_trace_decompress_begin)
|
||||
STUB_WEAK(ZSTD_trace_decompress_end)
|
||||
FILE* __stderrp = stdout;
|
||||
# undef STUB_WEAK
|
||||
#elif defined(_WIN32)
|
||||
#if defined(_WIN32)
|
||||
extern "C" {
|
||||
// tells Nvidia and AMD drivers to use the dedicated GPU by default on laptops with switchable
|
||||
// graphics
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue