瀏覽代碼

Type fix for plots()

jamesbowman 9 年之前
父節點
當前提交
1661f75398
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      GD.h
  2. 1 1
      go

+ 1 - 1
GD.h

@@ -73,7 +73,7 @@ public:
   void __wstartspr(unsigned int spr = 0);
   void __wstartspr(unsigned int spr = 0);
   void xsprite(int ox, int oy, char x, char y, byte image, byte palette, byte rot = 0, byte jk = 0);
   void xsprite(int ox, int oy, char x, char y, byte image, byte palette, byte rot = 0, byte jk = 0);
   void xhide();
   void xhide();
-  void plots(int ox, int oy, const sprplot *psp, byte count, byte rot, byte jk);
+  void plots(int ox, int oy, const PROGMEM sprplot *psp, byte count, byte rot, byte jk);
 
 
   byte spr;   // Current sprite, incremented by xsprite/xhide above
   byte spr;   // Current sprite, incremented by xsprite/xhide above
 };
 };

+ 1 - 1
go

@@ -6,6 +6,6 @@ cp Gameduino.zip ~
 rm -rf $HOME/Arduino/libraries/Gameduino/
 rm -rf $HOME/Arduino/libraries/Gameduino/
 unzip -o ~/Gameduino.zip -d $HOME/Arduino/libraries/ &&
 unzip -o ~/Gameduino.zip -d $HOME/Arduino/libraries/ &&
 
 
-./mkino manicminer
+./mkino manicminer ; exit
 ./runtests `cat testset` ; exit
 ./runtests `cat testset` ; exit
 # python /usr/share/doc/python-serial/examples/miniterm.py /dev/ttyUSB0 115200
 # python /usr/share/doc/python-serial/examples/miniterm.py /dev/ttyUSB0 115200