From afbed0623885032d5a03b82ad513bef688b06587 Mon Sep 17 00:00:00 2001 From: yenatch Date: Thu, 7 Mar 2013 23:27:55 -0500 Subject: vba - suppress joypad input message original-commit-id: 91b24953f615569d5130cb1ccceffa8149cc42c0 --- vba.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vba.py b/vba.py index 8ed0d7b..6126576 100644 --- a/vba.py +++ b/vba.py @@ -166,7 +166,7 @@ def button_combiner(buttons): for each in buttons: result |= button_masks[each] - print "button: " + str(result) + #print "button: " + str(result) return result def load_rom(path=None): -- cgit v1.2.3 From 3c166db9c5a58ddf65760babda6173003e28a466 Mon Sep 17 00:00:00 2001 From: yenatch Date: Thu, 7 Mar 2013 23:39:21 -0500 Subject: vba - generalize project path in config original-commit-id: a46a4b35a2fa3ceefb6a283480a4e6a9efe8424c --- vba_config.py | 9 +++------ 1 file 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? -- cgit v1.2.3