Small fix to handle drag and drop opening changing relative file paths.
This commit is contained in:
parent
8a7d99cdea
commit
2deb917d66
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
|
||||
namespace Ryujinx.Profiler
|
||||
{
|
||||
|
@ -18,7 +19,7 @@ namespace Ryujinx.Profiler
|
|||
[Conditional("USE_PROFILING")]
|
||||
public static void Initalize()
|
||||
{
|
||||
var config = ProfilerConfiguration.Load("ProfilerConfig.jsonc");
|
||||
var config = ProfilerConfiguration.Load(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "ProfilerConfig.jsonc"));
|
||||
|
||||
_settings = new ProfilerSettings()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue