mirror of
https://github.com/holub/mame
synced 2025-07-06 18:39:28 +03:00
atari/antic.cpp: reset chand / chxor helpers, fixes trackfld timer / length hidden text
This commit is contained in:
parent
b535e7de2a
commit
0591ff32ef
@ -133,7 +133,7 @@
|
|||||||
uint32_t *dst = (uint32_t *)&m_cclock[PMOFFSET]; \
|
uint32_t *dst = (uint32_t *)&m_cclock[PMOFFSET]; \
|
||||||
for (int i = 0; i < width; i++) \
|
for (int i = 0; i < width; i++) \
|
||||||
{ \
|
{ \
|
||||||
uint16_t ch = RDVIDEO(space,i) << 3; \
|
uint16_t ch = RDVIDEO(space,i) << 3; \
|
||||||
if (ch & 0x400) \
|
if (ch & 0x400) \
|
||||||
{ \
|
{ \
|
||||||
ch = RDCHGEN(space,(ch & 0x3f8) + m_w.chbasl); \
|
ch = RDCHGEN(space,(ch & 0x3f8) + m_w.chbasl); \
|
||||||
@ -456,7 +456,10 @@ void antic_device::device_reset()
|
|||||||
memset(m_pmbits, 0, sizeof(m_pmbits));
|
memset(m_pmbits, 0, sizeof(m_pmbits));
|
||||||
|
|
||||||
// TODO: we shouldn't need this variable but rather rely on screen().vpos()
|
// TODO: we shouldn't need this variable but rather rely on screen().vpos()
|
||||||
m_scanline = 0;
|
m_scanline = 0;
|
||||||
|
|
||||||
|
m_chand = 0xff;
|
||||||
|
m_chxor = 0x00;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user