Browse Source

Type fix for plots()

jamesbowman 8 years ago
parent
commit
1661f75398
2 changed files with 2 additions and 2 deletions
  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 xsprite(int ox, int oy, char x, char y, byte image, byte palette, byte rot = 0, byte jk = 0);
   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
 };

+ 1 - 1
go

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