atari/antic.cpp: make m_scanline to be consistant across soft resets

This commit is contained in:
angelosa 2022-10-09 22:05:01 +02:00
parent f992a0b77f
commit 35f2c79feb

View File

@ -454,6 +454,9 @@ void antic_device::device_reset()
memset(m_cclock, 0, sizeof(m_cclock));
memset(m_pmbits, 0, sizeof(m_pmbits));
// TODO: we shouldn't need this variable but rather rely on screen().vpos()
m_scanline = 0;
}