mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-23 16:06:30 +00:00
fix alloc failures
This commit is contained in:
@@ -66,8 +66,14 @@ public:
|
||||
const void* code_ptr = nullptr;
|
||||
};
|
||||
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 size_t fast_dispatch_table_size = 0x10000;
|
||||
#endif
|
||||
|
||||
void ClearFastDispatchTable();
|
||||
void GenFastmemFallbacks();
|
||||
void GenTerminalHandlers();
|
||||
|
||||
@@ -59,8 +59,13 @@ public:
|
||||
const void* code_ptr = nullptr;
|
||||
};
|
||||
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 = 0xFFFFF0;
|
||||
static constexpr size_t fast_dispatch_table_size = 0x100000;
|
||||
#endif
|
||||
|
||||
void ClearFastDispatchTable();
|
||||
void GenMemory128Accessors();
|
||||
|
||||
Reference in New Issue
Block a user