Previous 15994 Revisions Next

r4588 Wednesday 29th April, 2009 at 12:13:03 UTC by Robbbert
[CPSCHNGR] Fixed typo in game name.
[src/mess/drivers]cpschngr.c

src/mess/drivers/cpschngr.c
r4587r4588
66   This in turn includes cps1.h.
77   Therefore we must call our include by the same name, in order to
88   override the mame include, and thereby remove any compilation errors.
9   It also means we can get rid of the varios bodges of the past, and
9   It also means we can get rid of the various bodges of the past, and
1010   no more ifdefs are needed in the mame code.
1111
1212***************************************************************************/
r4587r4588
7777
7878static INTERRUPT_GEN( cps1_interrupt )
7979{
80   /* Strider also has a IRQ4 handler. It is input port related, but the game */
81   /* works without it. It is the *only* CPS1 game to have that. */
8280   cpu_set_input_line(device, 2, HOLD_LINE);
8381}
8482
r4587r4588
10199{
102100   UINT8 *rom = memory_region(space->machine, "user1");
103101
104   if (rom) return rom[offset] | 0xff00;
102   if (rom)
103      return rom[offset] | 0xff00;
105104   else
106   {
107      popmessage("%06x: read sound ROM byte %04x",cpu_get_pc(space->cpu),offset);
108105      return 0;
109   }
110106}
111107
112108static READ16_HANDLER( qsound_sharedram1_r )
r4587r4588
135131{
136132   UINT8 *RAM = memory_region(space->machine, "audiocpu");
137133   int bankaddress=0x10000+((data&0x0f)*0x4000);
134
138135   if (bankaddress >= memory_region_length(space->machine, "audiocpu"))
139   {
140      logerror("WARNING: Q sound bank overflow (%02x)\n", data);
141136      bankaddress=0x10000;
142   }
137
143138   memory_set_bankptr(space->machine, 1, &RAM[bankaddress]);
144139}
145140
r4587r4588
611606/*    YEAR  NAME      PARENT    COMPAT  MACHINE     INPUT     INIT      CONFIG  COMPANY     FULLNAME */
612607CONS( 1995, sfach,    sfzch,    0,   cps1_10MHz, sfzch,    cps1,     NULL,   "Capcom", "CPS Changer - Street Fighter Alpha - Warriors' Dreams (Publicity US 950727)", 0 )
613608CONS( 1995, sfzch,    0,        0,   cps1_10MHz, sfzch,    cps1,     NULL,   "Capcom", "CPS Changer - Street Fighter Zero (Japan 951020)", 0 )
614CONS( 1995, sfzbch,   sfzch,    0,   cps1_10MHz, sfzch,    cps1,     NULL,   "Hack",   "CPS Changer - Street Fighter Alpha (Brazil 950727)", 0 )
609CONS( 1995, sfzbch,   sfzch,    0,   cps1_10MHz, sfzch,    cps1,     NULL,   "Capcom", "CPS Changer - Street Fighter Zero (Brazil 950727)", 0 )
615610CONS( 1995, wofch,    0,        0,   qsound,     sfzch,    wof,      NULL,   "Capcom", "CPS Changer - Tenchi Wo Kurau II (Japan 921031)", 0 )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team