summaryrefslogtreecommitdiff
path: root/pokemontools/vba/vba.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-11-09 15:25:34 -0600
committerBryan Bishop <kanzure@gmail.com>2013-11-09 15:25:34 -0600
commit54e2b189b8b9765d17d4c0d05675ac70c2bec2ac (patch)
treea3173186236a8e730977c3cba6dbb241daf84878 /pokemontools/vba/vba.py
parentb363e6cca00c05687c34d735abb93d5117f7b209 (diff)
parentff55a23ece3f74ad30ef2f10d81c54f464d5988b (diff)
Merge branch 'master' into vba-automation
Conflicts: pokemontools/vba/vba.py
Diffstat (limited to 'pokemontools/vba/vba.py')
-rw-r--r--pokemontools/vba/vba.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pokemontools/vba/vba.py b/pokemontools/vba/vba.py
index 3367dee..cb0070d 100644
--- a/pokemontools/vba/vba.py
+++ b/pokemontools/vba/vba.py
@@ -22,6 +22,13 @@ import keyboard
# just use a default config for now until the globals are removed completely
import pokemontools.configuration as configuration
+config = configuration.Config()
+project_path = config.path
+save_state_path = config.save_state_path
+rom_path = config.rom_path
+
+if not os.path.exists(rom_path):
+ raise Exception("rom_path is not configured properly; edit vba_config.py? " + str(rom_path))
import vba_wrapper