summaryrefslogtreecommitdiff
path: root/include/JSystem/JSupport/JSUInputStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/JSystem/JSupport/JSUInputStream.h')
-rw-r--r--include/JSystem/JSupport/JSUInputStream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/JSystem/JSupport/JSUInputStream.h b/include/JSystem/JSupport/JSUInputStream.h
index 52c80575ee..afde440837 100644
--- a/include/JSystem/JSupport/JSUInputStream.h
+++ b/include/JSystem/JSupport/JSUInputStream.h
@@ -89,6 +89,10 @@ public:
return *this;
}
+ s32 read(bool& val) {
+ return read(&val, sizeof(bool));
+ }
+
s32 read(u8& val) {
return read(&val, sizeof(u8));
}