diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/drivers/argo.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/unior.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/x07.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/argo.cpp b/src/mame/drivers/argo.cpp index 26658e884d0..97e535fe435 100644 --- a/src/mame/drivers/argo.cpp +++ b/src/mame/drivers/argo.cpp @@ -114,7 +114,7 @@ WRITE8_MEMBER(argo_state::argo_io_w) { uint8_t *RAM = memregion("videoram")->base(); m_scroll_ctrl = 0; - memcpy(RAM, RAM+80, 24*80); + memmove(RAM, RAM+80, 24*80); } break; diff --git a/src/mame/drivers/unior.cpp b/src/mame/drivers/unior.cpp index 00fbd9cdb72..cc32d924c4a 100644 --- a/src/mame/drivers/unior.cpp +++ b/src/mame/drivers/unior.cpp @@ -257,7 +257,7 @@ WRITE8_MEMBER( unior_state::vram_w ) WRITE8_MEMBER( unior_state::scroll_w ) { if (data) - memcpy(m_p_vram, m_p_vram+80, 24*80); + memmove(m_p_vram, m_p_vram+80, 24*80); } I8275_DRAW_CHARACTER_MEMBER(unior_state::display_pixels) diff --git a/src/mame/drivers/x07.cpp b/src/mame/drivers/x07.cpp index c4a2a292132..598390b32af 100644 --- a/src/mame/drivers/x07.cpp +++ b/src/mame/drivers/x07.cpp @@ -1009,7 +1009,7 @@ void x07_state::kb_irq() { m_regs_r[0] = 0; m_regs_r[1] = m_t6834_ram[0x400]; - memcpy(m_t6834_ram + 0x400, m_t6834_ram + 0x401, 0xff); + memmove(m_t6834_ram + 0x400, m_t6834_ram + 0x401, 0xff); m_kb_size--; m_regs_r[2] |= 0x01; m_maincpu->set_input_line(NSC800_RSTA, ASSERT_LINE); |