diff options
| author | Glenn Rice <glennricster@gmail.com> | 2010-02-02 21:56:29 +0000 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2010-02-02 21:56:29 +0000 |
| commit | feba09f7a3e8d8e9b1ea2fe0d666c5be82941096 (patch) | |
| tree | e695da77bfbd419355df9d29c799f6722d64ccef /Source/Core/DebuggerWX/Src/MemoryWindow.cpp | |
| parent | a090876bbd89ac656db2c1a5b81b778311b1c804 (diff) | |
Linux global build. At least the basic footwork is done here.
Basic usage: "sudo scons install=global install"
Hopefully this doesn't break builds on Macs. I have tested this on linux and windows.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4994 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/MemoryWindow.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/MemoryWindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/DebuggerWX/Src/MemoryWindow.cpp b/Source/Core/DebuggerWX/Src/MemoryWindow.cpp index 2d449d4e73..8e4db3e26d 100644 --- a/Source/Core/DebuggerWX/Src/MemoryWindow.cpp +++ b/Source/Core/DebuggerWX/Src/MemoryWindow.cpp @@ -27,6 +27,7 @@ #include "HW/CPU.h" #include "PowerPC/PowerPC.h" #include "Host.h" +#include "FileUtil.h" #include "Debugger/PPCDebugInterface.h" #include "PowerPC/PPCSymbolDB.h" @@ -243,7 +244,7 @@ void CMemoryWindow::OnDumpMemory( wxCommandEvent& event ) case 0: default: { - FILE* pDumpFile = fopen(MAINRAM_DUMP_FILE, "wb"); + FILE* pDumpFile = fopen(File::GetUserPath(F_RAMDUMP_IDX), "wb"); if (pDumpFile) { if (Memory::m_pRAM) @@ -257,7 +258,7 @@ void CMemoryWindow::OnDumpMemory( wxCommandEvent& event ) case 1: { - FILE* pDumpFile = fopen(ARAM_DUMP_FILE, "wb"); + FILE* pDumpFile = fopen(File::GetUserPath(F_ARAMDUMP_IDX), "wb"); if (pDumpFile) { u8* aram = DSP::GetARAMPtr(); |
