1
0
mirror of https://github.com/simh/simh.git synced 2026-02-09 09:42:43 +00:00

Added Large File Support which was missing for NetBSD (and OpenBSD) hosts - reported by Felix Deichmann

This commit is contained in:
Mark Pizzolato
2013-04-12 08:17:01 -07:00
parent 414cf3335f
commit 3dd4121c78
3 changed files with 3 additions and 3 deletions

View File

@@ -2718,7 +2718,7 @@ if (cptr) {
cap = (uint32) get_uint (cptr, 10, 0xFFFFFFFF, &r);
if ((sim_switches & SWMASK ('L')) == 0)
cap = cap * 1954;
if ((r != SCPE_OK) || (cap < RA8U_MINC) || (cap >= max))
if ((r != SCPE_OK) || (cap < RA8U_MINC) || (cap > max))
return SCPE_ARG;
drv_tab[val].lbn = cap;
}