From 2eaa31f10e0ad2cf6ebb47e356603d1c916e1ce9 Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Sun, 31 Dec 2023 11:15:04 -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 08e98977..6efc96b0 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;