From 2fc58d58a509e9a864ce6084d75165d22d783c60 Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Wed, 11 Dec 2024 14:15:57 -0600 Subject: [PATCH] Fix accidental null passing --- src/Ryujinx/Headless/HeadlessRyujinx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ryujinx/Headless/HeadlessRyujinx.cs b/src/Ryujinx/Headless/HeadlessRyujinx.cs index 74cf69e57..b2941b884 100644 --- a/src/Ryujinx/Headless/HeadlessRyujinx.cs +++ b/src/Ryujinx/Headless/HeadlessRyujinx.cs @@ -160,7 +160,7 @@ namespace Ryujinx.Headless { configurationPath = appDataConfigurationPath; } - else if (File.Exists(customConfigPath)) + else if (customConfigPath != null && File.Exists(customConfigPath)) { configurationPath = customConfigPath; }