BESM6: Printer file position must be updated.

This commit is contained in:
Leo Broukhis 2018-12-12 09:37:20 -08:00 committed by Mark Pizzolato
parent 0ba63fe7fa
commit 7c207c6233

View file

@ -144,6 +144,7 @@ void printer_control (int num, uint32 cmd)
case 1: /* linefeed */
READY &= ~(PRN1_LINEFEED >> num);
offset_gost_write (num, u->fileref);
u->pos = ftell(u->fileref);
dev->feed = LINEFEED_SYNC;
break;
case 4: /* start */