[pypy-svn] r62540 - pypy/trunk/pypy/lang/gameboy

cfbolz at codespeak.net cfbolz at codespeak.net
Wed Mar 4 18:20:22 CET 2009


Author: cfbolz
Date: Wed Mar  4 18:20:21 2009
New Revision: 62540

Modified:
   pypy/trunk/pypy/lang/gameboy/gameboy_implementation.py
Log:
kill unused and wrong method


Modified: pypy/trunk/pypy/lang/gameboy/gameboy_implementation.py
==============================================================================
--- pypy/trunk/pypy/lang/gameboy/gameboy_implementation.py	(original)
+++ pypy/trunk/pypy/lang/gameboy/gameboy_implementation.py	Wed Mar  4 18:20:21 2009
@@ -143,12 +143,7 @@
         else:
             return self.pixels[x+self.width*y]
     
-    def pixel_to_byte(self, int_number):
-        return struct.pack("B", (int_number) & 0xFF, 
-                                (int_number >> 8) & 0xFF, 
-                                (int_number >> 16) & 0xFF)
-        
-        
+       
 # JOYPAD DRIVER ----------------------------------------------------------------
 
 class JoypadDriverImplementation(JoypadDriver):



More information about the Pypy-commit mailing list