mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
isa8_cga_device: added save state support, fixes at least pt68k4.c save state problem (nw)
This commit is contained in:
parent
ec5532be71
commit
06d69ed77d
@ -365,6 +365,16 @@ void isa8_cga_device::device_start()
|
||||
astring tempstring;
|
||||
m_chr_gen_base = memregion(subtag(tempstring, "gfx1"))->base();
|
||||
m_chr_gen = m_chr_gen_base + m_chr_gen_offset[1];
|
||||
|
||||
save_item(NAME(m_framecnt));
|
||||
save_item(NAME(m_mode_control));
|
||||
save_item(NAME(m_color_select));
|
||||
//save_item(NAME(m_status)); uncomment when used
|
||||
save_item(NAME(m_update_row_type));
|
||||
save_item(NAME(m_vsync));
|
||||
save_item(NAME(m_hsync));
|
||||
save_item(NAME(m_vram));
|
||||
save_item(NAME(m_plantronics));
|
||||
}
|
||||
|
||||
|
||||
|
@ -65,7 +65,7 @@ public:
|
||||
|
||||
UINT8 m_mode_control; /* wo 0x3d8 */
|
||||
UINT8 m_color_select; /* wo 0x3d9 */
|
||||
UINT8 m_status; /* ro 0x3da */
|
||||
//UINT8 m_status; //unused? /* ro 0x3da */
|
||||
|
||||
int m_update_row_type;
|
||||
UINT8 m_palette_lut_2bpp[4];
|
||||
|
Loading…
Reference in New Issue
Block a user