summaryrefslogtreecommitdiff
path: root/src/crypto.c
diff options
context:
space:
mode:
authorjakob <jakob@memeware.net>2017-01-13 20:54:39 -0500
committerjakob <jakob@memeware.net>2017-01-13 20:54:39 -0500
commitd6a443127b6f8173aeab214942e0b6f31f7c4224 (patch)
tree0a148b4b77019e559342aee9bd12923c98d6d90b /src/crypto.c
parentb51100b3330605a6c9bdb3e07e7f9981ff73f6ec (diff)
Fixed memory leaking issues and introduced a feature to list the contents of an archive.
Diffstat (limited to 'src/crypto.c')
-rw-r--r--src/crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto.c b/src/crypto.c
index 2d527c7..f6e2cd8 100644
--- a/src/crypto.c
+++ b/src/crypto.c
@@ -20,9 +20,9 @@
/* Returns the encryption keys for a given game value. */
-key get_encryption_key(game current_game) {
+key get_encryption_key(game_type game) {
key encryption_key;
- switch (current_game) {
+ switch (game) {
case NEKOPARA_VOLUME_0:
encryption_key.master_key = 0x1548e29c;
encryption_key.initial_fallback_key = 0x9c;