# | Line 267 | Line 267 | void EmulOp(M68kRegisters *r, uint32 pc, | |
---|---|---|
267 | #endif | |
268 | ||
269 | // Patch DebugStr() | |
270 | < | static const uint16 proc[] = { |
271 | < | PW(M68K_EMUL_OP_DEBUG_STR), |
272 | < | PW(0x4e74), // rtd #4 |
273 | < | PW(0x0004) |
270 | > | static const uint8 proc_template[] = { |
271 | > | M68K_EMUL_OP_DEBUG_STR >> 8, M68K_EMUL_OP_DEBUG_STR, |
272 | > | 0x4e, 0x74, // rtd #4 |
273 | > | 0x00, 0x04 |
274 | }; | |
275 | < | WriteMacInt32(0x1dfc, Host2MacAddr((uint8 *)proc)); |
275 | > | BUILD_SHEEPSHAVER_PROCEDURE(proc); |
276 | > | WriteMacInt32(0x1dfc, proc); |
277 | break; | |
278 | } | |
279 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |