Previous 199869 Revisions Next

r21950 Monday 18th March, 2013 at 18:30:23 UTC by Angelo Salese
Attempt fixing baseball rules in Stadium Hero '96, needs a lot of testing ...
[src/mame/drivers]deco_mlc.c

trunk/src/mame/drivers/deco_mlc.c
r21949r21950
260260   if (offset==0x5c4)
261261      return 0xaa55 << 16;
262262   if (offset==0x7a4)
263      return 0x0002 << 16;
263      return 0x0001 << 16; // "2" makes OUT count to add by 2.
264264   if (offset==0x53c)
265265      return 0x0008 << 16;
266266   if (offset==0x304)
r21949r21950
276276   printf("%08x:  Write prot %04x %08x\n", space.device().safe_pc(), offset, data);
277277}
278278
279READ32_MEMBER( deco_mlc_state::mlc_spriteram_r )
279READ32_MEMBER( deco_mlc_state::mlc_spriteram_r )
280280{
281281   UINT32 retdata = 0;
282282
r21949r21950
284284   {
285285      retdata |= 0xffff0000;
286286   }
287   
287
288288   if (mem_mask & 0x0000ffff)
289289   {
290290      retdata |= m_mlc_spriteram[offset];
r21949r21950
294294}
295295
296296
297WRITE32_MEMBER( deco_mlc_state::mlc_spriteram_w )
297WRITE32_MEMBER( deco_mlc_state::mlc_spriteram_w )
298298{
299299   if (mem_mask & 0xffff0000)
300300   {
301     
301
302302   }
303303
304304   if (mem_mask & 0x0000ffff)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team