DREAMWEB: Fix compile on non-GNU compilers
mempcpy is a GNU extension and the only difference to memcpy is the return value, which this code happily ignores. So I assume it's a typo.
This commit is contained in:
parent
d79364489d
commit
cd6708b397
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ void DreamGenContext::savegame() {
|
|||
ds = data;
|
||||
dx = kSavenames;
|
||||
_add(dx, ax);
|
||||
mempcpy(data.ptr(dx,17), descbuf, 17);
|
||||
memcpy(data.ptr(dx,17), descbuf, 17);
|
||||
saveseg();
|
||||
} else {
|
||||
// savenames only has room for descriptions for 7 slots
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue