diff options
author | 2016-04-15 16:01:35 +0200 | |
---|---|---|
committer | 2016-04-15 16:01:35 +0200 | |
commit | 37c94e3373e18bd71095bf736ba5105bf3b04e2e (patch) | |
tree | f61d632fef40057353cbb9f5ca427dda2b092154 /src/osd/sdl/sdlmain.cpp | |
parent | bd04e5b17dcf679cd8618a02e97ce957d2c62865 (diff) |
Update windows to use platform independent watchdog implementation (nw)
Diffstat (limited to 'src/osd/sdl/sdlmain.cpp')
-rw-r--r-- | src/osd/sdl/sdlmain.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/osd/sdl/sdlmain.cpp b/src/osd/sdl/sdlmain.cpp index 270bc714320..43b1052df01 100644 --- a/src/osd/sdl/sdlmain.cpp +++ b/src/osd/sdl/sdlmain.cpp @@ -53,8 +53,6 @@ #include <X11/Xutil.h> #endif -#include "watchdog.h" - //============================================================ // OPTIONS //============================================================ @@ -250,7 +248,7 @@ static void output_oslog(const running_machine &machine, const char *buffer) //============================================================ sdl_osd_interface::sdl_osd_interface(sdl_options &options) -: osd_common_t(options), m_options(options), m_watchdog(nullptr) +: osd_common_t(options), m_options(options) { } @@ -505,15 +503,7 @@ void sdl_osd_interface::init(running_machine &machine) if (options().oslog()) machine.add_logerror_callback(output_oslog); - /* now setup watchdog */ - - int watchdog_timeout = options().watchdog(); - if (watchdog_timeout != 0) - { - m_watchdog = auto_alloc(machine, watchdog); - m_watchdog->setTimeout(watchdog_timeout); - } #ifdef SDLMAME_EMSCRIPTEN SDL_EventState(SDL_TEXTINPUT, SDL_FALSE); |