summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/ds1315.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
commit0e19f641d3186cdbf51f8ca857e2b07ab95779c2 (patch)
tree234109de1123b13f217494af4b3f8efad346d5cc /src/mess/machine/ds1315.c
parent111157ca09a9ff60fe4a9ba49173c315e94314fa (diff)
Cleanups and version bumpmame0148
Diffstat (limited to 'src/mess/machine/ds1315.c')
-rw-r--r--src/mess/machine/ds1315.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/mess/machine/ds1315.c b/src/mess/machine/ds1315.c
index d26dac5933d..afb6bddd88f 100644
--- a/src/mess/machine/ds1315.c
+++ b/src/mess/machine/ds1315.c
@@ -192,8 +192,8 @@ WRITE8_DEVICE_HANDLER ( ds1315_w_data )
static void ds1315_fill_raw_data(device_t *device)
{
/* This routine will (hopefully) call a standard 'C' library routine to get the current
- date and time and then fill in the raw data struct.
- */
+ date and time and then fill in the raw data struct.
+ */
system_time systime;
ds1315_t *ds1315 = get_token(device);
@@ -202,7 +202,7 @@ static void ds1315_fill_raw_data(device_t *device)
/* get the current date/time from the core */
device->machine().current_datetime(systime);
- raw[0] = 0; /* tenths and hundreths of seconds are always zero */
+ raw[0] = 0; /* tenths and hundreths of seconds are always zero */
raw[1] = dec_2_bcd(systime.local_time.second);
raw[2] = dec_2_bcd(systime.local_time.minute);
raw[3] = dec_2_bcd(systime.local_time.hour);
@@ -230,11 +230,11 @@ static void ds1315_fill_raw_data(device_t *device)
static void ds1315_input_raw_data(device_t *device)
{
/* This routine is called when new date and time has been written to the
- clock chip. Currently we ignore setting the date and time in the clock
- chip.
+ clock chip. Currently we ignore setting the date and time in the clock
+ chip.
- We always return the host's time when asked.
- */
+ We always return the host's time when asked.
+ */
}
@@ -264,5 +264,3 @@ void ds1315_device::device_start()
{
DEVICE_START_NAME( ds1315 )(this);
}
-
-