Previous 199869 Revisions Next

r31777 Tuesday 26th August, 2014 at 02:11:29 UTC by R. Belmont
SDL: don't require -str to enable watchdog (nw)
[src/osd/sdl]sdlmain.c

trunk/src/osd/sdl/sdlmain.c
r31776r31777
680680   /* now setup watchdog */
681681
682682   int watchdog_timeout = options.watchdog();
683   int str = options.seconds_to_run();
684683
685   /* only enable watchdog if seconds_to_run is enabled *and* relatively short (time taken from ui.c) */
686   if ((watchdog_timeout != 0) && (str > 0) && (str < 60*5 ))
684   if (watchdog_timeout != 0)
687685   {
688686      m_watchdog = auto_alloc(machine, watchdog);
689687      m_watchdog->setTimeout(watchdog_timeout);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team