From f26b74efd8e63dafe73bc77878fcc3b059c97c7d Mon Sep 17 00:00:00 2001 From: Fire Cube Date: Wed, 4 Jun 2025 22:27:14 +0200 Subject: [PATCH] cleanup --- src/emulator.cpp | 1 - src/main.cpp | 25 +++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/emulator.cpp b/src/emulator.cpp index c35fd4e46..75812d87d 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include "common/config.h" #include "common/debug.h" diff --git a/src/main.cpp b/src/main.cpp index 7fb0c23b6..90af0c0c2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -36,18 +36,19 @@ int main(int argc, char* argv[]) { std::unordered_map> arg_map = { {"-h", [&](int&) { - std::cout << "Usage: shadps4 [options] \n" - "Options:\n" - " -g, --game Specify game path to launch\n" - " -- ... Parameters passed to the game ELF. " - "Needs to be at the end of the line, and everything after \"--\" is a " - "game argument.\n" - " -p, --patch Apply specified patch file\n" - " -i, --ignore-game-patch Disable automatic loading of game patch\n" - " -f, --fullscreen Specify window initial fullscreen " - "state. Does not overwrite the config file.\n" - " --add-game-folder Adds a new game folder to the config.\n" - " -h, --help Display this help message\n"; + std::cout + << "Usage: shadps4 [options] \n" + "Options:\n" + " -g, --game Specify game path to launch\n" + " -- ... Parameters passed to the game ELF. " + "Needs to be at the end of the line, and everything after \"--\" is a " + "game argument.\n" + " -p, --patch Apply specified patch file\n" + " -i, --ignore-game-patch Disable automatic loading of game patch\n" + " -f, --fullscreen Specify window initial fullscreen " + "state. Does not overwrite the config file.\n" + " --add-game-folder Adds a new game folder to the config.\n" + " -h, --help Display this help message\n"; exit(0); }}, {"--help", [&](int& i) { arg_map["-h"](i); }},