1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-23 03:32:32 +00:00

Ensured that resetting a TZX resets the is-at-end flag.

This commit is contained in:
Thomas Harte 2017-07-17 07:52:28 -04:00
parent 2179edc7fe
commit 127b584e79

View File

@ -35,6 +35,7 @@ TZX::TZX(const char *file_name) :
void TZX::virtual_reset() {
clear();
set_is_at_end(false);
fseek(file_, 0x0a, SEEK_SET);
}