mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Check PSX.EXE date second (fixes #193)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user