From 8453a85359ef9dca831f78d56e56da8eb8415707 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Tue, 28 Feb 2023 09:21:45 -0400 Subject: PSOV3Encryption: Rename `encrypt()` -> `init()` Shoutouts to fuziqersoftware for pointing this out. --- context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'context.h') diff --git a/context.h b/context.h index 142e060..2fcdc7f 100644 --- a/context.h +++ b/context.h @@ -836,7 +836,7 @@ public: PSOEncryption(); virtual void update_stream() = 0; virtual ~PSOEncryption(); - virtual void encrypt(u32 seed) = 0; + virtual void init(u32 seed) = 0; virtual u32 next() = 0; }; @@ -845,7 +845,7 @@ public: PSOV3Encryption(); virtual void update_stream() override; virtual ~PSOV3Encryption(); - virtual void encrypt(u32 seed) override; + virtual void init(u32 seed) override; virtual u32 next() override; PRIVATE_MEMBER_ACCESSORS_ARRAY(u32, buffer, 522); -- cgit v1.2.3-13-gbd6f