mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Headless: Reject --debugger together with --debugger-run
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
b8789af997
commit
bd27ceb669
1 file changed
+5
@@ -508,6 +508,11 @@ CommandLineParseResult CommandLineOptions::Parse(int argc, const char *argv[], C
|
||||
i++;
|
||||
}
|
||||
|
||||
if (debuggerPort.has_value() && debuggerRunPort.has_value()) {
|
||||
PRINT_STDERR("Error: --debugger and --debugger-run can't be used together.\n");
|
||||
return CommandLineParseResult::Error;
|
||||
}
|
||||
|
||||
// Final adjustments to adjust for old inconsistent code
|
||||
if (log.has_value()) {
|
||||
enableLogging = true;
|
||||
|
||||
Reference in new issue
Block a user