8bitbubsy / pt2-clone

ProTracker 2 clone for Windows/macOS/Linux
https://16-bits.org
BSD 3-Clause "New" or "Revised" License
458 stars 33 forks source link

pt2-clone disables screensaver #14

Closed xenium1024 closed 3 years ago

xenium1024 commented 3 years ago

I've noticed that when I have pt2-clone running it disables my screensaver. Since I sometimes leave it running on a CRT to just listen to mod files, I worry about phosphor burn. (Come on, I'm not the only one running this on a CRT, right? Hehehe.) ;-)

I didn't see anything in the source related to this so I did some research and found that this is now the default behavior for the SDL library, so you would have to explicitly tell SDL not to disable the screensaver on startup via a simple call to SDL_EnableScreensaver().

Any chance this could be added to a future release?

My phosphors thank you in advance. :-)

Love pt2-clone btw!

8bitbubsy commented 3 years ago

I fixed this right now, but I'm not sure when I will release a new version.

xenium1024 commented 3 years ago

That has to be the world record for fastest bug fix ever. Thanks! :-)

No worries on the release, I'll give a try at compiling it.

xenium1024 commented 3 years ago

I just successfully compiled it and can confirm my screensaver works again even when it's playing full screen. Awesome.

Thanks Bubsy!

8bitbubsy commented 3 years ago

Thanks Bubsy!

It's 8bitbubsy. ;)