lilypad: Remove disableScreenSaver fully.

This commit is contained in:
lightningterror 2020-09-03 02:41:46 +02:00
parent 00e7429c5f
commit 78a899b36b
3 changed files with 0 additions and 6 deletions

View File

@ -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
}

View File

@ -60,7 +60,6 @@ public:
u8 multitap[2];
u8 escapeFullscreenHack;
u8 disableScreenSaver;
u8 debug;
u8 saveStateTitle;

View File

@ -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;
}