summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2014-08-26 21:18:47 -0400
committercomex <comexk@gmail.com>2014-09-28 21:25:12 -0400
commit2d4b7c59005d516fc6d21ec48689c062b6ff6c16 (patch)
tree9ee29bdcc24c4b24223b6568890c8b490492910b /Source/Core
parent0ae9e398c8e0f808eb4da6cc6f5e3cd553e975a1 (diff)
Make ReadDataFromFifo static.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/VideoCommon/Fifo.cpp2
-rw-r--r--Source/Core/VideoCommon/Fifo.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Fifo.cpp b/Source/Core/VideoCommon/Fifo.cpp
index e8ba7a2b22..b6412c796c 100644
--- a/Source/Core/VideoCommon/Fifo.cpp
+++ b/Source/Core/VideoCommon/Fifo.cpp
@@ -110,7 +110,7 @@ void EmulatorState(bool running)
// Description: RunGpuLoop() sends data through this function.
-void ReadDataFromFifo(u8* _uData, u32 len)
+static void ReadDataFromFifo(u8* _uData, u32 len)
{
if (len > (s_video_buffer + FIFO_SIZE - s_video_buffer_write_ptr))
{
diff --git a/Source/Core/VideoCommon/Fifo.h b/Source/Core/VideoCommon/Fifo.h
index 389336be0a..66399680c1 100644
--- a/Source/Core/VideoCommon/Fifo.h
+++ b/Source/Core/VideoCommon/Fifo.h
@@ -23,8 +23,6 @@ u8* GetVideoBufferEndPtr();
void Fifo_DoState(PointerWrap &f);
void Fifo_PauseAndLock(bool doLock, bool unpauseOnUnlock);
-void ReadDataFromFifo(u8* _uData, u32 len);
-
void RunGpu();
void RunGpuLoop();
void ExitGpuLoop();