mickelson / attract

A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
http://attractmode.org
GNU General Public License v3.0
393 stars 113 forks source link

screen_saver_timeout resetting #740

Open grgohr opened 1 year ago

grgohr commented 1 year ago

after some time the screensaver does not trigger anymore it seems that the screen_saver_timeout variable is reset and not taking into account the value set in AttractMode setup (on my side 25 seconds). in the code I see m_ssaver_time( 600 ) which looks close to what I observe.

I could not find a way to overwrite the global variable screen_saver_timeout in screensaver.nut (or any other actual, the "::variable <- value;" code for Squirrel leaves me with unknown variable)