From dff9d50d6ddfc37c623481d03e75337184efff14 Mon Sep 17 00:00:00 2001 From: Nigel Barnes Date: Mon, 28 Jan 2019 19:39:23 +0000 Subject: [PATCH] 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)) {