[Scummvm-cvs-logs] scummvm master -> 856744aa6a8d10ea62807a28df24f539fd8f2d06

tsoliman tarek at bashasoliman.com
Wed Feb 15 22:29:46 CET 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
856744aa6a MAEMO: Use bitshifting in ModelType


Commit: 856744aa6a8d10ea62807a28df24f539fd8f2d06
    https://github.com/scummvm/scummvm/commit/856744aa6a8d10ea62807a28df24f539fd8f2d06
Author: Tarek Soliman (tsoliman at scummvm.org)
Date: 2012-02-15T13:26:51-08:00

Commit Message:
MAEMO: Use bitshifting in ModelType

Changed paths:
    backends/platform/maemo/maemo-common.h



diff --git a/backends/platform/maemo/maemo-common.h b/backends/platform/maemo/maemo-common.h
index cd4bb3b..30279bc 100644
--- a/backends/platform/maemo/maemo-common.h
+++ b/backends/platform/maemo/maemo-common.h
@@ -28,10 +28,10 @@
 namespace Maemo {
 
 enum ModelType {
-	kModelType770 = 1,
-	kModelTypeN800 = 2,
-	kModelTypeN810 = 4,
-	kModelTypeN900 = 8,
+	kModelType770 = 1 << 0,
+	kModelTypeN800 = 1 << 1,
+	kModelTypeN810 = 1 << 2,
+	kModelTypeN900 = 1 << 3,
 	kModelTypeInvalid = 0
 };
 






More information about the Scummvm-git-logs mailing list