Fix a crash when dumping memory

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4669 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2009-12-10 09:16:21 +00:00
parent 805bd8ec28
commit eb2c52f55f
1 changed files with 0 additions and 2 deletions

View File

@ -252,7 +252,6 @@ void CMemoryWindow::OnDumpMemory( wxCommandEvent& event )
fwrite(Memory::m_pRAM, Memory::REALRAM_SIZE, 1, pDumpFile);
}
fclose(pDumpFile);
delete pDumpFile;
}
}
break;
@ -268,7 +267,6 @@ void CMemoryWindow::OnDumpMemory( wxCommandEvent& event )
fwrite(aram, DSP::ARAM_SIZE, 1, pDumpFile);
}
fclose(pDumpFile);
delete pDumpFile;
}
}
break;