mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add Aaruformat validation and media item type (#29)
* Initial `media` and AaruFormat code * But... why? * Fix AIF reading * Fix D2D, Logiqx cleanup * Minor cleanup * Final cleanup round
This commit is contained in:
@@ -362,9 +362,9 @@ namespace SabreTools.Library.FileTypes
|
||||
|
||||
if (rom.ItemType == ItemType.Rom)
|
||||
{
|
||||
if (date && !string.IsNullOrWhiteSpace(((Rom)rom).Date))
|
||||
if (date && !string.IsNullOrWhiteSpace((rom as Rom).Date))
|
||||
{
|
||||
File.SetCreationTime(fileName, DateTime.Parse(((Rom)rom).Date));
|
||||
File.SetCreationTime(fileName, DateTime.Parse((rom as Rom).Date));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user