nascom1: Fixed snapshot loading regression on 32bit builds (nw)

This commit is contained in:
Nigel Barnes 2019-01-28 19:39:23 +00:00 committed by Vas Crabb
parent de7d35e2fd
commit 2ca871a18a

View File

@ -233,7 +233,7 @@ DEVICE_IMAGE_UNLOAD_MEMBER( nascom_state, nascom1_cassette )
SNAPSHOT_LOAD_MEMBER( nascom_state, nascom1 )
{
uint8_t line[28];
uint8_t line[29];
while (image.fread(&line, sizeof(line)) == sizeof(line))
{
@ -264,7 +264,7 @@ SNAPSHOT_LOAD_MEMBER( nascom_state, nascom1 )
SNAPSHOT_LOAD_MEMBER(nascom_state, charrom)
{
uint8_t line[28];
uint8_t line[29];
while (image.fread(&line, sizeof(line)) == sizeof(line))
{