From 1039153c01468640d87e9b1caab555c6bb9904e4 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Sat, 5 Oct 2024 15:50:46 +1000 Subject: [PATCH] homelab: fixed small bug from last commit. --- src/mame/homelab/homelab.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/homelab/homelab.cpp b/src/mame/homelab/homelab.cpp index 53e8cd40c49..995699d02bd 100644 --- a/src/mame/homelab/homelab.cpp +++ b/src/mame/homelab/homelab.cpp @@ -841,13 +841,13 @@ QUICKLOAD_LOAD_MEMBER(homelab_state::quickload_cb) address_space &space = m_maincpu->space(AS_PROGRAM); int block_counter = 0; char block_last_character = 1; - char pgmname[256] {}; - u16 args[2]; image.fseek(0, SEEK_SET); while (block_last_character != 0) { + char pgmname[256] = {}; + u16 args[2]; u8 ch = 0; u32 bytes = 0;