Previous 199869 Revisions Next

r33193 Tuesday 4th November, 2014 at 10:43:40 UTC by David Haywood
correct patches for drgw2hk [iq_132]
[src/mame/machine]pgmprot_igs025_igs012.c

trunk/src/mame/machine/pgmprot_igs025_igs012.c
r241704r241705
205205
206206DRIVER_INIT_MEMBER(pgm_012_025_state,drgw2hk)
207207{
208   // todo, fix for this set
209208   drgw2_common_init();
210209
210   // todo, correct protection sequence for this region?
211211   int region = 0x01;
212212   m_igs025->m_kb_region = region;
213213   m_igs025->m_kb_game_id = region | (region << 8) | (region << 16) | (region << 24);
214214
215#if 0
216215   UINT16 *mem16 = (UINT16 *)memregion("maincpu")->base();
217   mem16[0x1302c0 / 2] = 0x4e93;
218   mem16[0x130366 / 2] = 0x4e93;
219   mem16[0x1303f6 / 2] = 0x4e93;
220#endif
216   mem16[0x12f520 / 2] = 0x4e93;
217   mem16[0x12f5c6 / 2] = 0x4e93;
218   mem16[0x12f656 / 2] = 0x4e93;
221219}


Previous 199869 Revisions Next


© 1997-2024 The MAME Team