mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
relocate the mainram dump to the dump dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2101 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -95,8 +95,6 @@
|
|||||||
#define FULL_MAIL_LOGS_DIR FULL_LOGS_DIR MAIL_LOGS_DIR DIR_SEP
|
#define FULL_MAIL_LOGS_DIR FULL_LOGS_DIR MAIL_LOGS_DIR DIR_SEP
|
||||||
#define FULL_MAPS_DIR FULL_USERDATA_DIR MAPS_DIR DIR_SEP
|
#define FULL_MAPS_DIR FULL_USERDATA_DIR MAPS_DIR DIR_SEP
|
||||||
|
|
||||||
#define FULL_MEMORY_DUMP_DIR FULL_CACHE_DIR MEMORY_DUMP_FILE
|
|
||||||
|
|
||||||
// Sys dirs
|
// Sys dirs
|
||||||
#define FULL_SYSDATA_DIR ROOT_DIR DIR_SEP SYSDATA_DIR DIR_SEP
|
#define FULL_SYSDATA_DIR ROOT_DIR DIR_SEP SYSDATA_DIR DIR_SEP
|
||||||
|
|
||||||
@ -111,8 +109,9 @@
|
|||||||
// User files
|
// User files
|
||||||
#define CONFIG_FILE FULL_CONFIG_DIR DOLPHIN_CONFIG
|
#define CONFIG_FILE FULL_CONFIG_DIR DOLPHIN_CONFIG
|
||||||
#define DEBUGGER_CONFIG_FILE FULL_CONFIG_DIR DEBUGGER_CONFIG
|
#define DEBUGGER_CONFIG_FILE FULL_CONFIG_DIR DEBUGGER_CONFIG
|
||||||
#define TOTALDB_FILE FULL_SYSDATA_DIR TOTALDB
|
|
||||||
|
|
||||||
|
#define TOTALDB_FILE FULL_SYSDATA_DIR TOTALDB
|
||||||
|
#define MAINRAM_DUMP_FILE FULL_DUMP_DIR MEMORY_DUMP_FILE
|
||||||
#define GC_SRAM_FILE FULL_USERDATA_DIR GC_USER_DIR DIR_SEP GC_SRAM
|
#define GC_SRAM_FILE FULL_USERDATA_DIR GC_USER_DIR DIR_SEP GC_SRAM
|
||||||
|
|
||||||
// Sys files
|
// Sys files
|
||||||
|
@ -228,7 +228,7 @@ void CMemoryWindow::OnHostMessage(wxCommandEvent& event)
|
|||||||
// so we can view memory in a tile/hex viewer for data analysis
|
// so we can view memory in a tile/hex viewer for data analysis
|
||||||
void CMemoryWindow::OnDumpMemory( wxCommandEvent& event )
|
void CMemoryWindow::OnDumpMemory( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
FILE* pDumpFile = fopen(FULL_MEMORY_DUMP_DIR, "wb");
|
FILE* pDumpFile = fopen(MAINRAM_DUMP_FILE, "wb");
|
||||||
if (pDumpFile)
|
if (pDumpFile)
|
||||||
{
|
{
|
||||||
if (Memory::m_pRAM)
|
if (Memory::m_pRAM)
|
||||||
|
Reference in New Issue
Block a user