# | Line 257 | Line 257 | void EmulOp(M68kRegisters *r, uint32 pc, | |
---|---|---|
257 | // Install drivers | |
258 | InstallDrivers(); | |
259 | ||
260 | – | #if !EMULATED_PPC |
260 | // Patch MakeExecutable() | |
261 | MakeExecutableTvec = (uint32 *)FindLibSymbol("\023PrivateInterfaceLib", "\016MakeExecutable"); | |
262 | D(bug("MakeExecutable TVECT at %p\n", MakeExecutableTvec)); | |
263 | + | #if EMULATED_PPC |
264 | + | MakeExecutableTvec[0] = POWERPC_NATIVE_OP_FUNC(NATIVE_MAKE_EXECUTABLE); |
265 | + | #else |
266 | #ifdef __BEOS__ | |
267 | MakeExecutableTvec[0] = ((uint32 *)MakeExecutable)[0]; | |
268 | #else |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |