OScall 14

From Sp305x wiki

Jump to: navigation, search

Loads a picture. Arg0 should be a ptr to the following struct:


 typedef struct {
   char *image_data;
   short w;
   short h;
   short type; //actually is 'char type, char 0', but this works better
   short unused;
   short *palette_data;
   short palette_count;
   unsigned char dunno1;
   unsigned char dunno2;
   unsigned char dunno3;
 } pic_desc;


arg1 should be a ptr to a char. This char will then contain the handle of the image

Personal tools