X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fscreen.cpp;h=654c277e8e87f24f9590cd7a469cbe386be321fa;hb=fa2e10a964b5f0305656d858a3a8273baad12624;hp=353229fb8e3d1cff2416828a5739dc27e97df0e5;hpb=90c08d023e15680c42bd7320418099ff6d690e83;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;