summaryrefslogtreecommitdiff
path: root/vba_config.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-03-07 21:05:14 -0800
committerBryan Bishop <kanzure@gmail.com>2013-03-07 21:05:14 -0800
commit68c2b097458681c1be69a7bfdf65774fc622134d (patch)
treeb335f654db686d7aa35ef3f721c7830e4c520293 /vba_config.py
parent3f7de71048d3b0275dac4ad5a0c41634a40f53a0 (diff)
parent3c166db9c5a58ddf65760babda6173003e28a466 (diff)
Merge pull request #122 from yenatch/master
vba config shouldn't need fiddling out of the box original-commit-id: 36a0acbde17ede24152840257e8f12918cd9c6b6
Diffstat (limited to 'vba_config.py')
-rw-r--r--vba_config.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/vba_config.py b/vba_config.py
index 8377c88..4433f16 100644
--- a/vba_config.py
+++ b/vba_config.py
@@ -2,13 +2,10 @@
# -*- encoding: utf-8 -*-
import os
-# by default we assume the user has things in their $HOME
-home = os.path.expanduser("~") # or System.getProperty("user.home")
+# by default we assume the user has vba in pokecrystal/extras
+project_path = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..'))
-# and that the pokecrystal project folder is in there somewhere
-project_path = os.path.join(home, os.path.join("code", "pokecrystal"))
-
-# save states are in ~/code/pokecrystal/save-states/
+# save states are in pokecrystal/save-states/
save_state_path = os.path.join(project_path, "save-states")
# where is your rom?