mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2026-02-15 19:36:49 -05:00
Fix accidental null passing
This commit is contained in:
@@ -160,7 +160,7 @@ namespace Ryujinx.Headless
|
||||
{
|
||||
configurationPath = appDataConfigurationPath;
|
||||
}
|
||||
else if (File.Exists(customConfigPath))
|
||||
else if (customConfigPath != null && File.Exists(customConfigPath))
|
||||
{
|
||||
configurationPath = customConfigPath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user