1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-02-11 10:35:37 +00:00

I7000: Removed un-needed code in i701_sys.c

This commit is contained in:
Richard Cornwell
2017-12-23 10:18:50 -05:00
parent eb25880a7e
commit 19c98d5f39

View File

@@ -171,7 +171,6 @@ sim_load(FILE * fileref, CONST char *cptr, CONST char *fnam, int flag)
}
} else if (match_ext(fnam, "oct")) {
while (fgets(&buf[0], 160, fileref) != 0) {
buf[sizeof(buf)] = '\0';
for(p = &buf[0]; *p == ' ' || *p == '\t'; p++);
/* Grab address */
for(addr = 0; *p >= '0' && *p <= '7'; p++)
@@ -186,7 +185,6 @@ sim_load(FILE * fileref, CONST char *cptr, CONST char *fnam, int flag)
}
} else if (match_ext(fnam, "txt")) {
while (fgets(&buf[0], 160, fileref) != 0) {
buf[sizeof(buf)] = '\0';
for(p = &buf[0]; *p == ' ' || *p == '\t'; p++);
/* Grab address */
for(addr = 0; *p >= '0' && *p <= '7'; p++)