summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/msm6242.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-04-24 06:15:00 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-04-24 06:15:00 +0000
commit6a955fc076b56752bd5922df082bc05a98ca1bac (patch)
tree7f02ad03fbba115a5076589c110c745f264a40f5 /src/emu/machine/msm6242.c
parent737ff539301408ff336f32fbb653ede921d595ac (diff)
From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Remove more Machine globals, #include "deprecat.h" Hi mamedev, The attached patch goes through and converts a number of Machine globals to machine locals, and then removes #include "deprecat.h" if appropriate. The script that generated it is included, since the patch itself is rather large and would have been time consuming to produce otherwise. The script doesn't convert cases of Machine that aren't in common macros. I'll try to tackle those later if someone doesn't beat me to it. ~aa
Diffstat (limited to 'src/emu/machine/msm6242.c')
-rw-r--r--src/emu/machine/msm6242.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/emu/machine/msm6242.c b/src/emu/machine/msm6242.c
index 141a0da0c4f..5ae525d50eb 100644
--- a/src/emu/machine/msm6242.c
+++ b/src/emu/machine/msm6242.c
@@ -5,7 +5,6 @@
***************************************************************************/
#include "driver.h"
-#include "deprecat.h"
#include "machine/msm6242.h"
static UINT8 msm6264_reg[3] = { 0, 0, 0 };
@@ -41,7 +40,7 @@ READ8_HANDLER( msm6242_r )
}
else /* otherwise, use the current time */
{
- mame_get_current_datetime(Machine, &curtime);
+ mame_get_current_datetime(machine, &curtime);
}
switch(offset)
@@ -96,7 +95,7 @@ WRITE8_HANDLER( msm6242_w )
if ( data & 1 ) /* was Hold set? */
{
- mame_get_current_datetime(Machine, &msm6264_hold_time);
+ mame_get_current_datetime(machine, &msm6264_hold_time);
}
return;