mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-29 16:29:08 +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++) {
|
for(size_t c = 0; c < data_catalogue->files.size(); c++) {
|
||||||
// Check for whether this is [potentially] BASIC.
|
// 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++;
|
basic_files++;
|
||||||
last_basic_file = c;
|
last_basic_file = c;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user