mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-03 09:50:40 +00:00
fix MakeExecutable patch for little endian systems
This commit is contained in:
parent
46a1b4ada5
commit
7312739738
@ -261,7 +261,7 @@ void EmulOp(M68kRegisters *r, uint32 pc, int selector)
|
||||
MakeExecutableTvec = (uint32 *)FindLibSymbol("\023PrivateInterfaceLib", "\016MakeExecutable");
|
||||
D(bug("MakeExecutable TVECT at %p\n", MakeExecutableTvec));
|
||||
#if EMULATED_PPC
|
||||
MakeExecutableTvec[0] = POWERPC_NATIVE_OP_FUNC(NATIVE_MAKE_EXECUTABLE);
|
||||
MakeExecutableTvec[0] = htonl(POWERPC_NATIVE_OP_FUNC(NATIVE_MAKE_EXECUTABLE));
|
||||
#else
|
||||
#ifdef __BEOS__
|
||||
MakeExecutableTvec[0] = ((uint32 *)MakeExecutable)[0];
|
||||
|
Loading…
Reference in New Issue
Block a user