mirror of
https://github.com/holub/mame
synced 2025-05-12 09:08:53 +03:00
gb_lcd.c: added missing save state, fixes supergb save state problem (nw)
This commit is contained in:
parent
f563f3bbf2
commit
be4b811eef
@ -215,6 +215,7 @@ cgb_lcd_device::cgb_lcd_device(const machine_config &mconfig, const char *tag, d
|
||||
void gb_lcd_device::common_start()
|
||||
{
|
||||
m_screen->register_screen_bitmap(m_bitmap);
|
||||
save_item(NAME(m_bitmap));
|
||||
m_oam = auto_alloc_array_clear(machine(), UINT8, 0x100);
|
||||
|
||||
machine().save().register_postload(save_prepost_delegate(FUNC(gb_lcd_device::videoptr_restore), this));
|
||||
|
Loading…
Reference in New Issue
Block a user