mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
avgdvg.cpp: support XY flip (#8444)
This commit is contained in:
parent
2c98a7806b
commit
ee07073837
@ -817,9 +817,13 @@ int avg_mhavoc_device::handler_7() // mhavoc_strobe3
|
||||
const u8 g = bit1 * 0xcb;
|
||||
const u8 b = bit0 * 0xcb;
|
||||
|
||||
int x = m_xpos;
|
||||
int y = m_ypos;
|
||||
apply_flipping(x, y);
|
||||
|
||||
vg_add_point_buf(
|
||||
m_xpos,
|
||||
m_ypos,
|
||||
x,
|
||||
y,
|
||||
rgb_t(r, g, b),
|
||||
(((m_int_latch >> 1) == 1) ? m_intensity : m_int_latch & 0xe) << 4);
|
||||
m_spkl_shift = (BIT(m_spkl_shift, 6) ^ BIT(m_spkl_shift, 5) ^ 1) | (m_spkl_shift << 1);
|
||||
@ -842,9 +846,13 @@ int avg_mhavoc_device::handler_7() // mhavoc_strobe3
|
||||
const u8 g = bit1 * 0xcb;
|
||||
const u8 b = bit0 * 0xcb;
|
||||
|
||||
vg_add_point_buf(
|
||||
m_xpos,
|
||||
m_ypos,
|
||||
int x = m_xpos;
|
||||
int y = m_ypos;
|
||||
apply_flipping(x, y);
|
||||
|
||||
vg_add_point_buf(
|
||||
x,
|
||||
y,
|
||||
rgb_t(r, g, b),
|
||||
(((m_int_latch >> 1) == 1) ? m_intensity : m_int_latch & 0xe) << 4);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user