summaryrefslogtreecommitdiff
path: root/include/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-28 09:21:45 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-28 09:26:29 -0400
commit8453a85359ef9dca831f78d56e56da8eb8415707 (patch)
tree7328bfdb5196fdda17cad909e59eeca31a2a5f1d /include/pso
parent5df5d5e1c2acbcabace6936ee7b763f7995f9d0a (diff)
PSOV3Encryption: Rename `encrypt()` -> `init()`
Shoutouts to fuziqersoftware for pointing this out.
Diffstat (limited to 'include/pso')
-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 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);