interpret .as as extension for apple single

This commit is contained in:
Wolfgang Thaller 2018-12-09 10:23:54 +01:00
parent d7a9c8d862
commit 68636d820c
1 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,8 @@ bool ResourceFile::assign(std::string pathstring, ResourceFile::Format f)
{
if(path.extension() == ".bin")
format = Format::macbin;
else if(path.extension() == ".as")
format = Format::applesingle;
else if(path.extension() == ".dsk" || path.extension() == ".img")
format = Format::diskimage;
else if(path.filename().string().substr(0,2) == "._")