Skip to content

Commit

Permalink
GOB: added support for JTK files to extract
Browse files Browse the repository at this point in the history
  • Loading branch information
BJNFNE committed Aug 29, 2023
1 parent b500ec9 commit 58323f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions engines/gob/extract_gob_stk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@ ExtractGobStk::~ExtractGobStk() {
}

InspectionMatch ExtractGobStk::inspectInput(const Common::Filename &filename) {
// Accept either any file with stk, itk or ltk extension
// Accept either any file with stk, itk, ltk or jtk extension
std::string ext = filename.getExtension();
if (
scumm_stricmp(ext.c_str(), "stk") == 0 ||
scumm_stricmp(ext.c_str(), "itk") == 0 ||
scumm_stricmp(ext.c_str(), "ltk") == 0
scumm_stricmp(ext.c_str(), "ltk") == 0 ||
scumm_stricmp(ext.c_str(), "jtk") == 0
)
return IMATCH_PERFECT;
return IMATCH_AWFUL;
Expand Down

0 comments on commit 58323f9

Please sign in to comment.