dipalette: Fix faulty assertion that was breaking nes_vt.cpp in debug builds (nw)

This commit is contained in:
AJR 2018-05-06 09:29:14 -04:00
parent 52b047aae3
commit 93ae59e653

View File

@ -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);