mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-07 07:06:46 +00:00
Darwin function descriptors act as Linux ones
This commit is contained in:
parent
04e7fcf5d3
commit
384648a740
@ -112,7 +112,7 @@ bool ThunksInit(void)
|
||||
native_op[i].func = base + 8;
|
||||
}
|
||||
#else
|
||||
#if defined(__linux__)
|
||||
#if defined(__linux__) || (defined(__APPLE__) && defined(__MACH__))
|
||||
#define DEFINE_NATIVE_OP(ID, FUNC) do { \
|
||||
uintptr base = SheepMem::Reserve(8); \
|
||||
WriteMacInt32(base + 0, (uint32)FUNC); \
|
||||
|
Loading…
Reference in New Issue
Block a user