aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/file.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/file.cpp b/common/file.cpp
index 58bb8b559b..df0df9c5f2 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -97,6 +97,8 @@ bool File::open(const char *filename, int mode, byte encbyte) {
return false;
}
+ _encbyte = encbyte;
+
return true;
}