trunk/src/mess/machine/sns_rom21.c
| r21778 | r21779 | |
| 50 | 50 | { |
| 51 | 51 | save_item(NAME(m_mode)); |
| 52 | 52 | save_item(NAME(m_index)); |
| 53 | | save_item(NAME(m_rtc_ram)); |
| 53 | // save_item(NAME(m_rtc_ram)); |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | void sns_rom21_srtc_device::device_reset() |
| 57 | 57 | { |
| 58 | 58 | m_mode = RTCM_Read; |
| 59 | 59 | m_index = -1; |
| 60 | | memset(m_rtc_ram, 0, m_rtc_ram_size); |
| 60 | // memset(m_rtc_ram, 0, sizeof(m_rtc_ram)); |
| 61 | 61 | |
| 62 | 62 | // at this stage, rtc_ram is not yet allocated. this will be fixed when converting RTC to be a separate device. |
| 63 | 63 | // update_time(); |