Ignoring MmFreePhysicalMemory (for now).
Games seem to be calling this with 0, which is bogus, so the bug is elsewhere.
This commit is contained in:
parent
536fbbff88
commit
3706b9a3ce
|
@ -269,9 +269,11 @@ void xeMmFreePhysicalMemory(uint32_t type, uint32_t base_address) {
|
||||||
|
|
||||||
// base_address = result of MmAllocatePhysicalMemory.
|
// base_address = result of MmAllocatePhysicalMemory.
|
||||||
|
|
||||||
uint32_t flags = 0;
|
// TODO(benvanik): free memory.
|
||||||
xe_memory_heap_free(
|
XELOGE("xeMmFreePhysicalMemory NOT IMPLEMENTED");
|
||||||
state->memory(), base_address, flags);
|
//uint32_t size = ?;
|
||||||
|
//xe_memory_heap_free(
|
||||||
|
// state->memory(), base_address, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue