mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Further lightened up my file-is-ZX81 check.
This commit is contained in:
parent
eacaafeb48
commit
d853841dd5
@ -60,7 +60,7 @@ static std::shared_ptr<File> ZX81FileFromData(const std::vector<uint8_t> &data)
|
||||
|
||||
if(data.size() < data_pointer + 0x405e - 0x4009) return nullptr;
|
||||
|
||||
if(data[data_pointer]) return nullptr;
|
||||
// if(data[data_pointer]) return nullptr;
|
||||
|
||||
uint16_t vars = short_at(data_pointer + 0x4010 - 0x4009, data);
|
||||
uint16_t end_of_file = short_at(data_pointer + 0x4014 - 0x4009, data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user