From af9296a3b674aa86eed3f35ae00e2b8c67281853 Mon Sep 17 00:00:00 2001 From: Switch Date: Wed, 7 Jan 2026 14:29:57 -0500 Subject: [PATCH] remove hardcoded directory from generic directory creation --- src/gui/wxgui/MainWindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/wxgui/MainWindow.cpp b/src/gui/wxgui/MainWindow.cpp index 45d64841..4c00785a 100644 --- a/src/gui/wxgui/MainWindow.cpp +++ b/src/gui/wxgui/MainWindow.cpp @@ -1147,13 +1147,13 @@ void MainWindow::OnDebugDumpGeneric(wxCommandEvent& event) { try { - fs::create_directories(ActiveSettings::GetUserDataPath("dump/shaders")); + fs::create_directories(ActiveSettings::GetUserDataPath(dumpSubpath)); } catch (const std::exception & ex) { SystemException sys(ex); - cemuLog_log(LogType::Force, "can't create shaders dump folder: {}", ex.what()); - ActiveSettings::EnableDumpShaders(false); + cemuLog_log(LogType::Force, "can't create {} folder: {}", dumpSubpath, ex.what()); + setDumpState(false); } } }