X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fscreen.cpp;h=654c277e8e87f24f9590cd7a469cbe386be321fa;hb=f76a576fe270d4bd78eb4070eb9604115a096c2d;hp=353229fb8e3d1cff2416828a5739dc27e97df0e5;hpb=43a80363f784b8dc10e438024149da0d993c7eca;p=thunder diff --git a/src/screen.cpp b/src/screen.cpp index 353229f..654c277 100755 --- a/src/screen.cpp +++ b/src/screen.cpp @@ -264,7 +264,7 @@ void BlitChar(SDL_Surface * scr, uint8 * chr, uint8 * ram) // void DrawSprites(uint8 priority) { - extern uint8 * gram1; // Game RAM space + extern uint8 gram1[]; // Game RAM space for(uint16 i=0x5800; i<0x6000; i+=0x10) { @@ -291,7 +291,7 @@ void DrawSprites(uint8 priority) // void Sprite(uint32 sprnum, uint16 x, uint16 y, uint8 flip, uint16 spr_id) { - extern uint8 * spr_rom; + extern uint8 spr_rom[]; // To show or not to show a 16x16 block in the 4x4 grid... bool horiz_bl = false, vert_bl = false; uint32 sc_addr;