summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/poly88.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/poly88.cpp')
-rw-r--r--src/mame/machine/poly88.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/machine/poly88.cpp b/src/mame/machine/poly88.cpp
index f9799d2c6a8..d922cdd5a1e 100644
--- a/src/mame/machine/poly88.cpp
+++ b/src/mame/machine/poly88.cpp
@@ -239,7 +239,8 @@ SNAPSHOT_LOAD_MEMBER(poly88_state::snapshot_cb)
switch(recordType) {
case 0 :
/* 00 Absolute */
- memcpy(space.get_read_ptr(address ), data + pos ,recordLen);
+ for (uint16_t j = 0; j < recordLen; j++)
+ space.write_byte(address + j, data[pos + j]);
break;
case 1 :
/* 01 Comment */