summaryrefslogtreecommitdiff
path: root/include/JSystem/JSupport
diff options
context:
space:
mode:
authorJcw87 <Jcw87@users.noreply.github.com>2026-01-05 04:07:04 -0800
committerGitHub <noreply@github.com>2026-01-05 04:07:04 -0800
commit5b987084eac71e044ace3ebe21f62d5410b23e62 (patch)
tree5e11e8c9054c7cfde2220fc08f96ea4d6781e83b /include/JSystem/JSupport
parente15ba03caac09f55e3055cbd2bf6d214e9d94372 (diff)
JUtility debug (#3020)
Diffstat (limited to 'include/JSystem/JSupport')
-rw-r--r--include/JSystem/JSupport/JSUInputStream.h4
-rw-r--r--include/JSystem/JSupport/JSUList.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/JSystem/JSupport/JSUInputStream.h b/include/JSystem/JSupport/JSUInputStream.h
index 2763e7f5aa..52c80575ee 100644
--- a/include/JSystem/JSupport/JSUInputStream.h
+++ b/include/JSystem/JSupport/JSUInputStream.h
@@ -89,6 +89,10 @@ public:
return *this;
}
+ s32 read(u8& val) {
+ return read(&val, sizeof(u8));
+ }
+
s32 read(u32& param_0) {
return read(&param_0, 4);
}
diff --git a/include/JSystem/JSupport/JSUList.h b/include/JSystem/JSupport/JSUList.h
index 682dd52e42..20e36c1525 100644
--- a/include/JSystem/JSupport/JSUList.h
+++ b/include/JSystem/JSupport/JSUList.h
@@ -100,6 +100,8 @@ public:
~JSUList() {}
+ void initiate() { JSUPtrList::initiate(); }
+
bool append(JSULink<T>* link) { return this->JSUPtrList::append((JSUPtrLink*)link); }
bool prepend(JSULink<T>* link) { return this->JSUPtrList::prepend((JSUPtrLink*)link); }