changed Memory::Shutdown with a patch from mOoOo

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@464 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2008-09-07 14:56:05 +00:00
parent 9637314efb
commit 55002b9db2
1 changed files with 8 additions and 0 deletions

View File

@ -564,6 +564,14 @@ bool Shutdown()
if (bFakeVMEM) { if (bFakeVMEM) {
g_arena.ReleaseView(m_pPhysicalFakeVMEM, FAKEVMEM_SIZE); 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 #endif
g_arena.ReleaseSpace(); g_arena.ReleaseSpace();
return true; return true;