mirror of https://github.com/PCSX2/pcsx2.git
8a5c8ab91c
there was already code for this, but it was broken due to: - the message is WM_SYSCOMMAND and wParam is SC_SCREENSAVE etc. - GSPanel doesn't get WM_SYSCOMMAND - GSFrame does. - also disabled screen saver while paused if not set to hide the GS window. - it's an ugly hack where windows keeps trying to activate the screen saver every few seconds but such code prevents it (Lilypad has the same hack). the new code uses windows API which was designed for this. the screen saver is now disabled while the window is focused and the emulation is running. it's on by defauly and without GUI - the same as with normal games. this patch addresses Windows only, but adds a placeholder for future implementations for other platforms. |
||
---|---|---|
.. | ||
Utilities | ||
api | ||
wx | ||
x86emitter | ||
PS2Edefs.h | ||
PS2Eext.h | ||
PS2Etypes.h | ||
Pcsx2Api.h | ||
Pcsx2Defs.h | ||
Pcsx2Types.h | ||
PluginCallbacks.h | ||
afxresmw.h | ||
comptr.h | ||
intrin_x86.h |