[Tuxnes-devel] Screen Saver Patch & DGA Question
Brought to you by:
tmmm
From: Stea G. <st...@cs...> - 2001-08-31 15:22:49
|
First I must say thanks to all for such a great app! The only real problem I encountered with it is that since it does not disable the screen saver, and since XFree86 does not see input from my gamepad as activity, the screensaver would come on as I was playing games, which was very detrimental to my continued survival in said games. Attached is a patch (most of the code simply ripped from xawtv), based on the current CVS tuxnes code, that fixes this by disabling the active screen saver, and DPMS screen blanking if present, and then re-enables (only if it was enabled initially) them on exit. I tried to keep things to the same coding style as the rest of the code. I have only tested this on my Linux machine, but it should work on any X system - DPMS should be automatically detected by the configure script if present. Also, is anyone working on, or interested in working on a DGA fullscreen mode? I would really like one so I can get fullscreen play without having to manually zoom in and align the virtual window with tuxnes' display. I could write such a thing, but I am unfamiliar with the actual rendering of the NES output, which in the tuxnes code seems to be intertwined with the graphics display itself. It would be much faster if I had the help of someone who is familiar with this aspect of tuxnes. --Steaphan Greene |