summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2015-12-25 22:42:38 +0100
committerJosJuice <josjuice@gmail.com>2015-12-25 22:42:38 +0100
commit4ddc04da07eb90c36e6488495de3e4530695172f (patch)
tree5589f233dbe7abf695898dbc79c0b67a353bde9e /Source/Core
parent7ca9a438a8d7c1be41cfbbc002a708c7686fb61f (diff)
parenta8ab156a2960748f18e1724198c48774de0b4673 (diff)
Merge pull request #3396 from lioncash/constant
Fifo: Convert define into constant
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/VideoCommon/Fifo.cpp2
-rw-r--r--Source/Core/VideoCommon/Fifo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Fifo.cpp b/Source/Core/VideoCommon/Fifo.cpp
index 21888c0514..6ad184cc3e 100644
--- a/Source/Core/VideoCommon/Fifo.cpp
+++ b/Source/Core/VideoCommon/Fifo.cpp
@@ -30,6 +30,8 @@
#include "VideoCommon/VertexManagerBase.h"
#include "VideoCommon/VideoConfig.h"
+static constexpr u32 FIFO_SIZE = 2 * 1024 * 1024;
+
bool g_bSkipCurrentFrame = false;
static Common::BlockingLoop s_gpu_mainloop;
diff --git a/Source/Core/VideoCommon/Fifo.h b/Source/Core/VideoCommon/Fifo.h
index 94199c689a..a66cec7fc2 100644
--- a/Source/Core/VideoCommon/Fifo.h
+++ b/Source/Core/VideoCommon/Fifo.h
@@ -9,8 +9,6 @@
class PointerWrap;
-#define FIFO_SIZE (2*1024*1024)
-
extern bool g_bSkipCurrentFrame;
// This could be in SConfig, but it depends on multiple settings