mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
taitosj - add a postload so that savestates work (#8196)
This commit is contained in:
parent
8f5a97a448
commit
d5869ecbdb
@ -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 New Issue
Block a user