increased dummy stubs to 512

This commit is contained in:
georgemoralis 2024-03-06 23:14:46 +02:00
parent 27f6f6bfd6
commit 2c1d455942
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ namespace Core::AeroLib {
// and to longer compile / CI times
//
// Must match STUBS_LIST define
constexpr u32 MAX_STUBS = 128;
constexpr u32 MAX_STUBS = 512;
u64 UnresolvedStub() {
LOG_ERROR("Unresolved Stub: called, returning zero to {}\n", __builtin_return_address(0));
@ -62,7 +62,7 @@ static u32 UsedStubEntries;
#define XREP_256(x) XREP_128(x) XREP_128(x + 128)
#define XREP_512(x) XREP_256(x) XREP_256(x + 256)
#define STUBS_LIST XREP_128(0)
#define STUBS_LIST XREP_512(0)
static u64 (*stub_handlers[MAX_STUBS])() = {STUBS_LIST};