summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2012-12-31 01:09:27 +1300
committerMatthew Parlane <parlane@gmail.com>2012-12-31 01:09:27 +1300
commit200cabc4a5f7e00f750cd3da1a1df204f21e7654 (patch)
tree5af8662771f81b9750e2a3e8628645565c89257c /Source/Core/VideoCommon
parent510e08370ef7491c6106453248cee8e93771692e (diff)
parent71bb297f2cecc94ca6d045a877f0731e1507471f (diff)
Merge branch 'master' into wii-usb
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
// ----------