diff --git a/src/Cafe/HW/Latte/Renderer/Renderer.cpp b/src/Cafe/HW/Latte/Renderer/Renderer.cpp index 0e5f1acf..bae26d39 100644 --- a/src/Cafe/HW/Latte/Renderer/Renderer.cpp +++ b/src/Cafe/HW/Latte/Renderer/Renderer.cpp @@ -145,7 +145,7 @@ void Renderer::SaveScreenshot(const std::vector& rgb_data, int width, int { fs::path screendir = _GenerateScreenshotFilename(!mainWindow); if (!fs::exists(screendir.parent_path())) - fs::create_directory(screendir); + fs::create_directories(screendir.parent_path()); if (image.SaveFile(screendir.wstring())) { if(mainWindow)