Fix accidental null passing

This commit is contained in:
Evan Husted 2024-12-11 14:15:57 -06:00
parent 471034dc2e
commit 74a194424d

View File

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