- Ligature AE -> Ae update.

This commit is contained in:
Agetian
2017-06-22 16:11:44 +00:00
parent 1423d27dc6
commit e96d28e811
51 changed files with 88 additions and 80 deletions

View File

@@ -101,6 +101,16 @@ public final class ImageKeys {
File file = findFile(dir, filename);
if (file != null) { return file; }
// AE -> Ae and Ae -> AE for older cards with different file names
// on case-sensitive file systems
if (filename.contains("Ae")) {
file = findFile(dir, filename.replace("Ae", "AE"));
if (file != null) { return file; }
} else if (filename.contains("AE")) {
file = findFile(dir, filename.replace("AE", "Ae"));
if (file != null) { return file; }
}
// some S00 cards are really part of 6ED
String s2kAlias = getSetFolder("S00");
if (filename.startsWith(s2kAlias)) {