ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/emul_op.cpp
(Generate patch)

Comparing SheepShaver/src/emul_op.cpp (file contents):
Revision 1.2 by gbeauche, 2003-09-07T14:33:51Z vs.
Revision 1.3 by gbeauche, 2003-10-12T05:44:11Z

# 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines