fix filenames too long for dcv1

This commit is contained in:
Martin Michelsen
2018-11-12 11:08:44 -08:00
parent 02d43ce22b
commit c7a40d3d78
23 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -201,7 +201,7 @@ Quest::Quest(const string& bin_filename) : quest_id(-1),
}
static const unordered_map<std::string, GameVersion> name_to_version({
{"dc1.bin", GameVersion::DC},
{"d1.bin", GameVersion::DC},
{"dc.bin", GameVersion::DC},
{"pc.bin", GameVersion::PC},
{"gc.bin", GameVersion::GC},
@@ -231,7 +231,7 @@ Quest::Quest(const string& bin_filename) : quest_id(-1),
this->name = decode_sjis(header->name);
this->short_description = decode_sjis(header->short_description);
this->long_description = decode_sjis(header->long_description);
this->is_dcv1 = (tokens[1] == "dc1.bin");
this->is_dcv1 = (tokens[1] == "d1.bin");
break;
}