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:
Ben Vanik 2013-09-25 18:38:18 -07:00
parent 536fbbff88
commit 3706b9a3ce
1 changed files with 5 additions and 3 deletions

View File

@ -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);
} }