diff --git a/DICUI.Library/Utilities/DumpEnvironment.cs b/DICUI.Library/Utilities/DumpEnvironment.cs index c28ba18b..1f6d37a2 100644 --- a/DICUI.Library/Utilities/DumpEnvironment.cs +++ b/DICUI.Library/Utilities/DumpEnvironment.cs @@ -2366,11 +2366,7 @@ namespace DICUI.Utilities // Try both of the common paths that contain information string exeName = null; - if (File.Exists(psxExePath)) - { - exeName = "PSX.EXE"; - } - else if (File.Exists(systemCnfPath)) + if (File.Exists(systemCnfPath)) { // Let's try reading SYSTEM.CNF to find the "BOOT" value try @@ -2392,6 +2388,10 @@ namespace DICUI.Utilities return false; } } + else if (File.Exists(psxExePath)) + { + exeName = "PSX.EXE"; + } else { return false;