Skip to content

Commit

Permalink
nitpicks
Browse files Browse the repository at this point in the history
  • Loading branch information
malucard committed Mar 3, 2025
1 parent 847c6c4 commit 9b726af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ struct Cleaner {
std::function<void()> f;
};

void handleSignal(auto signal) {
void handleSignal(int signal) {
PCSX::g_system->terminateSignalSafe();
}

Expand Down Expand Up @@ -200,7 +200,7 @@ int pcsxMain(int argc, char **argv) {
auto sigint = std::signal(SIGINT, handleSignal);
auto sigterm = std::signal(SIGTERM, handleSignal);
#ifndef _WIN32
signal(SIGPIPE, SIG_IGN);
std::signal(SIGPIPE, SIG_IGN);
#endif
const auto &logfileArgOpt = args.get<std::string>("logfile");
const PCSX::u8string logfileArg = MAKEU8(logfileArgOpt.has_value() ? logfileArgOpt->c_str() : "");
Expand Down

0 comments on commit 9b726af

Please sign in to comment.