mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
dipalette: Fix faulty assertion that was breaking nes_vt.cpp in debug builds (nw)
This commit is contained in:
parent
52b047aae3
commit
93ae59e653
@ -160,7 +160,7 @@ void device_palette_interface::interface_post_stop()
|
||||
void device_palette_interface::set_indirect_color(int index, rgb_t rgb)
|
||||
{
|
||||
// make sure we are in range
|
||||
assert(index < m_indirect_pens.size());
|
||||
assert(index < m_indirect_colors.size());
|
||||
|
||||
// alpha doesn't matter
|
||||
rgb.set_a(255);
|
||||
|
Loading…
Reference in New Issue
Block a user