mirror of
https://github.com/open-goal/jak-project
synced 2026-09-12 20:56:09 -04:00
failed to add more levels
This commit is contained in:
@@ -29,3 +29,5 @@ constexpr u32 DEBUG_HEAP_START = 0x8000000;
|
||||
namespace jak2 {
|
||||
constexpr u32 DEBUG_HEAP_SIZE = 0x2f00000;
|
||||
}
|
||||
|
||||
static_assert(DEBUG_HEAP_START > GLOBAL_HEAP_END, "global heap overrun into debug");
|
||||
|
||||
@@ -918,7 +918,7 @@ Ptr<Type> set_fixed_type(u32 offset,
|
||||
}
|
||||
|
||||
static bool in_valid_memory_for_new_type(u32 addr) {
|
||||
if (SymbolTable2.offset <= addr && addr < 0x8000000) {
|
||||
if (SymbolTable2.offset <= addr && addr < EE_MAIN_MEM_SIZE) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user