[pypy-svn] r54985 - in pypy/dist/pypy: lang/gameboy rlib/rsdl rlib/rsdl/test translator/goal

cami at codespeak.net cami at codespeak.net
Tue May 20 11:09:25 CEST 2008


Author: cami
Date: Tue May 20 11:09:25 2008
New Revision: 54985

Added:
   pypy/dist/pypy/lang/gameboy/
      - copied from r54952, pypy/branch/gameboy-emulator/pypy/lang/gameboy/
   pypy/dist/pypy/lang/gameboy/cartridge.py
      - copied unchanged from r54984, pypy/branch/gameboy-emulator/pypy/lang/gameboy/cartridge.py
   pypy/dist/pypy/translator/goal/targetgbrom4.py
      - copied unchanged from r54952, pypy/branch/gameboy-emulator/pypy/translator/goal/targetgbrom4.py
Modified:
   pypy/dist/pypy/rlib/rsdl/RSDL.py
   pypy/dist/pypy/rlib/rsdl/test/test_video.py
Log:
moved gameboy branch


Modified: pypy/dist/pypy/rlib/rsdl/RSDL.py
==============================================================================
--- pypy/dist/pypy/rlib/rsdl/RSDL.py	(original)
+++ pypy/dist/pypy/rlib/rsdl/RSDL.py	Tue May 20 11:09:25 2008
@@ -122,9 +122,9 @@
 # ------------------------------------------------------------------------------
 
 def Init(flags):
-#    if sys.platform == 'darwin':
-#        from AppKit import NSApplication
-#        NSApplication.sharedApplication()
+    if sys.platform == 'darwin':
+        from AppKit import NSApplication
+        NSApplication.sharedApplication()
     return _Init(flags)
 
 # ------------------------------------------------------------------------------

Modified: pypy/dist/pypy/rlib/rsdl/test/test_video.py
==============================================================================
--- pypy/dist/pypy/rlib/rsdl/test/test_video.py	(original)
+++ pypy/dist/pypy/rlib/rsdl/test/test_video.py	Tue May 20 11:09:25 2008
@@ -210,7 +210,6 @@
                     c = white
                 else:
                     c = black
-                    
                 RSDL_helper.set_pixel(self.screen, i, j, c)
         RSDL.UnlockSurface(self.screen)
         RSDL.Flip(self.screen)



More information about the Pypy-commit mailing list