diff --git a/Ryujinx.csproj b/Ryujinx.csproj
index 2c25afc0ff..9ad696d89f 100644
--- a/Ryujinx.csproj
+++ b/Ryujinx.csproj
@@ -9,4 +9,9 @@
+
+
+ PreserveNewest
+
+
\ No newline at end of file
diff --git a/Ryujinx/Config.cs b/Ryujinx/Config.cs
index 2e4e56953a..c27060d2c1 100644
--- a/Ryujinx/Config.cs
+++ b/Ryujinx/Config.cs
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
+using System.Reflection;
namespace Ryujinx
{
@@ -17,7 +18,7 @@ namespace Ryujinx
public static void Read()
{
- IniParser Parser = new IniParser("Ryujinx.conf");
+ IniParser Parser = new IniParser(Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "Ryujinx.conf"));
LoggingEnableInfo = Convert.ToBoolean(Parser.Value("Logging_Enable_Info"));
LoggingEnableTrace = Convert.ToBoolean(Parser.Value("Logging_Enable_Trace"));