Skip to content

Commit

Permalink
fix bad or in if
Browse files Browse the repository at this point in the history
this caused the sys mod to be launched even if it was already launched
  • Loading branch information
ITotalJustice committed Aug 23, 2023
1 parent 650a857 commit 2e7f295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overlay/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class SysTuneOverlay final : public tsl::Overlay {

// not found can happen if the service isn't started
// connection refused can happen is the service was terminated by pmshell
if (R_VALUE(rc) == KERNELRESULT(NotFound) || KERNELRESULT(ConnectionRefused)) {
if (R_VALUE(rc) == KERNELRESULT(NotFound) || R_VALUE(rc) == KERNELRESULT(ConnectionRefused)) {
u64 pid = 0;
const NcmProgramLocation programLocation{
.program_id = 0x4200000000000000,
Expand Down

0 comments on commit 2e7f295

Please sign in to comment.