fix 2mg detection

fixes 8737203f3a
This commit is contained in:
CasualPokePlayer 2023-04-04 23:52:05 -07:00
parent 8737203f3a
commit 389c6ebec5
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ namespace BizHawk.Emulation.Cores.Computers.AppleII
return ext switch
{
".DSK" or ".PO" or ".DO" or ".NIB" => (romAssert.FileData, ext),
".2mg" => throw new NotSupportedException("Unsupported extension .2mg!"), // TODO: add a way to support this (we have hashes of this format in our db it seems?)
".2MG" => throw new NotSupportedException("Unsupported extension .2mg!"), // TODO: add a way to support this (we have hashes of this format in our db it seems?)
_ => (romAssert.FileData, ".DSK") // no idea, let's assume it's just a .DSK?
};
}