mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 08:56:24 +02:00
Fix opening the wrong log directory (#6220)
This commit is contained in:
parent
ccbbaddbcb
commit
4505a7f162
5 changed files with 16 additions and 9 deletions
|
@ -427,11 +427,11 @@ namespace Ryujinx.Headless.SDL2
|
|||
|
||||
if (!option.DisableFileLog)
|
||||
{
|
||||
FileStream logFile = FileLogTarget.PrepareLogFile(AppDomain.CurrentDomain.BaseDirectory);
|
||||
FileStream logFile = FileLogTarget.PrepareLogFile(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Logs"));
|
||||
|
||||
if (logFile == null)
|
||||
{
|
||||
logFile = FileLogTarget.PrepareLogFile(AppDataManager.BaseDirPath);
|
||||
logFile = FileLogTarget.PrepareLogFile(Path.Combine(AppDataManager.BaseDirPath, "Logs"));
|
||||
|
||||
if (logFile == null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue