mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Add IMA extension for floppy disks
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
- Add `skeleton` to Redumper CD by default
|
||||
- Add unused "Generic" processor
|
||||
- Add Track 0/00/A/AA to Generic
|
||||
- Add IMA extension for floppy disks
|
||||
|
||||
### 3.2.3 (2024-11-06)
|
||||
|
||||
|
||||
@@ -94,6 +94,8 @@ namespace MPF.Processors
|
||||
fileModifiedDate = ProcessingTool.GetFileModifiedDate($"{basePath}.mds");
|
||||
else if (File.Exists($"{basePath}.mdf"))
|
||||
fileModifiedDate = ProcessingTool.GetFileModifiedDate($"{basePath}.mdf");
|
||||
else if (File.Exists($"{basePath}.ima"))
|
||||
fileModifiedDate = ProcessingTool.GetFileModifiedDate($"{basePath}.ima");
|
||||
else
|
||||
return null;
|
||||
|
||||
@@ -112,6 +114,12 @@ namespace MPF.Processors
|
||||
if (rom != null)
|
||||
return GetDatafile(basePath, rom);
|
||||
}
|
||||
else if (File.Exists($"{basePath}.ima"))
|
||||
{
|
||||
var rom = GetRom($"{basePath}.ima");
|
||||
if (rom != null)
|
||||
return GetDatafile(basePath, rom);
|
||||
}
|
||||
else if (File.Exists($"{basePath}.img"))
|
||||
{
|
||||
var rom = GetRom($"{basePath}.img");
|
||||
|
||||
Reference in New Issue
Block a user