From a4cb524fed36a352085c9e5c436a1a7b86a9c044 Mon Sep 17 00:00:00 2001 From: Neo <321592+Neo-Desktop@users.noreply.github.com> Date: Fri, 28 Jul 2023 16:16:31 -0700 Subject: [PATCH] re-add removed comment --- src/cli.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli.cpp b/src/cli.cpp index d407e9a..ac8fabf 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -217,6 +217,7 @@ int CLI::validateCommandLine(Options* options, char *argv[], json *keys) { sscanf(options->binkid.c_str(), "%x", &intBinkID); if (intBinkID >= 0x40 && intBinkID < 0xFE ) { // FE and FF are BINK 1998 + // set bink2002 validate mode if in bink1998 validate mode, else set bink2002 generate mode options->applicationMode = (options->applicationMode == MODE_BINK1998_VALIDATE) ? MODE_BINK2002_VALIDATE : MODE_BINK2002_GENERATE; }