mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
rm480z: remove an array overflow (this is dead code, function never gets called, but GCC 14.1 complained)
This commit is contained in:
parent
2f39b6a382
commit
4522973566
2 changed files with 4 additions and 4 deletions
|
@ -228,7 +228,7 @@ void mm5799_device::op_ret()
|
|||
|
||||
void mm5799_device::op_rets()
|
||||
{
|
||||
// RET: return from subroutine, skip next
|
||||
// RETS: return from subroutine, skip next
|
||||
op_ret();
|
||||
m_skip = true;
|
||||
}
|
||||
|
|
|
@ -446,9 +446,10 @@ void rm480z_state::update_screen(bitmap_ind16 &bitmap) const
|
|||
if (ra < 10)
|
||||
{
|
||||
const uint8_t chr = m_vram.get_char(y, x);
|
||||
gfx = m_chargen[(chr << 4) | ra ];
|
||||
gfx = m_chargen[(chr << 4) | ra];
|
||||
}
|
||||
/* Display a scanline of a character */
|
||||
|
||||
// Display a scanline of a character
|
||||
*p++ = BIT(gfx, 7);
|
||||
*p++ = BIT(gfx, 6);
|
||||
*p++ = BIT(gfx, 5);
|
||||
|
@ -459,6 +460,5 @@ void rm480z_state::update_screen(bitmap_ind16 &bitmap) const
|
|||
*p++ = BIT(gfx, 0);
|
||||
}
|
||||
}
|
||||
ma += 64;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue