TAPE: Fix EOF detection to properly initialize state.

This commit is contained in:
Mark Pizzolato 2016-02-08 14:16:28 -08:00
parent b1d0eb3492
commit 804b7d8883

View file

@ -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;