trunk/src/osd/windows/winmain.c
r31317 | r31318 | |
639 | 639 | |
640 | 640 | // crank up the multimedia timer resolution to its max |
641 | 641 | // this gives the system much finer timeslices |
642 | | if (!options.sleep()) |
643 | | { |
644 | | timeresult = timeGetDevCaps(&timecaps, sizeof(timecaps)); |
645 | | if (timeresult == TIMERR_NOERROR) |
646 | | timeBeginPeriod(timecaps.wPeriodMin); |
647 | | } |
| 642 | timeresult = timeGetDevCaps(&timecaps, sizeof(timecaps)); |
| 643 | if (timeresult == TIMERR_NOERROR) |
| 644 | timeBeginPeriod(timecaps.wPeriodMin); |
648 | 645 | |
649 | 646 | // if a watchdog thread is requested, create one |
650 | 647 | int watchdog = options.watchdog(); |