pcsx2/common/include
Avi Halachmi (:avih) 8a5c8ab91c fix: disable screen saver (pcsx2_ui.ini - DisableScreenSaver)
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.
2015-04-05 19:50:31 +03:00
..
Utilities fix: disable screen saver (pcsx2_ui.ini - DisableScreenSaver) 2015-04-05 19:50:31 +03:00
api Removed all trailing whitespace in *.c *.cpp *.h because it irritates me. 2010-04-25 00:31:27 +00:00
wx User Interface: 2009-10-16 03:58:29 +00:00
x86emitter Remove 3dnow (unused, obsolete). 2015-02-27 21:12:34 +01:00
PS2Edefs.h Removes the usage of __LINUX__ define 2014-08-03 13:20:36 -05:00
PS2Eext.h gtk2: use a pointer as argument instead of g variable 2014-12-10 22:09:21 +01:00
PS2Etypes.h Copyright 2010 : PCSX2 and plugins! (notable exception: didn't update copyright info in any Gabest plugins) 2010-05-03 14:08:02 +00:00
Pcsx2Api.h Spu2null, padnull, gsnull, CDVDnull, onepad, spu2x: 2010-08-06 11:43:21 +00:00
Pcsx2Defs.h Use __builtin_unreachable where possible for non-msvc 2014-08-15 14:43:52 +10:00
Pcsx2Types.h windows build take3: revert previous commit 2015-01-18 19:25:46 +01:00
PluginCallbacks.h Remove some horrible old code. 2014-08-13 13:55:32 +10:00
afxresmw.h Fix for the v110_xp toolset in vs2012. Removed winuser.h from afxresmw.h, nothing seems to be using it, but it breaks something in string.h. I did not change the projects to use v110_xp by default, to get an xp compatible binary, you have to call it from command line like this: msbuild pcsx2_suite_2012.sln /t:Build "/p:Configuration=Release AVX2" /p:PlatformToolset=v110_xp /m. Change Configuration=... as needed. 2013-07-02 16:01:06 +00:00
comptr.h Missing file 2013-07-01 21:32:44 +00:00
intrin_x86.h common: 64 bits intrinsic fixes 2015-01-05 23:46:18 +01:00