mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
MSDN says that wParam should be masked ... maybe will fix a user reported problem of the screensaver starting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3651 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -473,7 +473,7 @@ void CFrame::OnClose(wxCloseEvent& event)
|
||||
switch (nMsg)
|
||||
{
|
||||
case WM_SYSCOMMAND:
|
||||
switch (wParam)
|
||||
switch (wParam & 0xFFF0)
|
||||
{
|
||||
case SC_SCREENSAVE:
|
||||
case SC_MONITORPOWER:
|
||||
@ -738,4 +738,3 @@ void CFrame::Update()
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user