summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util
diff options
context:
space:
mode:
author Sergey Svishchev <shattered@users.noreply.github.com>2019-05-08 23:26:34 +0300
committer Sergey Svishchev <shattered@users.noreply.github.com>2019-06-02 15:01:26 +0300
commit63c0ee96ec9dd6fe8ed244e9ffa54f322b34fc3f (patch)
treec0ad49cf934c0b34abdf4de4716bf91ba397cb57 /src/lib/util
parent6deb0d35e38ff52dacc0e916e10022eb86b680d7 (diff)
imgtool: MT 6693 wip, solves mess_hd issue (nw)
Diffstat (limited to 'src/lib/util')
-rw-r--r--src/lib/util/chd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/util/chd.cpp b/src/lib/util/chd.cpp
index 9714b43535c..3b61d044cd3 100644
--- a/src/lib/util/chd.cpp
+++ b/src/lib/util/chd.cpp
@@ -788,6 +788,7 @@ chd_error chd_file::open(util::core_file &file, bool writeable, chd_file *parent
m_file = &file;
m_owns_file = false;
m_parent = parent;
+ m_cachehunk = ~0;
return open_common(writeable);
}