mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Added a CompileExceptionCheck function to the JitInterface and re-routed the existing code to utilise the interface.
This commit is contained in:
@ -11,6 +11,12 @@
|
||||
|
||||
namespace JitInterface
|
||||
{
|
||||
enum
|
||||
{
|
||||
EXCEPTIONS_FIFO_WRITE,
|
||||
EXCEPTIONS_ARAM_DMA
|
||||
};
|
||||
|
||||
void DoState(PointerWrap &p);
|
||||
|
||||
CPUCoreBase *InitJitCore(int core);
|
||||
@ -24,7 +30,7 @@ namespace JitInterface
|
||||
bool HandleFault(uintptr_t access_address, SContext* ctx);
|
||||
|
||||
// used by JIT to read instructions
|
||||
u32 Read_Opcode_JIT(const u32 _Address);
|
||||
u32 ReadOpcodeJIT(const u32 _Address);
|
||||
|
||||
// Clearing CodeCache
|
||||
void ClearCache();
|
||||
@ -33,6 +39,8 @@ namespace JitInterface
|
||||
|
||||
void InvalidateICache(u32 address, u32 size);
|
||||
|
||||
void CompileExceptionCheck(int type);
|
||||
|
||||
void Shutdown();
|
||||
}
|
||||
extern bool bMMU;
|
||||
|
Reference in New Issue
Block a user