mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-09 21:31:04 +00:00
mac: Fix building on macOS 26. (#3073)
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <csignal>
|
||||
#include <pthread.h>
|
||||
#ifdef ARCH_X86_64
|
||||
#include <Zydis/Formatter.h>
|
||||
#endif
|
||||
|
||||
@@ -51,7 +51,7 @@ Tcb* GetTcbBase() {
|
||||
// Apple x86_64
|
||||
|
||||
// Reserve space in the 32-bit address range for allocating TCB pages.
|
||||
asm(".zerofill TCB_SPACE,TCB_SPACE,__guest_system,0x3FC000");
|
||||
asm(".zerofill TCB_SPACE,TCB_SPACE,__tcb_space,0x3FC000");
|
||||
|
||||
struct LdtPage {
|
||||
void* tcb;
|
||||
|
||||
Reference in New Issue
Block a user