Skip to content

Commit

Permalink
SCI: Also show qfg2-agdi characters in import
Browse files Browse the repository at this point in the history
This allows importing characters created by the AGDI remake of QFG2 with no
need to rename.
Fixes TRAC #14754
  • Loading branch information
tag2015 authored and bluegr committed Dec 16, 2023
1 parent 59748b0 commit 237e623
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engines/sci/engine/file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,10 @@ reg_t DirSeeker::firstFile(const Common::String &mask, reg_t buffer, SegManager
_files.clear();
addAsVirtualFiles("-QfG1-", "qfg1-*");
addAsVirtualFiles("-QfG1VGA-", "qfg1vga-*");
if (QfGImport > 2)
if (QfGImport > 2) {
addAsVirtualFiles("-QfG2-", "qfg2-*");
addAsVirtualFiles("-QfG2 AGDI-", "qfg2agdi-*");
}
if (QfGImport > 3)
addAsVirtualFiles("-QfG3-", "qfg3-*");

Expand Down

0 comments on commit 237e623

Please sign in to comment.