Remove path from PS1/PS2 serial (fixes #481)

This commit is contained in:
Matt Nadareski
2023-04-19 11:36:13 -04:00
parent bd45482bf7
commit 6589380fdf
2 changed files with 4 additions and 0 deletions

View File

@@ -26,6 +26,7 @@
- Comment out `.` handling for DIC
- Ensure dumping program box can enable/disable
- Disable special SmartE handling for DIC
- Remove path from PS1/PS2 serial
### 2.5 (2023-03-12)

View File

@@ -1271,6 +1271,9 @@ namespace MPF.Modules
serial = exeName
.Replace('_', '-')
.Replace(".", string.Empty);
// Some games may have the EXE in a subfolder
serial = Path.GetFileName(serial);
}
}