aboutsummaryrefslogtreecommitdiff
path: root/src/Savestate.h
diff options
context:
space:
mode:
authorRSDuck <RSDuck@users.noreply.github.com>2020-09-04 20:37:14 +0200
committerRSDuck <RSDuck@users.noreply.github.com>2020-09-04 20:37:14 +0200
commit9772201345ab47cc820fd6c08247c133605f8b84 (patch)
treeb38e4a1240e31787e68bb0e8ce92f6e5c168e72e /src/Savestate.h
parent94d12c68b3cc8240d52c4123cf804641fa66b40a (diff)
remove some UB
- savestates used to read a four bytes from a single byte value - a few unassigned variables - some other things - also make the ROR macro an inline function
Diffstat (limited to 'src/Savestate.h')
-rw-r--r--src/Savestate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Savestate.h b/src/Savestate.h
index a5447b3..c3c2e1d 100644
--- a/src/Savestate.h
+++ b/src/Savestate.h
@@ -46,6 +46,8 @@ public:
void Var32(u32* var);
void Var64(u64* var);
+ void Bool32(bool* var);
+
void VarArray(void* data, u32 len);
bool IsAtleastVersion(u32 major, u32 minor)