mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 09:35:27 +00:00
Handle relative file paths in profiler config loading. (#685)
This commit is contained in:
parent
8a7d99cdea
commit
5682de7c0f
|
@ -2,6 +2,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
namespace Ryujinx.Profiler
|
namespace Ryujinx.Profiler
|
||||||
{
|
{
|
||||||
|
@ -18,7 +19,7 @@ namespace Ryujinx.Profiler
|
||||||
[Conditional("USE_PROFILING")]
|
[Conditional("USE_PROFILING")]
|
||||||
public static void Initalize()
|
public static void Initalize()
|
||||||
{
|
{
|
||||||
var config = ProfilerConfiguration.Load("ProfilerConfig.jsonc");
|
var config = ProfilerConfiguration.Load(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "ProfilerConfig.jsonc"));
|
||||||
|
|
||||||
_settings = new ProfilerSettings()
|
_settings = new ProfilerSettings()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue