summaryrefslogtreecommitdiff
path: root/include/pso/PSOV3Encryption.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-28 16:29:37 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-28 16:29:37 -0400
commiteff1cad4048d796fb3116bf07162a0f6d67e8c2b (patch)
tree294488f9bd24f659a3462234f02d4a667e311e3f /include/pso/PSOV3Encryption.h
parentf6c047795d651962374fcb20d37359c763aeb9c8 (diff)
macros: Make the getter of `PRIVATE_MEMBER_ACCESSORS` return a
reference, and add `PRIVATE_MEMBER_ACCESSORS_NON_REF`
Diffstat (limited to 'include/pso/PSOV3Encryption.h')
-rw-r--r--include/pso/PSOV3Encryption.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pso/PSOV3Encryption.h b/include/pso/PSOV3Encryption.h
index 0526cfb..966ff70 100644
--- a/include/pso/PSOV3Encryption.h
+++ b/include/pso/PSOV3Encryption.h
@@ -24,8 +24,8 @@ public:
virtual u32 next() override;
PRIVATE_MEMBER_ACCESSORS_ARRAY(u32, buffer, 522);
- PRIVATE_MEMBER_ACCESSORS(u32 *, buffer_start);
- PRIVATE_MEMBER_ACCESSORS(u32 *, buffer_end);
+ PRIVATE_MEMBER_ACCESSORS_NON_REF(u32 *, buffer_start);
+ PRIVATE_MEMBER_ACCESSORS_NON_REF(u32 *, buffer_end);
private:
TArray<u32, 522> m_buffer;