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:
Sven Hesse 2011-08-18 01:26:25 +02:00
parent d79364489d
commit cd6708b397

View file

@ -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