mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-28 17:49:00 +02:00
fix alloc failures
This commit is contained in:
parent
e7be657805
commit
346afecf21
5 changed files with 60 additions and 10 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue