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

Comparing SheepShaver/src/name_registry.cpp (file contents):
Revision 1.1 by cebix, 2002-02-04T16:58:13Z vs.
Revision 1.2 by gbeauche, 2003-09-07T14:33:51Z

# Line 25 | Line 25
25   #include "main.h"
26   #include "macos_util.h"
27   #include "user_strings.h"
28 + #include "emul_op.h"
29  
30   #define DEBUG 0
31   #include "debug.h"
# Line 60 | Line 61 | static const uint8 ethernet_driver[] = {
61   *  Patch Name Registry during startup
62   */
63  
64 < static void patch_name_registry(void)
64 > void DoPatchNameRegistry(void)
65   {
66          uint32 u32;
67          D(bug("Patching Name Registry..."));
# Line 286 | Line 287 | void PatchNameRegistry(void)
287          }
288  
289          // Main routine must be executed in PPC mode
290 <        ExecutePPC(patch_name_registry);
290 > #if EMULATED_PPC
291 >        ExecuteNative(NATIVE_PATCH_NAME_REGISTRY);
292 > #else
293 >        ExecutePPC(DoPatchNameRegistry);
294 > #endif
295   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines