From 8f6c0f6a8d3b70eb61460b2afb028d1b36061946 Mon Sep 17 00:00:00 2001
From: Thomas Harte <thomas.harte@gmail.com>
Date: Sat, 26 May 2018 19:05:35 -0400
Subject: [PATCH] Eliminates `vars` test.

At least Humpty Dumpty is a working .p that doesn't satisfy the test.
---
 Storage/Data/ZX8081.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Storage/Data/ZX8081.cpp b/Storage/Data/ZX8081.cpp
index 8227a655b..7837d6e5b 100644
--- a/Storage/Data/ZX8081.cpp
+++ b/Storage/Data/ZX8081.cpp
@@ -72,7 +72,7 @@ static std::shared_ptr<File> ZX81FileFromData(const std::vector<uint8_t> &data)
 	if(data_pointer + end_of_file - 0x4009 > data.size()) return nullptr;
 
 	// check for the proper ordering of buffers
-	if(vars > end_of_file) return nullptr;
+//	if(vars > end_of_file) return nullptr;
 //	if(end_of_file > display_address) return nullptr;
 
 	// TODO: does it make sense to inspect the tokenised BASIC?