forked from mirrors/nixpkgs
22 lines
843 B
Diff
22 lines
843 B
Diff
diff --git a/Ryujinx/Configuration/LoggerModule.cs b/Ryujinx/Configuration/LoggerModule.cs
|
||
index 44631ea0..534576bc 100644
|
||
--- a/Ryujinx/Configuration/LoggerModule.cs
|
||
+++ b/Ryujinx/Configuration/LoggerModule.cs
|
||
@@ -1,6 +1,7 @@
|
||
using Ryujinx.Common;
|
||
using Ryujinx.Common.Logging;
|
||
using System;
|
||
+using System.IO;
|
||
|
||
namespace Ryujinx.Configuration
|
||
{
|
||
@@ -74,7 +75,7 @@ namespace Ryujinx.Configuration
|
||
if (e.NewValue)
|
||
{
|
||
Logger.AddTarget(new AsyncLogTargetWrapper(
|
||
- new FileLogTarget(AppDomain.CurrentDomain.BaseDirectory, "file"),
|
||
+ new FileLogTarget(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Ryujinx"), "file"),
|
||
1000,
|
||
AsyncLogTargetOverflowAction.Block
|
||
));
|