summaryrefslogtreecommitdiff
path: root/context.h
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 /context.h
parent5df5d5e1c2acbcabace6936ee7b763f7995f9d0a (diff)
PSOV3Encryption: Rename `encrypt()` -> `init()`
Shoutouts to fuziqersoftware for pointing this out.
Diffstat (limited to 'context.h')
-rw-r--r--context.h4
1 files changed, 2 insertions, 2 deletions
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);