summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/pgmprot_igs027a_type3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/pgmprot_igs027a_type3.cpp')
-rw-r--r--src/mame/machine/pgmprot_igs027a_type3.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mame/machine/pgmprot_igs027a_type3.cpp b/src/mame/machine/pgmprot_igs027a_type3.cpp
index c153fc6f828..2c633b66394 100644
--- a/src/mame/machine/pgmprot_igs027a_type3.cpp
+++ b/src/mame/machine/pgmprot_igs027a_type3.cpp
@@ -166,6 +166,7 @@ void pgm_arm_type3_state::machine_reset()
if (!strcmp(machine().system().name, "svgpcb")) base = 0x3a8e;
if (!strcmp(machine().system().name, "svg")) base = 0x3c3e;
if (!strcmp(machine().system().name, "svgtw")) base = 0x3a8e;
+ if (!strcmp(machine().system().name, "svghk")) base = 0x3a8e;
if (base != -1)
{
@@ -627,6 +628,21 @@ INPUT_PORTS_START( svg )
PORT_CONFSETTING( 0x00ff, "Don't Change" ) // don't hack the region
INPUT_PORTS_END
+INPUT_PORTS_START( svghk )
+ PORT_INCLUDE ( pgm )
+
+ PORT_START("RegionHack") /* Region - actually supplied by protection device */
+ PORT_CONFNAME( 0x00ff, 0x0004, DEF_STR( Region ) )
+ PORT_CONFSETTING( 0x0000, DEF_STR( China ) )
+ PORT_CONFSETTING( 0x0001, DEF_STR( Taiwan ) )
+ PORT_CONFSETTING( 0x0002, "Japan (AMI license)" )
+ PORT_CONFSETTING( 0x0003, DEF_STR( Korea ) )
+ PORT_CONFSETTING( 0x0004, DEF_STR( Hong_Kong ) )
+ PORT_CONFSETTING( 0x0005, "Spanish Territories" )
+ PORT_CONFSETTING( 0x0006, DEF_STR( World ) )
+ PORT_CONFSETTING( 0x00ff, "Don't Change" ) // don't hack the region
+INPUT_PORTS_END
+
INPUT_PORTS_START( svgtw )
PORT_INCLUDE ( pgm )