fix filenames too long for dcv1
This commit is contained in:
@@ -201,7 +201,7 @@ Quest::Quest(const string& bin_filename) : quest_id(-1),
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const unordered_map<std::string, GameVersion> name_to_version({
|
static const unordered_map<std::string, GameVersion> name_to_version({
|
||||||
{"dc1.bin", GameVersion::DC},
|
{"d1.bin", GameVersion::DC},
|
||||||
{"dc.bin", GameVersion::DC},
|
{"dc.bin", GameVersion::DC},
|
||||||
{"pc.bin", GameVersion::PC},
|
{"pc.bin", GameVersion::PC},
|
||||||
{"gc.bin", GameVersion::GC},
|
{"gc.bin", GameVersion::GC},
|
||||||
@@ -231,7 +231,7 @@ Quest::Quest(const string& bin_filename) : quest_id(-1),
|
|||||||
this->name = decode_sjis(header->name);
|
this->name = decode_sjis(header->name);
|
||||||
this->short_description = decode_sjis(header->short_description);
|
this->short_description = decode_sjis(header->short_description);
|
||||||
this->long_description = decode_sjis(header->long_description);
|
this->long_description = decode_sjis(header->long_description);
|
||||||
this->is_dcv1 = (tokens[1] == "dc1.bin");
|
this->is_dcv1 = (tokens[1] == "d1.bin");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user