mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-11 23:10:31 +00:00
proper memswap mechanism
This commit is contained in:
@@ -160,7 +160,13 @@ struct Values {
|
|||||||
Setting<bool> enable_discord_presence{linkage, false, "enable_discord_presence", Category::Ui};
|
Setting<bool> enable_discord_presence{linkage, false, "enable_discord_presence", Category::Ui};
|
||||||
|
|
||||||
// logging
|
// logging
|
||||||
Setting<bool> show_console{linkage, false, "showConsole", Category::Ui};
|
Setting<bool> show_console{linkage,
|
||||||
|
#ifdef __OPENORBIS__
|
||||||
|
true,
|
||||||
|
#else
|
||||||
|
false,
|
||||||
|
#endif
|
||||||
|
"showConsole", Category::Ui};
|
||||||
|
|
||||||
// Screenshots
|
// Screenshots
|
||||||
Setting<bool> enable_screenshot_save_as{linkage, true, "enable_screenshot_save_as",
|
Setting<bool> enable_screenshot_save_as{linkage, true, "enable_screenshot_save_as",
|
||||||
|
|||||||
@@ -60,8 +60,10 @@
|
|||||||
|
|
||||||
#ifdef __OPENORBIS__
|
#ifdef __OPENORBIS__
|
||||||
#include <orbis/SystemService.h>
|
#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"); }
|
# 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(__assert)
|
||||||
STUB_WEAK(ZSTD_trace_compress_begin)
|
STUB_WEAK(ZSTD_trace_compress_begin)
|
||||||
STUB_WEAK(ZSTD_trace_compress_end)
|
STUB_WEAK(ZSTD_trace_compress_end)
|
||||||
@@ -254,7 +256,6 @@ extern "C" SDL_AppResult SDL_AppInit(void **appstate, int argc, char **argv) {
|
|||||||
{0, 0, 0, 0},
|
{0, 0, 0, 0},
|
||||||
// clang-format on
|
// clang-format on
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __OPENORBIS__
|
#ifdef __OPENORBIS__
|
||||||
// PS4 will use this path by default UNLESS overriden; this is so users
|
// PS4 will use this path by default UNLESS overriden; this is so users
|
||||||
// can quickly launch whatever they want.
|
// can quickly launch whatever they want.
|
||||||
|
|||||||
Reference in New Issue
Block a user