diff options
Diffstat (limited to 'Source/Core/VideoUICommon/Src/DebuggerPanel.cpp')
| -rw-r--r-- | Source/Core/VideoUICommon/Src/DebuggerPanel.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/Core/VideoUICommon/Src/DebuggerPanel.cpp b/Source/Core/VideoUICommon/Src/DebuggerPanel.cpp index 887f5a98ac..4271a6f901 100644 --- a/Source/Core/VideoUICommon/Src/DebuggerPanel.cpp +++ b/Source/Core/VideoUICommon/Src/DebuggerPanel.cpp @@ -54,7 +54,7 @@ GFXDebuggerPanel::GFXDebuggerPanel(wxWindow *parent, wxWindowID id, const wxPoin GFXDebuggerPanel::~GFXDebuggerPanel() { - SaveSettings(); + GFXDebuggerPauseFlag = false; } void GFXDebuggerPanel::OnClose(wxCloseEvent& event) @@ -249,10 +249,9 @@ void GFXDebuggerPanel::OnPauseAtNextFrameButton(wxCommandEvent& event) void GFXDebuggerPanel::OnDumpButton(wxCommandEvent& event) { char dump_path[MAX_PATH]; - sprintf(dump_path, "%sDebug/%s", File::GetUserPath(D_DUMP_IDX), globals->unique_id); - if (!File::Exists(dump_path) || !File::IsDirectory(dump_path)) - if (!File::CreateDir(dump_path)) - return; + sprintf(dump_path, "%sDebug/%s/", File::GetUserPath(D_DUMP_IDX), globals->unique_id); + if (!File::CreateFullPath(dump_path)) + return; switch (m_pDumpList->GetSelection()) { |
