mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
DEVTOOLS: Fix incorrect argc checks in create_titanic
This commit is contained in:
parent
c92e1ec0f4
commit
f3c7aa9774
@ -1737,7 +1737,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
resEng.loadFromEXE(argv[1]);
|
||||
|
||||
if (argc >= 3) {
|
||||
if (argc == 4) {
|
||||
resGer.loadFromEXE(argv[2]);
|
||||
}
|
||||
|
||||
@ -1764,7 +1764,7 @@ int main(int argc, char *argv[]) {
|
||||
writeHeader();
|
||||
writeData();
|
||||
|
||||
if (argc >= 3) {
|
||||
if (argc == 4) {
|
||||
inputFile.open(argv[2]);
|
||||
_version = GERMAN;
|
||||
writeGermanData();
|
||||
|
Loading…
Reference in New Issue
Block a user