mirror of
https://github.com/xenia-project/xenia.git
synced 2026-01-02 06:40:19 +01:00
Steal one page of physical heap - this helps catch virt underflows.
This commit is contained in:
parent
7b98c748fa
commit
9905380bd0
|
|
@ -316,7 +316,7 @@ int XenonMemory::Initialize() {
|
|||
virtual_heap_->Initialize(
|
||||
XENON_MEMORY_VIRTUAL_HEAP_LOW, XENON_MEMORY_VIRTUAL_HEAP_HIGH);
|
||||
physical_heap_->Initialize(
|
||||
XENON_MEMORY_PHYSICAL_HEAP_LOW, XENON_MEMORY_PHYSICAL_HEAP_HIGH);
|
||||
XENON_MEMORY_PHYSICAL_HEAP_LOW, XENON_MEMORY_PHYSICAL_HEAP_HIGH - 0x1000);
|
||||
|
||||
// GPU writeback.
|
||||
// 0xC... is physical, 0x7F... is virtual. We may need to overlay these.
|
||||
|
|
|
|||
Loading…
Reference in a new issue