1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Fix Android

This commit is contained in:
Gymnasiast
2022-01-08 15:42:27 +01:00
parent 919c73d030
commit 10301507a9
11 changed files with 20 additions and 13 deletions

View File

@@ -769,7 +769,7 @@ static std::string ResolveFilenameForCapture(const fs::path& filename)
return *path;
}
auto screenshotDirectory = fs::u8path(screenshot_get_directory());
auto screenshotDirectory = u8path(screenshot_get_directory());
auto screenshotPath = fs::absolute(screenshotDirectory / filename);
// Check the filename isn't attempting to leave the screenshot directory for security