Skip to content

Commit

Permalink
fix 2mg detection
Browse files Browse the repository at this point in the history
fixes 8737203
  • Loading branch information
CasualPokePlayer committed Apr 5, 2023
1 parent 8737203 commit 389c6eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BizHawk.Emulation.Cores/Computers/AppleII/AppleII.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public AppleII(CoreLoadParameters<Settings, SyncSettings> lp)
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?
};
}
Expand Down

0 comments on commit 389c6eb

Please sign in to comment.