failed to add more levels

This commit is contained in:
ManDude
2023-09-03 20:24:05 +01:00
parent 7e031fe4c7
commit 516333dcd9
17 changed files with 593 additions and 48 deletions
+2
View File
@@ -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");
+1 -1
View File
@@ -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;
}