mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-13 22:32:03 +00:00
Made an attempt not to interrogate files that definitely don't have the normal header.
This commit is contained in:
parent
a12671010a
commit
44dace2eef
@ -38,7 +38,7 @@ static void InspectDataCatalogue(
|
||||
|
||||
for(size_t c = 0; c < data_catalogue->files.size(); c++) {
|
||||
// Check for whether this is [potentially] BASIC.
|
||||
if(!((data_catalogue->files[c].data[18] >> 1) & 7)) {
|
||||
if(data_catalogue->files[c].data.size() >= 128 && !((data_catalogue->files[c].data[18] >> 1) & 7)) {
|
||||
basic_files++;
|
||||
last_basic_file = c;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user