]> Shamusworld >> Repos - thunder/blobdiff - src/screen.cpp
Added old email from Lee Saito to notes, various attempts at fixes
[thunder] / src / screen.cpp
index 353229fb8e3d1cff2416828a5739dc27e97df0e5..b95858268db0d0f785013542f67934a56b53ad95 100755 (executable)
@@ -13,7 +13,7 @@
 //
 // Who  When        What
 // ---  ----------  ------------------------------------------------------------
-// JLH  03/12/2003  Ported this crud to Simple Directmedia Layer
+// JLH  03/12/2003  Ported this steaming pile of crap from VESA to SDL
 //
 
 #include "screen.h"
@@ -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;