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:
parent
805bd8ec28
commit
eb2c52f55f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue