1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-13 15:27:04 +00:00

ICL1900: Fixed load file error message.

This commit is contained in:
Richard Cornwell 2020-03-07 14:22:51 -05:00
parent 5ae42ddddd
commit bb0bc955f5

View File

@ -283,6 +283,8 @@ sim_load(FILE * fileref, CONST char *cptr, CONST char *fnam, int flag)
/* Convert bits into image */
memset(image, 0, sizeof(image));
for (j = 0; j < 80; j++) {
if (buffer[j] == '\r' && buffer[j+1] == '\n')
break;
if (buffer[j] == '\n')
break;
if ((buffer[j] & 0377) == 0243)
@ -311,6 +313,8 @@ sim_load(FILE * fileref, CONST char *cptr, CONST char *fnam, int flag)
/* Convert bits into image */
memset(image, 0, sizeof(image));
for (j = 0; j < 80; j++) {
if (buffer[j] == '\r' && buffer[j+1] == '\n')
break;
if (buffer[j] == '\n')
break;
if ((buffer[j] & 0377) == 0243)