Fixed the ID extractor and aligned strings

This commit is contained in:
Benjamyn Love 2023-12-04 12:29:02 +11:00
parent 16eddd406d
commit 37427feb04

View File

@ -101,7 +101,7 @@ int main()
inLine = 1;
i += GAME_OFFSET;
id = get_id(&ptr[i]);
i += ID_OFFSET + 2;
i += ID_OFFSET + 1;
continue;
}
if (ptr[i + j] == '\n')
@ -109,7 +109,6 @@ int main()
memcpy(tmpLine, &ptr[i], j);
printf("ID: %i |", id);
parse_game_data(tmpLine, games);
i++;
i += j;
break;
}