Previous 199869 Revisions Next

r31278 Monday 14th July, 2014 at 18:20:00 UTC by Osso
Fixed jumppop save state regression (nw)
[src/mame/drivers]esd16.c
[src/mame/includes]esd16.h

trunk/src/mame/drivers/esd16.c
r31277r31278
585585   membank("bank1")->configure_entries(0, 16, &AUDIO[0x0000], 0x4000);
586586
587587   save_item(NAME(m_tilemap0_color));
588   save_item(NAME(m_tilemap1_color));
588589}
589590
590591void esd16_state::machine_reset()
591592{
592593   m_tilemap0_color = 0;
594   m_tilemap1_color = 0;
593595}
594596
595597DECOSPR_PRIORITY_CB_MEMBER(esd16_state::hedpanic_pri_callback)
trunk/src/mame/includes/esd16.h
r31277r31278
2020      m_head_layersize(*this, "head_layersize"),
2121      m_headpanic_platform_x(*this, "platform_x"),
2222      m_headpanic_platform_y(*this, "platform_y"),
23      m_sprgen(*this, "spritegen"),
24      m_eeprom(*this, "eeprom"),
2523      m_maincpu(*this, "maincpu"),
2624      m_audiocpu(*this, "audiocpu"),
27      m_gfxdecode(*this, "gfxdecode") {
28      m_tilemap0_color = 0;
29      m_tilemap1_color = 0;
30   }
25      m_gfxdecode(*this, "gfxdecode"),
26      m_sprgen(*this, "spritegen"),
27      m_eeprom(*this, "eeprom")
28      {}
3129
3230   /* memory pointers */
3331   required_shared_ptr<UINT16> m_vram_0;
r31277r31278
3836   required_shared_ptr<UINT16> m_head_layersize;
3937   required_shared_ptr<UINT16> m_headpanic_platform_x;
4038   required_shared_ptr<UINT16> m_headpanic_platform_y;
41   optional_device<decospr_device> m_sprgen;
4239//  UINT16 *       m_paletteram;  // currently this uses generic palette handling
4340
4441   /* video-related */
r31277r31278
5047   int           m_tilemap1_color;
5148
5249   /* devices */
50   required_device<cpu_device> m_maincpu;
51   required_device<cpu_device> m_audiocpu;
52   required_device<gfxdecode_device> m_gfxdecode;
53   optional_device<decospr_device> m_sprgen;
5354   optional_device<eeprom_serial_93cxx_device> m_eeprom;
55   
5456   DECLARE_WRITE16_MEMBER(esd16_sound_command_w);
5557   DECLARE_WRITE16_MEMBER(hedpanic_platform_w);
5658   DECLARE_READ16_MEMBER(esd_eeprom_r);
r31277r31278
7072   virtual void video_start();
7173   UINT32 screen_update_hedpanic(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
7274   DECOSPR_PRIORITY_CB_MEMBER(hedpanic_pri_callback);
73
74   required_device<cpu_device> m_maincpu;
75   required_device<cpu_device> m_audiocpu;
76   required_device<gfxdecode_device> m_gfxdecode;
7775};

Previous 199869 Revisions Next


© 1997-2024 The MAME Team