mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
New NativeOps for DisableInterrupt() & EnableInterrupt().
This commit is contained in:
parent
3851071ecd
commit
5b57fde6ce
@ -52,9 +52,12 @@ enum { // Selectors for NATIVE_EXEC callbacks (only used with PPC emulation)
|
||||
NATIVE_GET_IND_RESOURCE,
|
||||
NATIVE_GET_1_IND_RESOURCE,
|
||||
NATIVE_R_GET_RESOURCE,
|
||||
NATIVE_DISABLE_INTERRUPT,
|
||||
NATIVE_ENABLE_INTERRUPT,
|
||||
NATIVE_OP_MAX
|
||||
};
|
||||
#define POWERPC_NATIVE_OP_FUNC(SELECTOR) ((uint32)(uintptr)&NativeOpTable[SELECTOR])
|
||||
#define POWERPC_NATIVE_OP(SELECTOR) NativeOpTable[SELECTOR]
|
||||
#define POWERPC_NATIVE_OP_FUNC(SELECTOR) ((uint32)(uintptr)&POWERPC_NATIVE_OP(SELECTOR))
|
||||
extern const uint32 NativeOpTable[NATIVE_OP_MAX];
|
||||
|
||||
// 68k opcodes
|
||||
|
Loading…
x
Reference in New Issue
Block a user