summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/timekpr.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-06-26 15:34:42 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-06-26 15:34:42 +0000
commit652fc279ae6e7ae2c113ad0cb48d9e71fce0e05a (patch)
tree3c606fe9d0598299461bb4e1b92b32c2d10bfc3e /src/emu/machine/timekpr.c
parentba2fb8554b740f9f976501647d0b6c1307c17971 (diff)
From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: another Machine -> machine cleanup This cleans up most of the Machine stuff in src/emu/machine. There is a bit left to clean up, but it's mostly stuck at some interfaces now.
Diffstat (limited to 'src/emu/machine/timekpr.c')
-rw-r--r--src/emu/machine/timekpr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/emu/machine/timekpr.c b/src/emu/machine/timekpr.c
index 1fa3a3685a8..6758dedf53f 100644
--- a/src/emu/machine/timekpr.c
+++ b/src/emu/machine/timekpr.c
@@ -6,7 +6,6 @@
*/
#include "driver.h"
-#include "deprecat.h"
#include "machine/timekpr.h"
struct timekeeper_chip
@@ -212,7 +211,7 @@ static TIMER_CALLBACK( timekeeper_tick )
}
}
-void timekeeper_init( int chip, int type, UINT8 *data )
+void timekeeper_init( running_machine *machine, int chip, int type, UINT8 *data )
{
emu_timer *timer;
attotime duration;
@@ -291,7 +290,7 @@ void timekeeper_init( int chip, int type, UINT8 *data )
}
c->data = data;
- mame_get_base_datetime(Machine, &systime);
+ mame_get_base_datetime(machine, &systime);
c->control = 0;
c->seconds = make_bcd( systime.local_time.second );