From 55002b9db22f44a9ba68dd80ef1a6c1ce0cc71d5 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sun, 7 Sep 2008 14:56:05 +0000 Subject: [PATCH] changed Memory::Shutdown with a patch from mOoOo git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@464 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/Memmap.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/Core/Core/Src/HW/Memmap.cpp b/Source/Core/Core/Src/HW/Memmap.cpp index 1c183f7955..3e9660a653 100644 --- a/Source/Core/Core/Src/HW/Memmap.cpp +++ b/Source/Core/Core/Src/HW/Memmap.cpp @@ -564,6 +564,14 @@ bool Shutdown() if (bFakeVMEM) { g_arena.ReleaseView(m_pPhysicalFakeVMEM, FAKEVMEM_SIZE); } +#else + g_arena.ReleaseView(m_pPhysicalRAM, RAM_SIZE); + g_arena.ReleaseView(m_pVirtualEFB, EFB_SIZE); + g_arena.ReleaseView(m_pVirtualL1Cache, L1_CACHE_SIZE); + if (wii) + g_arena.ReleaseView(m_pPhysicalEXRAM, EXRAM_SIZE); + if (bFakeVMEM) + g_arena.ReleaseView(m_pPhysicalFakeVMEM, FAKEVMEM_SIZE); #endif g_arena.ReleaseSpace(); return true;