Fix Jeff Sheinberg's wraparound problem.
This commit is contained in:
parent
90ed71c809
commit
8d793b9a7e
3 changed files with 4 additions and 3 deletions
|
@ -468,6 +468,8 @@ returnit:
|
||||||
no_decompression = 0;
|
no_decompression = 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
fallback = -1;
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
else if (substring("testload", cur_heap) < 1)
|
else if (substring("testload", cur_heap) < 1)
|
||||||
|
|
|
@ -86,7 +86,6 @@ rawread (int drive, int sector, int byte_offset, int byte_len, int addr)
|
||||||
if (buf_drive != drive)
|
if (buf_drive != drive)
|
||||||
{
|
{
|
||||||
buf_geom = get_diskinfo (drive);
|
buf_geom = get_diskinfo (drive);
|
||||||
printf ("buf_geom = 0x%x\n", buf_geom); /* FIXME */
|
|
||||||
buf_drive = drive;
|
buf_drive = drive;
|
||||||
buf_track = -1;
|
buf_track = -1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -448,8 +448,8 @@ restart:
|
||||||
while (!c);
|
while (!c);
|
||||||
|
|
||||||
/* Both the entry and the fallback failed, so wait for input. */
|
/* Both the entry and the fallback failed, so wait for input. */
|
||||||
printf("Failed!\n Press any key to continue...");
|
printf (" Press any key to continue...");
|
||||||
getkey();
|
getkey ();
|
||||||
goto restart;
|
goto restart;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue