mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 20:38:57 +02:00
make .pkg and .self
This commit is contained in:
parent
3b9b120ab3
commit
a679230e8f
4 changed files with 60 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ target_link_libraries(yuzu-cmd PRIVATE common core input_common frontend_common
|
|||
target_link_libraries(yuzu-cmd PRIVATE glad)
|
||||
if (MSVC)
|
||||
target_link_libraries(yuzu-cmd PRIVATE getopt)
|
||||
elseif(PLATFORM_PS4)
|
||||
target_link_libraries(yuzu-cmd PRIVATE SceVideoOut SceAudioOut ScePad)
|
||||
endif()
|
||||
target_link_libraries(yuzu-cmd PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
||||
|
||||
|
|
@ -65,3 +67,8 @@ if (NOT MSVC)
|
|||
-Wno-unused-parameter
|
||||
-Wno-missing-field-initializers)
|
||||
endif()
|
||||
|
||||
if (PLATFORM_PS4)
|
||||
add_fself(yuzu-cmd eden-cli)
|
||||
add_pkg(yuzu-cmd eden-cli)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -50,6 +50,16 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef __OPENORBIS__
|
||||
# define STUB_WEAK(name) extern "C" void name() { printf("called " #name); asm volatile("ud2"); }
|
||||
STUB_WEAK(__cxa_thread_atexit)
|
||||
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)
|
||||
# undef STUB_WEAK
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
extern "C" {
|
||||
// tells Nvidia and AMD drivers to use the dedicated GPU by default on laptops with switchable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue