mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-14 07:37:04 +00:00
UI: Always save screenshots to the Ryujinx data directory.
This commit is contained in:
parent
038f8352e0
commit
e75d162dbd
1 changed files with 1 additions and 5 deletions
|
|
@ -414,11 +414,7 @@ namespace Ryujinx.Ava
|
|||
|
||||
string filename = $"{sanitizedApplicationName}_{currentTime.Year}-{currentTime.Month:D2}-{currentTime.Day:D2}_{currentTime.Hour:D2}-{currentTime.Minute:D2}-{currentTime.Second:D2}.png";
|
||||
|
||||
string directory = AppDataManager.Mode switch
|
||||
{
|
||||
AppDataManager.LaunchMode.Portable or AppDataManager.LaunchMode.Custom => Path.Combine(AppDataManager.BaseDirPath, "screenshots"),
|
||||
_ => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyPictures), "Ryujinx"),
|
||||
};
|
||||
string directory = Path.Combine(AppDataManager.BaseDirPath, "screenshots");
|
||||
|
||||
string path = Path.Combine(directory, filename);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue