diff options
Diffstat (limited to 'emulators/gngb/files/patch-src_vram.h')
-rw-r--r-- | emulators/gngb/files/patch-src_vram.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/emulators/gngb/files/patch-src_vram.h b/emulators/gngb/files/patch-src_vram.h new file mode 100644 index 000000000000..58d3f6404335 --- /dev/null +++ b/emulators/gngb/files/patch-src_vram.h @@ -0,0 +1,24 @@ +--- src/vram.h.orig 2003-05-09 05:26:20 UTC ++++ src/vram.h +@@ -62,7 +62,7 @@ struct mask_shift { + + extern struct mask_shift tab_ms[8]; + extern Uint32 video_flag; +-int scxoff,scyoff; /* shift of the screen */ ++extern int scxoff,scyoff; /* shift of the screen */ + + extern Uint16 grey[4]; + extern Uint8 pal_bck[4]; +@@ -89,10 +89,10 @@ typedef struct { + Uint8 priority; + }GB_SPRITE; + +-GB_SPRITE gb_spr[40]; ++extern GB_SPRITE gb_spr[40]; + extern Uint8 nb_spr; + +-Uint8 rb_on; ++extern Uint8 rb_on; + + extern void (*draw_screen)(void); + |