mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-09 17:14:47 -06:00
remove hardcoded directory from generic directory creation
This commit is contained in:
parent
0762ef0431
commit
af9296a3b6
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user