diff --git a/src/xenia/core/memory.cc b/src/xenia/core/memory.cc index d4d358d3c..b79d8136a 100644 --- a/src/xenia/core/memory.cc +++ b/src/xenia/core/memory.cc @@ -71,7 +71,7 @@ DEFINE_uint64( * this. */ -#define XE_MEMORY_PHYSICAL_HEAP_LOW 0x00000000 +#define XE_MEMORY_PHYSICAL_HEAP_LOW 0x00010000 #define XE_MEMORY_PHYSICAL_HEAP_HIGH 0x20000000 #define XE_MEMORY_VIRTUAL_HEAP_LOW 0x20000000 #define XE_MEMORY_VIRTUAL_HEAP_HIGH 0x40000000 diff --git a/src/xenia/kernel/modules/xboxkrnl/xboxkrnl_memory.cc b/src/xenia/kernel/modules/xboxkrnl/xboxkrnl_memory.cc index c95e4f59b..9da966336 100644 --- a/src/xenia/kernel/modules/xboxkrnl/xboxkrnl_memory.cc +++ b/src/xenia/kernel/modules/xboxkrnl/xboxkrnl_memory.cc @@ -222,7 +222,7 @@ uint32_t xeMmAllocatePhysicalMemoryEx( // Round up the region size and alignment to the next page. uint32_t adjusted_size = XEROUNDUP(region_size, page_size); - uint32_t adjusted_alignment = XEROUNDUP(alignment, page_size);; + uint32_t adjusted_alignment = XEROUNDUP(alignment, page_size); // Callers can pick an address to allocate with min_addr_range/max_addr_range // and the memory must be allocated there. I haven't seen a game do this,