2021-05-28 09:39:13 +00:00
|
|
|
|
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
|
2020-08-20 17:08:02 +00:00
|
|
|
|
if (e.NewValue)
|
|
|
|
|
{
|
|
|
|
|
Logger.AddTarget(new AsyncLogTargetWrapper(
|
|
|
|
|
- new FileLogTarget(AppDomain.CurrentDomain.BaseDirectory, "file"),
|
2020-11-30 08:33:03 +00:00
|
|
|
|
+ new FileLogTarget(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Ryujinx"), "file"),
|
2020-08-20 17:08:02 +00:00
|
|
|
|
1000,
|
|
|
|
|
AsyncLogTargetOverflowAction.Block
|
|
|
|
|
));
|