# | Line 219 | Line 219 | bool ThunksInit(void) | |
---|---|---|
219 | #define DEFINE_NATIVE_OP(ID, FUNC) do { \ | |
220 | uintptr base = SheepMem::Reserve(8); \ | |
221 | WriteMacInt32(base + 0, (uint32)FUNC); \ | |
222 | < | WriteMacInt32(base + 4, 0); /*Fake TVECT*/ \ |
222 | > | WriteMacInt32(base + 4, (uint32)TOC); \ |
223 | native_op[ID].tvect = base; \ | |
224 | native_op[ID].func = (uint32)FUNC; \ | |
225 | } while (0) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |