diff options
Diffstat (limited to 'libpcsxcore')
| -rw-r--r-- | libpcsxcore/cdriso.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index c7485b6a..0f1fbd15 100644 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -139,13 +139,11 @@ static void playthread(void *param) static void *playthread(void *param) #endif { - time_t t; + long t = GetTickCount(); long d; - t = GetTickCount(); - while (playing) { - d = (long)t - GetTickCount(); + d = t - (long)GetTickCount(); if (d <= 0) { d = 1; } |
