summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2014-07-08 14:29:26 +0200
committerdegasus <wickmarkus@web.de>2014-07-11 16:07:23 +0200
commit22e1aa5bb4a159d6d66a321f978917614aa36331 (patch)
tree5f1ec329704dd6120cfb5966dba76387ad1bbc2f /Source/Core/VideoCommon/OpcodeDecoding.cpp
parent3ff1c538ee20f59e513640865bab8fb430e70e84 (diff)
mark all local functions as static
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp
index 5370c35750..8b42a20367 100644
--- a/Source/Core/VideoCommon/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp
@@ -74,9 +74,6 @@ DataReadU32xNfunc DataReadU32xFuncs[16] = {
DataReadU32xN<16>
};
-extern u8* GetVideoBufferStartPtr();
-extern u8* GetVideoBufferEndPtr();
-
static void Decode();
void InterpretDisplayList(u32 address, u32 size)
@@ -107,7 +104,7 @@ void InterpretDisplayList(u32 address, u32 size)
g_pVideoData = old_pVideoData;
}
-u32 FifoCommandRunnable(u32 &command_size)
+static u32 FifoCommandRunnable(u32 &command_size)
{
u32 cycleTime = 0;
u32 buffer_size = (u32)(GetVideoBufferEndPtr() - g_pVideoData);
@@ -267,7 +264,7 @@ u32 FifoCommandRunnable(u32 &command_size)
return cycleTime;
}
-u32 FifoCommandRunnable()
+static u32 FifoCommandRunnable()
{
u32 command_size = 0;
return FifoCommandRunnable(command_size);