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.
|
||||
|
||||
uint32_t flags = 0;
|
||||
xe_memory_heap_free(
|
||||
state->memory(), base_address, flags);
|
||||
// TODO(benvanik): free memory.
|
||||
XELOGE("xeMmFreePhysicalMemory NOT IMPLEMENTED");
|
||||
//uint32_t size = ?;
|
||||
//xe_memory_heap_free(
|
||||
// state->memory(), base_address, size);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue