Merge pull request #122 from yenatch/master

vba config shouldn't need fiddling out of the box
This commit is contained in:
Bryan Bishop 2013-03-07 21:05:14 -08:00
commit 36a0acbde1
2 changed files with 4 additions and 7 deletions

View File

@ -175,7 +175,7 @@ def button_combiner(buttons):
for each in buttons: for each in buttons:
result |= button_masks[each] result |= button_masks[each]
print "button: " + str(result) #print "button: " + str(result)
return result return result
def load_rom(path=None): def load_rom(path=None):

View File

@ -2,13 +2,10 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
import os import os
# by default we assume the user has things in their $HOME # by default we assume the user has vba in pokecrystal/extras
home = os.path.expanduser("~") # or System.getProperty("user.home") project_path = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..'))
# and that the pokecrystal project folder is in there somewhere # save states are in pokecrystal/save-states/
project_path = os.path.join(home, os.path.join("code", "pokecrystal"))
# save states are in ~/code/pokecrystal/save-states/
save_state_path = os.path.join(project_path, "save-states") save_state_path = os.path.join(project_path, "save-states")
# where is your rom? # where is your rom?