B5500: Make sure Lines per page gets initialized properly.

This commit is contained in:
Richard Cornwell 2023-12-31 11:15:04 -05:00 committed by Paul Koning
parent 6a1b5685fd
commit 2eaa31f10e

View file

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