mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-01-23 21:44:56 +03:00
Fix accidental null passing
This commit is contained in:
parent
75fa7c7d4d
commit
2fc58d58a5
@ -160,7 +160,7 @@ namespace Ryujinx.Headless
|
||||
{
|
||||
configurationPath = appDataConfigurationPath;
|
||||
}
|
||||
else if (File.Exists(customConfigPath))
|
||||
else if (customConfigPath != null && File.Exists(customConfigPath))
|
||||
{
|
||||
configurationPath = customConfigPath;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user