Skip to content

Commit

Permalink
lilypad: Remove disableScreenSaver fully.
Browse files Browse the repository at this point in the history
  • Loading branch information
lightningterror committed Sep 20, 2020
1 parent 00e7429 commit 78a899b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion plugins/LilyPad/Config.cpp
Expand Up @@ -45,7 +45,6 @@ const wchar_t *padTypes[] = {
// Hacks or configurations which PCSX2 needs with a specific value
void PCSX2_overrideConfig(GeneralConfig &config_in_out)
{
config_in_out.disableScreenSaver = 0; // Not required - handled internally by PCSX2
config_in_out.escapeFullscreenHack = 0; // Not required - handled internally by PCSX2
config_in_out.saveStateTitle = 0; // Not required - handled internally by PCSX2
}
Expand Down
1 change: 0 additions & 1 deletion plugins/LilyPad/Config.h
Expand Up @@ -60,7 +60,6 @@ struct GeneralConfig
u8 multitap[2];

u8 escapeFullscreenHack;
u8 disableScreenSaver;
u8 debug;

u8 saveStateTitle;
Expand Down
4 changes: 0 additions & 4 deletions plugins/LilyPad/LilyPad.cpp
Expand Up @@ -933,10 +933,6 @@ ExtraWndProcResult TitleHackWndProc(HWND hWndTop, UINT uMsg, WPARAM wParam, LPAR
}
}
break;
case WM_SYSCOMMAND:
if ((wParam == SC_SCREENSAVE || wParam == SC_MONITORPOWER) && config.disableScreenSaver)
return NO_WND_PROC;
break;
default:
break;
}
Expand Down

0 comments on commit 78a899b

Please sign in to comment.