Added a link to CLI messagebox (#3885)

* Added a link to the CLI tool message box

* Clang fix

* Another Clang fix

* Clang x3
This commit is contained in:
Connor Garey 2025-12-30 19:23:21 +00:00 committed by GitHub
parent 9a3e4ea56b
commit 954cc77110
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -188,7 +188,9 @@ int main(int argc, char* argv[]) {
if (argc == 1) {
if (!SDL_ShowSimpleMessageBox(
SDL_MESSAGEBOX_INFORMATION, "shadPS4",
"This is a CLI application. Please use the QTLauncher for a GUI.", nullptr))
"This is a CLI application. Please use the QTLauncher for a GUI: "
"https://github.com/shadps4-emu/shadps4-qtlauncher/releases",
nullptr))
std::cerr << "Could not display SDL message box! Error: " << SDL_GetError() << "\n";
int dummy = 0; // one does not simply pass 0 directly
arg_map.at("-h")(dummy);