From 2ca871a18a4aafe7bbabd295b8f738c57f02b184 Mon Sep 17 00:00:00 2001 From: Nigel Barnes Date: Mon, 28 Jan 2019 19:39:23 +0000 Subject: nascom1: Fixed snapshot loading regression on 32bit builds (nw) --- src/mame/drivers/nascom1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/drivers/nascom1.cpp b/src/mame/drivers/nascom1.cpp index b03189cd72e..ccab0c18afa 100644 --- a/src/mame/drivers/nascom1.cpp +++ b/src/mame/drivers/nascom1.cpp @@ -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)) { -- cgit v1.2.3-70-g09d2