Previous 199869 Revisions Next

r29403 Monday 7th April, 2014 at 04:13:54 UTC by Alex Jackson
toaplan1: whoops, it was trivial after all (nw)
[src/mame/video]toaplan1.c

trunk/src/mame/video/toaplan1.c
r29402r29403
295295   m_buffered_spriteram = auto_alloc_array_clear(machine(), UINT16, m_spriteram.bytes()/2);
296296   save_pointer(NAME(m_buffered_spriteram), m_spriteram.bytes()/2);
297297
298   m_pf1_tilemap->set_scrolldx(-0x00d-6, -0x1c0+6);
299   m_pf2_tilemap->set_scrolldx(-0x00d-4, -0x1c0+4);
300   m_pf3_tilemap->set_scrolldx(-0x00d-2, -0x1c0+2);
301   m_pf4_tilemap->set_scrolldx(-0x00d-0, -0x1c0+0);
302   m_pf1_tilemap->set_scrolldy(-0x111, -0x0e8);
303   m_pf2_tilemap->set_scrolldy(-0x111, -0x0e8);
304   m_pf3_tilemap->set_scrolldy(-0x111, -0x0e8);
305   m_pf4_tilemap->set_scrolldy(-0x111, -0x0e8);
298   m_pf1_tilemap->set_scrolldx(-0x00d-6, -0x80+6);
299   m_pf2_tilemap->set_scrolldx(-0x00d-4, -0x80+4);
300   m_pf3_tilemap->set_scrolldx(-0x00d-2, -0x80+2);
301   m_pf4_tilemap->set_scrolldx(-0x00d-0, -0x80+0);
302   m_pf1_tilemap->set_scrolldy(-0x111, 0x8);
303   m_pf2_tilemap->set_scrolldy(-0x111, 0x8);
304   m_pf3_tilemap->set_scrolldy(-0x111, 0x8);
305   m_pf4_tilemap->set_scrolldy(-0x111, 0x8);
306306
307307   m_bcu_flipscreen = -1;
308308   m_fcu_flipscreen = 0;
r29402r29403
316316   toaplan1_vram_alloc();
317317   toaplan1_spritevram_alloc();
318318
319   m_pf1_tilemap->set_scrolldx(-0x1ef-6, -0x151+6);
320   m_pf2_tilemap->set_scrolldx(-0x1ef-4, -0x151+4);
321   m_pf3_tilemap->set_scrolldx(-0x1ef-2, -0x151+2);
322   m_pf4_tilemap->set_scrolldx(-0x1ef-0, -0x151+0);
323   m_pf1_tilemap->set_scrolldy(-0x101, -0x1ef);
324   m_pf2_tilemap->set_scrolldy(-0x101, -0x1ef);
325   m_pf3_tilemap->set_scrolldy(-0x101, -0x1ef);
326   m_pf4_tilemap->set_scrolldy(-0x101, -0x1ef);
319   m_pf1_tilemap->set_scrolldx(-0x1ef-6, -0x11+6);
320   m_pf2_tilemap->set_scrolldx(-0x1ef-4, -0x11+4);
321   m_pf3_tilemap->set_scrolldx(-0x1ef-2, -0x11+2);
322   m_pf4_tilemap->set_scrolldx(-0x1ef-0, -0x11+0);
323   m_pf1_tilemap->set_scrolldy(-0x101, -0xff);
324   m_pf2_tilemap->set_scrolldy(-0x101, -0xff);
325   m_pf3_tilemap->set_scrolldy(-0x101, -0xff);
326   m_pf4_tilemap->set_scrolldy(-0x101, -0xff);
327327
328328   m_bcu_flipscreen = -1;
329329   m_fcu_flipscreen = 0;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team