|
|
@ -67,8 +67,14 @@ public: |
|
|
const void* code_ptr = nullptr; |
|
|
const void* code_ptr = nullptr; |
|
|
}; |
|
|
}; |
|
|
static_assert(sizeof(FastDispatchEntry) == 0x10); |
|
|
static_assert(sizeof(FastDispatchEntry) == 0x10); |
|
|
|
|
|
#ifdef __OPENORBIS__ |
|
|
|
|
|
static constexpr u64 fast_dispatch_table_mask = 0xFF0; |
|
|
|
|
|
static constexpr size_t fast_dispatch_table_size = 0x100; |
|
|
|
|
|
#else |
|
|
static constexpr u64 fast_dispatch_table_mask = 0xFFFF0; |
|
|
static constexpr u64 fast_dispatch_table_mask = 0xFFFF0; |
|
|
static constexpr size_t fast_dispatch_table_size = 0x10000; |
|
|
static constexpr size_t fast_dispatch_table_size = 0x10000; |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
void ClearFastDispatchTable(); |
|
|
void ClearFastDispatchTable(); |
|
|
void GenFastmemFallbacks(); |
|
|
void GenFastmemFallbacks(); |
|
|
void GenTerminalHandlers(); |
|
|
void GenTerminalHandlers(); |
|
|
|