[pypy-svn] r62710 - pypy/trunk/pypy/translator/goal

tverwaes at codespeak.net tverwaes at codespeak.net
Sat Mar 7 15:43:32 CET 2009


Author: tverwaes
Date: Sat Mar  7 15:43:32 2009
New Revision: 62710

Modified:
   pypy/trunk/pypy/translator/goal/targetgbimplementation.py
Log:
update


Modified: pypy/trunk/pypy/translator/goal/targetgbimplementation.py
==============================================================================
--- pypy/trunk/pypy/translator/goal/targetgbimplementation.py	(original)
+++ pypy/trunk/pypy/translator/goal/targetgbimplementation.py	Sat Mar  7 15:43:32 2009
@@ -7,8 +7,6 @@
 
 print ROM_PATH
 
-use_rsdl = False
-
 def entry_point(argv=None):
     if argv is not None and len(argv) > 1:
         filename = argv[1]
@@ -22,8 +20,10 @@
     except:
         print "Corrupt Cartridge"
         gameBoy.load_cartridge_file(str(filename), verify=False)
+
+    gameBoy.open_window()
     gameBoy.mainLoop()
-    #pdb.runcall(gameBoy.mainLoop)
+
     return 0
     
 
@@ -39,6 +39,7 @@
 # STARTPOINT ===================================================================
 
 if __name__ == '__main__':
+    use_rsdl = False
     if use_rsdl and sys.platform == 'darwin':
         from AppKit import NSApplication
         NSApplication.sharedApplication()



More information about the Pypy-commit mailing list