aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/util.h b/common/util.h
index 6fb0e68a90..d7299101f8 100644
--- a/common/util.h
+++ b/common/util.h
@@ -37,7 +37,7 @@
template<typename T> inline T ABS (T x) { return (x>=0) ? x : -x; }
template<typename T> inline T MIN (T a, T b) { return (a<b) ? a : b; }
template<typename T> inline T MAX (T a, T b) { return (a>b) ? a : b; }
-template<typename T> inline T CLIP (T v, T amin, T amax)
+template<typename T> inline T CLIP (T v, T amin, T amax)
{ if (v < amin) return amin; else if (v > amax) return amax; else return v; }
/**
@@ -147,6 +147,8 @@ enum Platform {
kPlatform3DO,
// kPlatformPCEngine,
+ kPlatformApple2GS,
+
kPlatformUnknown = -1
};