Previous 199869 Revisions Next

r21779 Sunday 10th March, 2013 at 10:16:26 UTC by Fabio Priuli
this had to remain commented out because wrong with current rtc handling, sorry for clang warning
[src/mess/machine]sns_rom21.c

trunk/src/mess/machine/sns_rom21.c
r21778r21779
5050{
5151   save_item(NAME(m_mode));
5252   save_item(NAME(m_index));
53   save_item(NAME(m_rtc_ram));
53//   save_item(NAME(m_rtc_ram));
5454}
5555
5656void sns_rom21_srtc_device::device_reset()
5757{
5858   m_mode = RTCM_Read;
5959   m_index = -1;
60   memset(m_rtc_ram, 0, m_rtc_ram_size);   
60//   memset(m_rtc_ram, 0, sizeof(m_rtc_ram));   
6161   
6262// at this stage, rtc_ram is not yet allocated. this will be fixed when converting RTC to be a separate device.
6363//  update_time();

Previous 199869 Revisions Next


© 1997-2024 The MAME Team