summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author angelosa <salese_corp_ltd@email.it>2017-10-17 08:07:31 +0200
committer angelosa <salese_corp_ltd@email.it>2017-10-17 08:07:31 +0200
commit939659f4f110d0109d85471eec0612c7d5d25fde (patch)
tree9a2e1b922d89087aaababc3de8d2b5976c52a6a9
parent0c1737ffc138e379062fdcacdf9dd9e2c5533646 (diff)
dec0.cpp: hooked up priority video port to Midnight Resistance bootlegs [Angelo Salese]
-rw-r--r--src/mame/drivers/dec0.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/drivers/dec0.cpp b/src/mame/drivers/dec0.cpp
index 9518cd340a7..3f87b4b2ba4 100644
--- a/src/mame/drivers/dec0.cpp
+++ b/src/mame/drivers/dec0.cpp
@@ -646,8 +646,11 @@ static ADDRESS_MAP_START( midres_map, AS_PROGRAM, 16, dec0_state )
ADDRESS_MAP_END
static ADDRESS_MAP_START( midresb_map, AS_PROGRAM, 16, dec0_state )
+ AM_RANGE(0x160010, 0x160011) AM_WRITE(dec0_priority_w)
AM_RANGE(0x180000, 0x18000f) AM_READ(dec0_controls_r)
+ AM_RANGE(0x180012, 0x180013) AM_NOP
AM_RANGE(0x180014, 0x180015) AM_WRITE(midres_sound_w)
+ AM_RANGE(0x180018, 0x180019) AM_NOP
AM_RANGE(0x1a0000, 0x1a0001) AM_READ_PORT("AN0")
AM_RANGE(0x1a0008, 0x1a0009) AM_READ_PORT("AN1")
AM_IMPORT_FROM( midres_map )