summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/deco32.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-04-03 07:36:23 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-04-03 07:36:23 +0000
commitefbe64428a6f906768333dc49f44cf5e37ac0c34 (patch)
tree185e43b404e8623a5a946840979a014c03885917 /src/mame/drivers/deco32.c
parent0d89ceb44bd48d774c9c12d13317dd56acc417f4 (diff)
Switched from ACCESSING_BYTE_*, ACCESSING_WORD_*, ACCESSING_DWORD_*
macros to ACCESSING_BITS_*_* macros.
Diffstat (limited to 'src/mame/drivers/deco32.c')
-rw-r--r--src/mame/drivers/deco32.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/deco32.c b/src/mame/drivers/deco32.c
index 2a140d67be4..42c669aa13d 100644
--- a/src/mame/drivers/deco32.c
+++ b/src/mame/drivers/deco32.c
@@ -359,12 +359,12 @@ static READ32_HANDLER( fghthist_control_r )
static WRITE32_HANDLER( fghthist_eeprom_w )
{
- if (ACCESSING_BYTE_0) {
+ if (ACCESSING_BITS_0_7) {
EEPROM_set_clock_line((data & 0x20) ? ASSERT_LINE : CLEAR_LINE);
EEPROM_write_bit(data & 0x10);
EEPROM_set_cs_line((data & 0x40) ? CLEAR_LINE : ASSERT_LINE);
}
- else if (!ACCESSING_BYTE_1)
+ else if (!ACCESSING_BITS_8_15)
{
// Volume port
}
@@ -434,7 +434,7 @@ static READ32_HANDLER( dragngun_eeprom_r )
static WRITE32_HANDLER( dragngun_eeprom_w )
{
- if (ACCESSING_BYTE_0) {
+ if (ACCESSING_BITS_0_7) {
EEPROM_set_clock_line((data & 0x2) ? ASSERT_LINE : CLEAR_LINE);
EEPROM_write_bit(data & 0x1);
EEPROM_set_cs_line((data & 0x4) ? CLEAR_LINE : ASSERT_LINE);
@@ -635,7 +635,7 @@ static READ32_HANDLER( nslasher_prot_r )
static WRITE32_HANDLER( nslasher_eeprom_w )
{
- if (ACCESSING_BYTE_0)
+ if (ACCESSING_BITS_0_7)
{
EEPROM_set_clock_line((data & 0x20) ? ASSERT_LINE : CLEAR_LINE);
EEPROM_write_bit(data & 0x10);