Fix opening the wrong log directory (#6220)

This commit is contained in:
TSRBerry
2024-01-30 17:52:45 +01:00
committed by GitHub
parent ccbbaddbcb
commit 4505a7f162
5 changed files with 16 additions and 9 deletions

View File

@ -23,7 +23,7 @@ namespace Ryujinx.Common.Logging.Targets
public static FileStream PrepareLogFile(string path)
{
// Ensure directory is present
DirectoryInfo logDir = new(Path.Combine(path, "Logs"));
DirectoryInfo logDir = new(path);
try
{
logDir.Create();