mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
namconb1: Making the clip registers signed, fixes vshoot MT#6789. The underlying issue may be weirder though...
This commit is contained in:
parent
866a814e9f
commit
1e0c736f53
@ -124,10 +124,11 @@ u32 namconb1_state::screen_update_namconb1(screen_device &screen, bitmap_ind16 &
|
||||
/* compute window for custom screen blanking */
|
||||
rectangle clip;
|
||||
//004a 016a 0021 0101 0144 0020 (nebulas ray)
|
||||
clip.min_x = m_c116->get_reg(0) - 0x4a;
|
||||
clip.max_x = m_c116->get_reg(1) - 0x4a - 1;
|
||||
clip.min_y = m_c116->get_reg(2) - 0x21;
|
||||
clip.max_y = m_c116->get_reg(3) - 0x21 - 1;
|
||||
clip.min_x = int16_t(m_c116->get_reg(0)) - 0x4a;
|
||||
clip.max_x = int16_t(m_c116->get_reg(1)) - 0x4a - 1;
|
||||
clip.min_y = int16_t(m_c116->get_reg(2)) - 0x21;
|
||||
clip.max_y = int16_t(m_c116->get_reg(3)) - 0x21 - 1;
|
||||
|
||||
/* intersect with master clip rectangle */
|
||||
clip &= cliprect;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user