diff options
Diffstat (limited to 'emulators/gngb/files/patch-src_sgb.c')
-rw-r--r-- | emulators/gngb/files/patch-src_sgb.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/emulators/gngb/files/patch-src_sgb.c b/emulators/gngb/files/patch-src_sgb.c new file mode 100644 index 000000000000..18d197e26ebe --- /dev/null +++ b/emulators/gngb/files/patch-src_sgb.c @@ -0,0 +1,14 @@ +--- src/sgb.c.orig 2003-08-09 09:23:37 UTC ++++ src/sgb.c +@@ -28,6 +28,11 @@ + #define SGB_CMD_END() {sgb.cmd=0xff;sgb.nb_pack=-1;} + #define SGB_COLOR(c) ((((c)&0x7C00)>>10)|(((c)&0x3E0)<<1)|(((c)&0x1F)<<11)) + ++SGB sgb; ++Uint8 sgb_mask; ++ ++Uint16 sgb_pal[4][4]; /* 4 pallete of 4 colour */ ++Uint8 sgb_pal_map[20][18]; /* Map of Pallete Tiles */ + Uint8 sgb_tiles[256*32]; + Uint8 sgb_map[32*32]; + Uint8 sgb_att[32*32]; |