diff options
Diffstat (limited to 'src/devices/machine/tc009xlvc.cpp')
-rw-r--r-- | src/devices/machine/tc009xlvc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/machine/tc009xlvc.cpp b/src/devices/machine/tc009xlvc.cpp index b2d302d3922..c4a2db2c18d 100644 --- a/src/devices/machine/tc009xlvc.cpp +++ b/src/devices/machine/tc009xlvc.cpp @@ -214,6 +214,9 @@ void tc0090lvc_device::device_post_load() void tc0090lvc_device::device_start() { + // rom_r assumes it can make a mask with (m_rom.length() - 1) + assert(!(m_rom.length() & (m_rom.length() - 1))); + m_tile_cb.resolve(); std::fill_n(&m_vram[0], m_vram.bytes(), 0); |