Disable screen saver in the gfx plugin window management too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@720 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
68ae5ac070
commit
fb79bc9224
|
@ -64,6 +64,15 @@ namespace EmuWindow
|
||||||
// Reset the D3D Device here
|
// Reset the D3D Device here
|
||||||
// Also make damn sure that this is not called from inside rendering a frame :P
|
// Also make damn sure that this is not called from inside rendering a frame :P
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case WM_SYSCOMMAND:
|
||||||
|
switch (wParam)
|
||||||
|
{
|
||||||
|
case SC_SCREENSAVE:
|
||||||
|
case SC_MONITORPOWER:
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return DefWindowProc(hWnd, iMsg, wParam, lParam);
|
return DefWindowProc(hWnd, iMsg, wParam, lParam);
|
||||||
|
|
|
@ -130,6 +130,15 @@ namespace EmuWindow
|
||||||
//Shutdown();
|
//Shutdown();
|
||||||
//PostQuitMessage( 0 );
|
//PostQuitMessage( 0 );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case WM_SYSCOMMAND:
|
||||||
|
switch (wParam)
|
||||||
|
{
|
||||||
|
case SC_SCREENSAVE:
|
||||||
|
case SC_MONITORPOWER:
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return DefWindowProc(hWnd, iMsg, wParam, lParam);
|
return DefWindowProc(hWnd, iMsg, wParam, lParam);
|
||||||
|
|
Loading…
Reference in New Issue