diff --exclude=.cvsignore --exclude=.deps --exclude=CVS -Pur ./scummvm.cvs/backends/sdl/graphics.cpp ./scummvm/backends/sdl/graphics.cpp
--- ./scummvm.cvs/backends/sdl/graphics.cpp	Mon Aug 15 01:23:41 2005
+++ ./scummvm/backends/sdl/graphics.cpp	Tue Sep 20 17:28:26 2005
@@ -42,6 +42,7 @@
 #endif
 	{"tv2x", "TV2x", GFX_TV2X},
 	{"dotmatrix", "DotMatrix", GFX_DOTMATRIX},
+	{"pm2x", "PM2x", GFX_PM2X},
 	{0, 0, 0}
 };
 
@@ -67,7 +68,8 @@
 		{ GFX_NORMAL, GFX_SUPER2XSAI, -1, -1 },
 		{ GFX_NORMAL, GFX_SUPEREAGLE, -1, -1 },
 		{ GFX_NORMAL, GFX_TV2X, -1, -1 },
-		{ GFX_NORMAL, GFX_DOTMATRIX, -1, -1 }
+		{ GFX_NORMAL, GFX_DOTMATRIX, -1, -1 },
+		{ GFX_NORMAL, GFX_PM2X, -1, -1 }
 	};
 
 static int cursorStretch200To240(uint8 *buf, uint32 pitch, int width, int height, int srcX, int srcY, int origSrcY);
@@ -198,6 +200,10 @@
 	case GFX_DOTMATRIX:
 		newScaleFactor = 2;
 		newScalerProc = DotMatrix;
+		break;
+	case GFX_PM2X:
+		newScaleFactor = 2;
+		newScalerProc = PM2x;
 		break;
 #endif // __SYMBIAN32__
 
diff --exclude=.cvsignore --exclude=.deps --exclude=CVS -Pur ./scummvm.cvs/backends/sdl/sdl-common.h ./scummvm/backends/sdl/sdl-common.h
--- ./scummvm.cvs/backends/sdl/sdl-common.h	Sat Jul 30 21:10:55 2005
+++ ./scummvm/backends/sdl/sdl-common.h	Tue Sep 20 12:44:11 2005
@@ -49,7 +49,8 @@
 	GFX_HQ2X = 8,
 	GFX_HQ3X = 9,
 	GFX_TV2X = 10,
-	GFX_DOTMATRIX = 11
+	GFX_DOTMATRIX = 11,
+	GFX_PM2X = 12
 };
 
 
diff --exclude=.cvsignore --exclude=.deps --exclude=CVS -Pur ./scummvm.cvs/common/module.mk ./scummvm/common/module.mk
--- ./scummvm.cvs/common/module.mk	Sat May 14 22:56:37 2005
+++ ./scummvm/common/module.mk	Tue Sep 20 12:46:09 2005
@@ -21,7 +21,8 @@
 	common/scaler/scale2x.o \
 	common/scaler/scale3x.o \
 	common/scaler/scalebit.o \
-	common/scaler/thumbnail.o
+	common/scaler/thumbnail.o \
+	common/scaler/pm2x.o
 
 ifndef DISABLE_HQ_SCALERS
 MODULE_OBJS += \
diff --exclude=.cvsignore --exclude=.deps --exclude=CVS -Pur ./scummvm.cvs/common/scaler/pm2x.cpp ./scummvm/common/scaler/pm2x.cpp
--- ./scummvm.cvs/common/scaler/pm2x.cpp	Thu Jan  1 00:00:00 1970
+++ ./scummvm/common/scaler/pm2x.cpp	Tue Sep 20 17:32:21 2005
@@ -0,0 +1,217 @@
+/* ScummVM - Scumm Interpreter
+ * Copyright (C) 2001  Ludvig Strigeus
+ * Copyright (C) 2001-2005 The ScummVM project
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ *
+ * $Header: $
+ *
+ */
+
+#include "common/scaler.h"
+#include "common/scaler/intern.h"
+
+//
+// code taken from Pablo Medina (aka "pm") (pjmedina3@yahoo.com)
+// you can find it here: http://2xpm.freeservers.com
+// thanks for his great work
+// implemented and fixed for ScummVM by Johannes Schickel (aka "LordHoto") (lordhoto [at] gmail [dot] com)
+//
+
+template<int bitFormat>
+static inline uint16 alphaBlendW128(uint16 A, uint16 B) {
+	return ((A & highBits) >> 1) + ((B & highBits) >> 1);
+}
+
+template<int bitFormat>
+static inline uint16 alphaBlendW64(uint16 A, uint16 B) {
+	return (redblueMask & ((redblueMask & A) + (((redblueMask & B) - (redblueMask & A)) >> 2))) |
+		(greenMask & ((greenMask & A) + (((greenMask & B) - (greenMask & A)) >> 2)));
+}
+
+template<int bitFormat>
+static inline uint16 alphaBlendW192(uint16 A, uint16 B) {
+	return (redblueMask & ((redblueMask & A) + ((((redblueMask & B) - (redblueMask & A)) * 192) >> 8))) |
+		(greenMask & ((greenMask & A) + ((((greenMask & B) - (greenMask & A)) * 192) >> 8)));
+}
+
+template<int bitFormat>
+void PM2x_intern(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
+	uint32 nextLineSrc = srcPitch >> 1;
+	uint32 nextLine = dstPitch >> 1;
+	uint32 completeLineSrc = (srcPitch >> 1) - width;
+	uint32 completeLine = (dstPitch >> 1) - (2*width);
+
+	const uint16 *startAddr2 = (const uint16*)srcPtr;
+	const uint16 *startAddr1 = startAddr2;
+	const uint16 *startAddr3 = startAddr2 + nextLineSrc;
+
+	uint16 *dstPixel = (uint16*)dstPtr;
+	int y = height;
+
+	uint16 E[4] = { 0, 0, 0, 0 };
+
+	while (y--) {
+		if (!y)
+			startAddr3 = startAddr2;
+
+		byte pprev = 0;
+		int x = width;
+
+		while (x--) {
+			uint16 PB = startAddr1[0];
+			uint16 PE = startAddr2[0];
+			uint16 PH = startAddr3[0];
+
+			uint16 PA = startAddr1[pprev];
+			uint16 PD = startAddr2[pprev];
+			uint16 PG = startAddr3[pprev];
+
+			uint16 PC = 0, PF = 0, PI_ = 0;
+
+			if (x) {
+				PC = startAddr1[1];
+				PF = startAddr2[1];
+				PI_ = startAddr3[1];
+			} else {
+				PC = startAddr1[0];
+				PF = startAddr2[0];
+				PI_ = startAddr3[0];
+			}
+
+			bool doNotReblit = false;
+			E[0] = E[1] = E[2] = E[3] = PE;
+
+			if (!doNotReblit) {
+				if (PD != PF) {
+					if ((PE != PD) && (PD == PH) && (PD == PI_) && (PE != PG)
+						&& ((PD != PG) || (PE != PF) || (PA != PD))
+						&& (!((PD == PA) && (PD == PG) && (PE == PB) && (PE == PF)))) {
+						E[2] = PH;
+						E[3] = alphaBlendW128<bitFormat>(E[3], PH);
+						doNotReblit = true;
+					} else if ((PE != PF) && (PF == PH) && (PF == PG) && (PE != PI_)
+						&& ((PF != PI_) || (PE != PD) || (PC != PF))
+						&& (!((PF == PC) && (PF == PI_) && (PE == PB) && (PE == PD)))) {
+						E[2] = alphaBlendW128<bitFormat>(E[2], PH);				
+						E[3] = PH;	
+						doNotReblit = true;
+					}
+				}
+
+				if (PB != PH) {
+					if (PE != PB) {
+						if ((PA != PB) || (PB != PC) || (PE != PH)) {
+							if ((PB == PD) && (PB == PG) && (PE != PA)							
+								&& (!((PD == PA) && (PD == PC) && (PE == PH) && (PE == PF)))) {					
+								E[0] = alphaBlendW192<bitFormat>(E[0], PB);
+								E[2] = alphaBlendW64<bitFormat>(E[2], PB);					
+								doNotReblit = true;
+							} else if ((PB == PF) && (PB == PI_) && (PE != PC)							
+								&& (!((PF == PC) && (PF == PA) && (PE == PH) && (PE == PD)))) {														
+								E[1] = alphaBlendW128<bitFormat>(E[1], PB);
+								E[3] = alphaBlendW64<bitFormat>(E[3], PB);					
+								doNotReblit = true;
+							}				
+						}
+					}
+				}
+
+				if (PE != PH) {
+					if ((PG != PH) || (PE != PB) || (PH != PI)) {
+						if ((PH == PD) && (PH == PA) && (PE != PG)							
+							&& (!((PD == PG) && (PD == PI) && (PE == PB) && (PE == PF)))) {					
+							E[2] = alphaBlendW192<bitFormat>(E[2], PH);
+							E[0] = alphaBlendW64<bitFormat>(E[0], PH);					
+							doNotReblit = true;
+						} else if ((PH == PF) && (PH == PC) && (PE != PI)							
+							&& (!((PF == PI) && (PF == PG) && (PE == PB) && (PE == PD)))) {
+							E[3] = alphaBlendW192<bitFormat>(E[3], PH);
+							E[1] = alphaBlendW64<bitFormat>(E[1], PH);
+							doNotReblit = true;
+						}
+					}
+				}
+			}
+
+			if (!doNotReblit) {
+				if ((PB != PH) && (PD != PF))
+				{						
+					if ((PB == PD) && (PE != PD)
+						&& (!((PE == PA) && (PB == PC) && (PE == PF))) // Block
+						&& (!((PB == PA) && (PB == PG)))
+						&& (!((PD == PA) && (PD == PC) && (PE == PF) && (PG != PD) && (PG != PE))))
+						E[0] = alphaBlendW128<bitFormat>(E[0], PB);
+
+					if ((PB == PF) && (PE != PF)		
+						&& (!((PE == PC) && (PB == PA) && (PE == PD))) // Block
+						&& (!((PB == PC) && (PB == PI)))					
+						&& (!((PF == PA) && (PF == PC) && (PE == PD) && (PI != PF) && (PI != PE))))
+						E[1] = alphaBlendW128<bitFormat>(E[1], PB);
+
+					if ((PH == PD) && ((PE != PG) || (PE != PD))
+						&& (!((PE == PG) && (PH == PI) && (PE == PF))) // Block
+						&& (!((PH == PG) && (PH == PA)))					
+						&& (!((PD == PG) && (PD == PI) && (PE == PF) && (PA != PD) && (PA != PE))))									
+						E[2] = alphaBlendW128<bitFormat>(E[2], PB);					
+
+					if ((PH == PF) && ((PE != PI) || (PE != PF))	
+						&& (!((PE == PI) && (PH == PG) && (PE == PD))) // Block
+						&& (!((PH == PI) && (PH == PC)))					
+						&& (!((PF == PG) && (PF == PI) && (PE == PD) && (PC != PF) && (PI != PE))))
+						E[3] = alphaBlendW128<bitFormat>(E[3], PB);
+
+				}
+				
+				if ((PD == PB) && (PD == PF) && (PD == PH) && (PD != PE)) {					
+					if ((PD == PG) || (PD == PC)) {						
+						E[1] = alphaBlendW128<bitFormat>(E[1], PD);
+						E[2] = E[1];						
+					}
+
+					if ((PD == PA) || (PD == PI)) {					
+						E[0] = alphaBlendW128<bitFormat>(E[0], PD);
+						E[3] = E[0];						
+					}
+				}
+			}
+
+			dstPixel[0] = E[0];
+			dstPixel[1] = E[1];
+			dstPixel[nextLine] = E[2];
+			dstPixel[nextLine + 1] = E[3];
+		
+			startAddr1++;
+			startAddr2++;
+			startAddr3++;				
+			
+			dstPixel += 2;
+			pprev = 0;
+		}
+
+		startAddr2 += completeLineSrc;
+		startAddr1 = startAddr2 - nextLineSrc;
+		startAddr3 = startAddr2 + nextLineSrc;
+		dstPixel += completeLine + nextLine;
+	}
+}
+
+void PM2x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
+	if (gBitFormat == 565) {
+		PM2x_intern<565>(srcPtr, srcPitch, dstPtr, dstPitch, width, height);
+	} else if (gBitFormat == 555) {
+		PM2x_intern<555>(srcPtr, srcPitch, dstPtr, dstPitch, width, height);
+	}
+}
diff --exclude=.cvsignore --exclude=.deps --exclude=CVS -Pur ./scummvm.cvs/common/scaler.h ./scummvm/common/scaler.h
--- ./scummvm.cvs/common/scaler.h	Sat May 14 22:56:37 2005
+++ ./scummvm/common/scaler.h	Tue Sep 20 17:20:37 2005
@@ -45,6 +45,7 @@
 DECLARE_SCALER(Normal1o5x);
 DECLARE_SCALER(TV2x);
 DECLARE_SCALER(DotMatrix);
+DECLARE_SCALER(PM2x);
 
 #ifndef DISABLE_HQ_SCALERS
 DECLARE_SCALER(HQ2x);
