diff options
author | 2010-01-16 04:12:04 +0000 | |
---|---|---|
committer | 2010-01-16 04:12:04 +0000 | |
commit | aebc07a8971238b115210e89eca8e7824eca8dbc (patch) | |
tree | a7157331b3813365da7703902380ac6309f5e934 /src/osd/sdl/sdlos_unix.c | |
parent | f6c832ea90a9c69c95b4006ff328867bb41ebe5c (diff) |
Cleanups and version bump.
Diffstat (limited to 'src/osd/sdl/sdlos_unix.c')
-rw-r--r-- | src/osd/sdl/sdlos_unix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/sdl/sdlos_unix.c b/src/osd/sdl/sdlos_unix.c index 610d63b3237..e38111bc28c 100644 --- a/src/osd/sdl/sdlos_unix.c +++ b/src/osd/sdl/sdlos_unix.c @@ -30,7 +30,7 @@ osd_ticks_t osd_ticks(void) { struct timeval tp; static osd_ticks_t start_sec = 0; - + gettimeofday(&tp, NULL); if (start_sec==0) start_sec = tp.tv_sec; @@ -49,7 +49,7 @@ osd_ticks_t osd_ticks_per_second(void) void osd_sleep(osd_ticks_t duration) { UINT32 msec; - + // convert to milliseconds, rounding down msec = (UINT32)(duration * 1000 / osd_ticks_per_second()); @@ -139,7 +139,7 @@ void osd_break_into_debugger(const char *message) #ifdef MAME_DEBUG printf("MAME exception: %s\n", message); printf("Attempting to fall into debugger\n"); - kill(getpid(), SIGTRAP); + kill(getpid(), SIGTRAP); #else printf("Ignoring MAME exception: %s\n", message); #endif |