Config: Resolve config and file log to application directory (#580)

This commit is contained in:
jduncanator 2019-02-13 10:24:11 +11:00 committed by gdkchan
parent 8eebbc736e
commit f73c11744e
2 changed files with 4 additions and 2 deletions

View file

@ -157,7 +157,7 @@ namespace Ryujinx
if (Instance.EnableFileLog)
{
Logger.AddTarget(new AsyncLogTargetWrapper(
new FileLogTarget("Ryujinx.log"),
new FileLogTarget(Path.Combine(Program.ApplicationDirectory, "Ryujinx.log")),
1000,
AsyncLogTargetOverflowAction.Block
));