Skip to content

Commit

Permalink
cacheIdFromData exceptions - add po/dsk/nib suffixes for apple2 platform
Browse files Browse the repository at this point in the history
Disk images are volatile and may change content.
  • Loading branch information
s1eve-mcdichae1 authored and Gemba committed Sep 10, 2023
1 parent a375341 commit b4c262f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nametools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,9 @@ QString NameTools::getCacheId(const QFileInfo &info)
info.suffix() == "scummvm" || info.suffix() == "mds" ||
info.suffix() == "zip" || info.suffix() == "7z" ||
info.suffix() == "gdi" || info.suffix() == "ml" ||
info.suffix() == "bat" || info.suffix() == "au3") {
info.suffix() == "bat" || info.suffix() == "au3" ||
info.suffix() == "po" || info.suffix() == "dsk" ||
info.suffix() == "nib") {
cacheIdFromData = false;
}
// If file is larger than 50 MBs, use filename checksum for cache id for optimization reasons
Expand Down

0 comments on commit b4c262f

Please sign in to comment.