summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Nigel Barnes <Pernod70@users.noreply.github.com>2019-01-28 19:39:23 +0000
committer Nigel Barnes <Pernod70@users.noreply.github.com>2019-01-28 19:39:23 +0000
commitdff9d50d6ddfc37c623481d03e75337184efff14 (patch)
treea55f9f7ceea99d8601d668e5c8fe96c88fc1bc22
parentd67e9d77507b2cbfcf7e504329ce8fde5816e8e3 (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))
{