diff --git a/SheepShaver/src/emul_op.cpp b/SheepShaver/src/emul_op.cpp index 38a5e09a..34246ab8 100644 --- a/SheepShaver/src/emul_op.cpp +++ b/SheepShaver/src/emul_op.cpp @@ -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];