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. --- include/pso/PSOV3Encryption.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/pso/PSOV3Encryption.h b/include/pso/PSOV3Encryption.h index 5def0f2..0526cfb 100644 --- a/include/pso/PSOV3Encryption.h +++ b/include/pso/PSOV3Encryption.h @@ -11,7 +11,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; }; @@ -20,7 +20,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