From 81d96274429d15ff8d088f09690cfe77e4b81f61 Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Wed, 20 Dec 2023 19:09:03 -0500 Subject: [PATCH] B5500: Make sure Lines per page gets initialized properly. --- B5500/b5500_urec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/B5500/b5500_urec.c b/B5500/b5500_urec.c index 08e9897..6efc96b 100644 --- a/B5500/b5500_urec.c +++ b/B5500/b5500_urec.c @@ -662,6 +662,9 @@ lpr_ini(DEVICE *dptr) { for(i = 0; i < NUM_DEVS_LPR; i++) { lpr_unit[i].CMD = 0; + if (lpr_unit[i].LPP == 0) { + lpr_unit[i].LPP = 59; + } sim_cancel(&lpr_unit[i]); } return SCPE_OK;