1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-06 01:28:57 +00:00

Adds an assert to check handling of compressed data.

This commit is contained in:
Thomas Harte 2021-04-25 18:02:31 -04:00
parent cc41ccc5f1
commit 8d86aa69bc

View File

@ -193,6 +193,7 @@ std::unique_ptr<Analyser::Static::Target> Z80::load(const std::string &file_name
}
}
assert(location + block_size == file.tell());
file.seek(location + block_size, SEEK_SET);
}