diff options
author | 2011-01-01 00:59:47 +0000 | |
---|---|---|
committer | 2011-01-01 00:59:47 +0000 | |
commit | 99a26bc3316bc342c9b46137e20707a1f28d2540 (patch) | |
tree | 36b68d7cf24d490cb3d557cdb4deed72b4cb4513 /src/emu/machine/s3c24xx.c | |
parent | 5db7b9e8a332fd90537f9b45ec7539e1b4031e98 (diff) |
Cleanups and version bump.
Diffstat (limited to 'src/emu/machine/s3c24xx.c')
-rw-r--r-- | src/emu/machine/s3c24xx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/machine/s3c24xx.c b/src/emu/machine/s3c24xx.c index 757a35c02e5..c370c3a4397 100644 --- a/src/emu/machine/s3c24xx.c +++ b/src/emu/machine/s3c24xx.c @@ -2005,12 +2005,12 @@ static UINT16 s3c24xx_wdt_calc_current_count( device_t *device) double timeleft, x1, x2; UINT32 cnt; timeleft = attotime_to_double( timer_timeleft( s3c24xx->wdt.timer)); -// printf( "timeleft %f freq %d cnt %d\n", timeleft, s3c24xx->wdt.freq, s3c24xx->wdt.cnt); +// printf( "timeleft %f freq %d cnt %d\n", timeleft, s3c24xx->wdt.freq, s3c24xx->wdt.cnt); x1 = 1 / ((double)s3c24xx->wdt.freq / s3c24xx->wdt.cnt); x2 = x1 / timeleft; -// printf( "x1 %f\n", x1); +// printf( "x1 %f\n", x1); cnt = s3c24xx->wdt.cnt / x2; -// printf( "cnt %d\n", cnt); +// printf( "cnt %d\n", cnt); return cnt; } |