Some support in makefile for 32 bit model.

This commit is contained in:
David Brown 2016-09-22 20:02:46 +01:00
parent b158671cf8
commit b40dc4e2f8
27 changed files with 141 additions and 116 deletions

View file

@ -663,7 +663,7 @@ void Files_ReadBytes (Files_Rider *r, LONGINT *r__typ, SYSTEM_BYTE *x, LONGINT x
} else {
min = n;
}
__MOVE((address)buf->data + offset, (address)x + xpos, min);
__MOVE(((address)buf->data) + offset, ((address)x) + xpos, min);
offset += min;
(*r).offset = offset;
xpos += min;
@ -728,7 +728,7 @@ void Files_WriteBytes (Files_Rider *r, LONGINT *r__typ, SYSTEM_BYTE *x, LONGINT
} else {
min = n;
}
__MOVE((address)x + xpos, (address)buf->data + offset, min);
__MOVE(((address)x) + xpos, ((address)buf->data) + offset, min);
offset += min;
(*r).offset = offset;
if (offset > buf->size) {