Explorar o código

Merge branch 'master' of github.com:jamesbowman/gd2-asset

James Bowman %!s(int64=6) %!d(string=hai) anos
pai
achega
d98f0eab5c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gameduino2/base.py

+ 1 - 1
gameduino2/base.py

@@ -26,7 +26,7 @@ class GD2:
     def BitmapSize(self, filter,wrapx,wrapy,width,height):
         self.c4((8 << 24) | ((filter & 1) << 20) | ((wrapx & 1) << 19) | ((wrapy & 1) << 18) | ((width & 511) << 9) | ((height & 511) << 0))
     def BitmapSource(self, addr):
-        self.c4((1 << 24) | ((addr & 1048575) << 0))
+        self.c4((1 << 24) | ((addr & 8388607) << 0))
     def BitmapTransformA(self, a):
         self.c4((21 << 24) | ((a & 131071) << 0))
     def BitmapTransformB(self, b):