From 804b7d888378df5f6d00c95d563b29d6f68338a1 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Mon, 8 Feb 2016 14:16:28 -0800 Subject: [PATCH] TAPE: Fix EOF detection to properly initialize state. --- sim_tape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_tape.c b/sim_tape.c index 6728971b..09f54cf6 100644 --- a/sim_tape.c +++ b/sim_tape.c @@ -2146,7 +2146,7 @@ static uint32 sim_tape_tpc_map (UNIT *uptr, t_addr *map, uint32 mapsize) { t_addr tpos, leot; t_addr tape_size; -t_tpclnt bc, last_bc; +t_tpclnt bc, last_bc = 0xFFFF; uint32 had_double_tape_mark = 0; size_t i; uint32 objc, sizec;