diff options
author | 2008-04-24 06:43:16 +0000 | |
---|---|---|
committer | 2008-04-24 06:43:16 +0000 | |
commit | 08c75151c7e48b0c276dc851525657f9baddd167 (patch) | |
tree | 5f154880140c14cc878331fccd9cfa386e40b157 /src/osd | |
parent | 6a955fc076b56752bd5922df082bc05a98ca1bac (diff) |
Cleanups for 0.124u4.
Diffstat (limited to 'src/osd')
-rw-r--r-- | src/osd/windows/winmain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/windows/winmain.c b/src/osd/windows/winmain.c index 1f0558dff60..029f868a2f3 100644 --- a/src/osd/windows/winmain.c +++ b/src/osd/windows/winmain.c @@ -274,7 +274,7 @@ static void output_oslog(running_machine *machine, const char *buffer) void osd_init(running_machine *machine) { int watchdog = options_get_int(mame_options(), WINOPTION_WATCHDOG); - + // thread priority if (!options_get_bool(mame_options(), OPTION_DEBUG)) SetThreadPriority(GetCurrentThread(), options_get_int(mame_options(), WINOPTION_PRIORITY)); @@ -398,7 +398,7 @@ static DWORD WINAPI watchdog_thread_entry(LPVOID lpParameter) { DWORD timeout = (int)(FPTR)lpParameter * 1000; DWORD wait_result; - + wait_result = WaitForSingleObject(watchdog_exit_event, timeout); if (wait_result == WAIT_TIMEOUT) TerminateProcess(GetCurrentProcess(), -1); |