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

Comparing SheepShaver/src/thunks.cpp (file contents):
Revision 1.6 by gbeauche, 2004-01-24T11:28:04Z vs.
Revision 1.7 by gbeauche, 2004-04-18T23:03:50Z

# Line 84 | Line 84 | uint32 NativeOpcode(int selector)
84          case NATIVE_GET_1_IND_RESOURCE:
85          case NATIVE_R_GET_RESOURCE:
86          case NATIVE_MAKE_EXECUTABLE:
87 +        case NATIVE_SYNC_HOOK:
88 +        case NATIVE_BITBLT_HOOK:
89 +        case NATIVE_FILLRECT_HOOK:
90 +        case NATIVE_BITBLT:
91 +        case NATIVE_INVRECT:
92 +        case NATIVE_FILLRECT_8:
93 +        case NATIVE_FILLRECT_32:
94                  opcode = POWERPC_NATIVE_OP(1, selector);
95                  break;
96          default:
# Line 247 | Line 254 | bool ThunksInit(void)
254          DEFINE_NATIVE_OP(NATIVE_SERIAL_STATUS, SerialStatus);
255          DEFINE_NATIVE_OP(NATIVE_SERIAL_CLOSE, SerialClose);
256          DEFINE_NATIVE_OP(NATIVE_MAKE_EXECUTABLE, MakeExecutable);
257 +        DEFINE_NATIVE_OP(NATIVE_SYNC_HOOK, NQD_sync_hook);
258 +        DEFINE_NATIVE_OP(NATIVE_BITBLT_HOOK, NQD_bitblt_hook);
259 + //      DEFINE_NATIVE_OP(NATIVE_FILLRECT_HOOK, NQD_fillrect_hook);
260 +        DEFINE_NATIVE_OP(NATIVE_BITBLT, NQD_bitblt);
261 + //      DEFINE_NATIVE_OP(NATIVE_INVRECT, NQD_invrect);
262 + //      DEFINE_NATIVE_OP(NATIVE_FILLRECT_8, NQD_fillrect8);
263 + //      DEFINE_NATIVE_OP(NATIVE_FILLRECT_32, NQD_fillrect32);
264   #undef DEFINE_NATIVE_OP
265   #endif
266  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines