mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-24 10:32:32 +00:00
use the new SDL 1.2.12 env variable to allow the OS to launch the screensaver
when sheepshaver is running - must be linking to sdl 1.2.12 or later for it to take effect
This commit is contained in:
parent
5b161928ed
commit
dc524bb30a
@ -371,6 +371,11 @@ int main(int argc, char **argv)
|
||||
time_t now, expire;
|
||||
bool memory_mapped_from_zero;
|
||||
|
||||
#ifdef USE_SDL_VIDEO
|
||||
// don't let SDL block the screensaver
|
||||
setenv("SDL_VIDEO_ALLOW_SCREENSAVER", "1", 1);
|
||||
#endif
|
||||
|
||||
// Initialize variables
|
||||
RAMBase = 0;
|
||||
tzset();
|
||||
|
Loading…
Reference in New Issue
Block a user