mirror of
https://github.com/mamedev/mame.git
synced 2024-09-28 03:20:58 +02:00
taitosj - add a postload so that savestates work (#8196)
This commit is contained in:
parent
8f5a97a448
commit
d5869ecbdb
2 changed files with 8 additions and 0 deletions
|
@ -62,6 +62,7 @@ protected:
|
|||
virtual void machine_start() override;
|
||||
virtual void machine_reset() override;
|
||||
virtual void video_start() override;
|
||||
virtual void device_post_load() override;
|
||||
|
||||
private:
|
||||
required_shared_ptr_array<uint8_t, 3> m_videoram;
|
||||
|
|
|
@ -161,6 +161,13 @@ void taitosj_state::compute_draw_order()
|
|||
}
|
||||
}
|
||||
|
||||
void taitosj_state::device_post_load()
|
||||
{
|
||||
m_gfxdecode->gfx(0)->mark_all_dirty();
|
||||
m_gfxdecode->gfx(1)->mark_all_dirty();
|
||||
m_gfxdecode->gfx(2)->mark_all_dirty();
|
||||
m_gfxdecode->gfx(3)->mark_all_dirty();
|
||||
}
|
||||
|
||||
void taitosj_state::video_start()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue