0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2025-01-03 18:41:58 +00:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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