Browse Source

Merge pull request #5915 from lat9nq/screenshots-dir-fix

yuzu: Create screenshot path before capture
nce_cpp
LC 5 years ago
committed by GitHub
parent
commit
84f790f805
  1. 5
      src/yuzu/main.cpp

5
src/yuzu/main.cpp

@ -2490,6 +2490,11 @@ void GMainWindow::OnCaptureScreenshot() {
.arg(title_id, 16, 16, QLatin1Char{'0'})
.arg(date);
if (!Common::FS::CreateDir(screenshot_path.toStdString())) {
OnStartGame();
return;
}
#ifdef _WIN32
if (UISettings::values.enable_screenshot_save_as) {
filename = QFileDialog::getSaveFileName(this, tr("Capture Screenshot"), filename,

Loading…
Cancel
Save