Fix accidental null passing
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user