diff options
| author | ShahadatTest <Shahadattgbd@gmail.com> | 2026-11-03 08:10:30 +0600 |
|---|---|---|
| committer | nagisa-kamishiro <83013268+nagisa-kamishiro@users.noreply.github.com> | 2026-11-03 14:26:40 +0900 |
| commit | 75fdcbdf2b0f30d2605ddf77eaa53550ac4c29f9 (patch) | |
| tree | 495ff08dd81a96aab94311347c2be972476d5f87 /src/common/lz4_compression.cpp | |
| parent | 68a945d0a84fca00545df0fe7b8fe714436242a5 (diff) | |
cli: exit successfully for --help and --version
ApplyLaunchParams already prints the help or version text, but
SDL_AppInit then fell through to the "No ROM specified" check and
returned SDL_APP_FAILURE, so `eglantine-cli --help` and `--version`
logged a critical error and exited with a failure code. Return
SDL_APP_SUCCESS for those two options before the ROM check.
Tested: Windows and Linux CI builds; on Windows, --help and --version
exit with 0 and running without a ROM still exits with a failure.
AI disclosure: implemented with Claude and reviewed with Codex (AI
coding assistants).
(cherry picked from commit 6debe97d22)
Diffstat (limited to 'src/common/lz4_compression.cpp')
0 files changed, 0 insertions, 0 deletions
