Previous 199869 Revisions Next

r40592 Thursday 3rd September, 2015 at 14:12:36 UTC by David Haywood
fix MT06024 (hvymetal not working)

palette ram writes were no longer actually being stored in RAM for games with the lookup PROM.
[src/mame/includes]system1.h
[src/mame/video]system1.c

trunk/src/mame/includes/system1.h
r249103r249104
1313      m_spriteram(*this, "spriteram"),
1414      m_nob_mcu_latch(*this, "nob_mcu_latch"),
1515      m_nob_mcu_status(*this, "nob_mcu_status"),
16      m_paletteram(*this, "palette"),
1617      m_maincpu(*this, "maincpu"),
1718      m_soundcpu(*this, "soundcpu"),
1819      m_mcu(*this, "mcu"),
r249103r249104
3132   required_shared_ptr<UINT8> m_spriteram;
3233   optional_shared_ptr<UINT8> m_nob_mcu_latch;
3334   optional_shared_ptr<UINT8> m_nob_mcu_status;
35   required_shared_ptr<UINT8> m_paletteram;
3436
3537   UINT8 *m_videoram;
3638   void (system1_state::*m_videomode_custom)(UINT8 data, UINT8 prevdata);
trunk/src/mame/video/system1.c
r249103r249104
315315
316316   if (m_color_prom != NULL)
317317   {
318      m_paletteram[offset] = data;
318319      UINT8 val;
319320
320321      val = m_color_prom[data + 0 * 256];


Previous 199869 Revisions Next


© 1997-2024 The MAME Team