Fix Jeff Sheinberg's wraparound problem.

This commit is contained in:
gord 1999-03-08 07:01:30 +00:00
parent 90ed71c809
commit 8d793b9a7e
3 changed files with 4 additions and 3 deletions

View file

@ -468,6 +468,8 @@ returnit:
no_decompression = 0;
#endif
}
fallback = -1;
return 1;
}
#ifdef DEBUG
else if (substring("testload", cur_heap) < 1)

View file

@ -86,7 +86,6 @@ rawread (int drive, int sector, int byte_offset, int byte_len, int addr)
if (buf_drive != drive)
{
buf_geom = get_diskinfo (drive);
printf ("buf_geom = 0x%x\n", buf_geom); /* FIXME */
buf_drive = drive;
buf_track = -1;
}

View file

@ -448,8 +448,8 @@ restart:
while (!c);
/* Both the entry and the fallback failed, so wait for input. */
printf("Failed!\n Press any key to continue...");
getkey();
printf (" Press any key to continue...");
getkey ();
goto restart;
}