summaryrefslogtreecommitdiffstats
path: root/PrivateAccess.cpp
diff options
context:
space:
mode:
authormetaphysicsIO <103212704+metaphysicsIO@users.noreply.github.com>2023-12-13 10:39:04 -0600
committermetaphysicsIO <103212704+metaphysicsIO@users.noreply.github.com>2023-12-13 10:39:04 -0600
commita9e2ab00ba0042519ada63083675140466aaf984 (patch)
tree6c2396b9ff9294015da04539d9332be293d4c732 /PrivateAccess.cpp
parentb5bb6a2c84edf5fa6cd65560b6d8c781e29ab585 (diff)
downloadPSE-a9e2ab00ba0042519ada63083675140466aaf984.tar.gz
You only need to generate the hashmap once, so it's moved to the constructor.
Diffstat (limited to 'PrivateAccess.cpp')
-rw-r--r--PrivateAccess.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/PrivateAccess.cpp b/PrivateAccess.cpp
index 36a90ed..beb2b70 100644
--- a/PrivateAccess.cpp
+++ b/PrivateAccess.cpp
@@ -9,7 +9,14 @@ SavEdit::SavEdit()
*/
filename = "Pokemon - Red Version (USA, Europe) (SGB Enhanced).sav";
+
lang = en_US;
+
+ // Generate the hashmaps
+ pkmnMap();
+ moveMap();
+ //TODO: itemMap();
+
}
std::string SavEdit::getFilename()