mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +03:00
samcoupe/mouse: Savestates
This commit is contained in:
parent
9e7f81e89d
commit
9c3664c94b
@ -65,6 +65,12 @@ void sam_mouse_device::device_start()
|
||||
{
|
||||
// allocate timer
|
||||
m_reset = timer_alloc();
|
||||
|
||||
// register for savestates
|
||||
save_item(NAME(m_mouse_index));
|
||||
save_pointer(NAME(m_mouse_data), 9);
|
||||
save_item(NAME(m_mouse_x));
|
||||
save_item(NAME(m_mouse_y));
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user