mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-26 04:16:18 +00:00
mac: Fix building on macOS 26. (#3073)
This commit is contained in:
parent
64bbedeb82
commit
0444e590e0
5 changed files with 9 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue