summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Nigel Barnes <Pernod70@users.noreply.github.com>2019-01-28 19:39:23 +0000
committer Vas Crabb <vas@vastheman.com>2019-01-30 03:12:00 +1100
commit2ca871a18a4aafe7bbabd295b8f738c57f02b184 (patch)
treec4e0320bed0b6542c6ac4c0960cf725df3f80702
parentde7d35e2fdd203260d0ea7c1c4ecb82029cc289f (diff)
nascom1: Fixed snapshot loading regression on 32bit builds (nw)
-rw-r--r--src/mame/drivers/nascom1.cpp4
1 files 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))
{