mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Picked up another subtlety: disk names may be outside of the ones a user could type, in which case they definitely don't affect the decision.
This commit is contained in:
parent
ffb1a14ace
commit
bfe297052d
@ -39,6 +39,10 @@ static void InspectDataCatalogue(
|
||||
size_t last_implicit_suffixed_file = 0;
|
||||
|
||||
for(size_t c = 0; c < data_catalogue->files.size(); c++) {
|
||||
// Files with nothing but spaces in their name can't be loaded by the user, so disregard them.
|
||||
if(data_catalogue->files[c].type == " " && data_catalogue->files[c].name == " ")
|
||||
continue;
|
||||
|
||||
// Check for whether this is [potentially] BASIC.
|
||||
if(data_catalogue->files[c].data.size() >= 128 && !((data_catalogue->files[c].data[18] >> 1) & 7)) {
|
||||
basic_files++;
|
||||
|
Loading…
Reference in New Issue
Block a user