summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2012-12-30 03:28:50 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2012-12-30 03:28:50 -0600
commitff3b22e1ff8a29fb70c06b5037f3d31f93b7ff14 (patch)
tree0403f5270db5bf822355b883589b36ce271bea26 /Source/Core/VideoCommon
parente5d5365bacb0fb9b579a0f51902990547c15fec7 (diff)
Clear up some warnings that crop up from -Wextra
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/Src/VideoCommon.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/Source/Core/VideoCommon/Src/VideoCommon.h b/Source/Core/VideoCommon/Src/VideoCommon.h
index f067fb9d6b..1eeed20b82 100644
--- a/Source/Core/VideoCommon/Src/VideoCommon.h
+++ b/Source/Core/VideoCommon/Src/VideoCommon.h
@@ -44,17 +44,14 @@ enum
EFB_HEIGHT = 528,
};
-enum
-{
- // XFB width is decided by EFB copy operation. The VI can do horizontal
- // scaling (TODO: emulate).
- MAX_XFB_WIDTH = EFB_WIDTH,
-
- // Although EFB height is 528, 574-line XFB's can be created either with
- // vertical scaling by the EFB copy operation or copying to multiple XFB's
- // that are next to each other in memory (TODO: handle that situation).
- MAX_XFB_HEIGHT = 574
-};
+// XFB width is decided by EFB copy operation. The VI can do horizontal
+// scaling (TODO: emulate).
+const u32 MAX_XFB_WIDTH = EFB_WIDTH;
+
+// Although EFB height is 528, 574-line XFB's can be created either with
+// vertical scaling by the EFB copy operation or copying to multiple XFB's
+// that are next to each other in memory (TODO: handle that situation).
+const u32 MAX_XFB_HEIGHT = 574;
// Logging
// ----------