mirror of https://github.com/PCSX2/pcsx2.git
onepad: fix the reset screen saver commit...
Thanks @olegv11 for the review
This commit is contained in:
parent
2b02a7433f
commit
e5f9923f76
|
@ -164,9 +164,9 @@ EXPORT_C_(void) PADupdate(int pad)
|
|||
// be fired after a couple of minute.
|
||||
// Emulate an user activity
|
||||
static int count = 0;
|
||||
count++;
|
||||
if ((count & 0xFFF) == 0) {
|
||||
// 1 call every 4096 Vsync is enough
|
||||
count++;
|
||||
XResetScreenSaver(GSdsp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue