Maelstrom: Fixed the colors

From f4c00fee0abe2ec6a2015552e2f597dfe7bad9f2 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 21 Oct 2011 22:01:11 -0400
Subject: [PATCH] Fixed the colors

---
 screenlib/SDL_FrameBuf.cpp | 1 -
 screenlib/SDL_FrameBuf.h   | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/screenlib/SDL_FrameBuf.cpp b/screenlib/SDL_FrameBuf.cpp
index ee3c2ad0..fd5fa333 100644
--- a/screenlib/SDL_FrameBuf.cpp
+++ b/screenlib/SDL_FrameBuf.cpp
@@ -26,7 +26,6 @@
 #include "physfsrwops.h"
 
 #include "SDL_FrameBuf.h"
-#include "pixel.h"
 
 
 #define LOWER_PREC(X)	((X)/16)	/* Lower the precision of a value */
diff --git a/screenlib/SDL_FrameBuf.h b/screenlib/SDL_FrameBuf.h
index 007769c7..77a7e158 100644
--- a/screenlib/SDL_FrameBuf.h
+++ b/screenlib/SDL_FrameBuf.h
@@ -55,7 +55,7 @@ class FrameBuf {
 	void SetPalette(SDL_Color *colors);
 	/* Map an RGB value to a color pixel */
 	Uint32 MapRGB(Uint8 R, Uint8 G, Uint8 B) {
-		return (0xFF0000 | ((Uint32)R << 16) | ((Uint32)G << 8) | B);
+		return (0xFF000000 | ((Uint32)R << 16) | ((Uint32)G << 8) | B);
 	}
 	/* Set the blit clipping rectangle */
 	void   ClipBlit(SDL_Rect *cliprect) {