diff options
Diffstat (limited to 'src/devices/machine/53c810.cpp')
-rw-r--r-- | src/devices/machine/53c810.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/53c810.cpp b/src/devices/machine/53c810.cpp index e11dbae70a3..1323e822d69 100644 --- a/src/devices/machine/53c810.cpp +++ b/src/devices/machine/53c810.cpp @@ -634,9 +634,9 @@ void lsi53c810_device::device_start() m_dma_cb.bind_relative_to(*owner()); m_fetch_cb.bind_relative_to(*owner()); - for (int i = 0; i < 256; i++) + for (auto & elem : dma_opcode) { - dma_opcode[i] = opcode_handler_delegate(FUNC(lsi53c810_device::dmaop_invalid), this); + elem = opcode_handler_delegate(FUNC(lsi53c810_device::dmaop_invalid), this); } add_opcode(0x00, 0xc0, opcode_handler_delegate(FUNC( lsi53c810_device::dmaop_block_move ), this)); |