Fix accidental null passing

This commit is contained in:
Evan Husted
2024-12-11 14:15:57 -06:00
committed by GitHub
parent 75fa7c7d4d
commit 2fc58d58a5

View File

@@ -160,7 +160,7 @@ namespace Ryujinx.Headless
{ {
configurationPath = appDataConfigurationPath; configurationPath = appDataConfigurationPath;
} }
else if (File.Exists(customConfigPath)) else if (customConfigPath != null && File.Exists(customConfigPath))
{ {
configurationPath = customConfigPath; configurationPath = customConfigPath;
} }