From 5f244abf2833db9d3a7d93a0632b56c4bf55e5e7 Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 12 Jan 2016 22:44:58 +0100 Subject: Fifo: Create a "Fifo" namespace. --- Source/Core/VideoCommon/VideoState.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/VideoState.cpp') diff --git a/Source/Core/VideoCommon/VideoState.cpp b/Source/Core/VideoCommon/VideoState.cpp index 9f2b11f31c..53fa4f0c89 100644 --- a/Source/Core/VideoCommon/VideoState.cpp +++ b/Source/Core/VideoCommon/VideoState.cpp @@ -35,7 +35,7 @@ static void DoState(PointerWrap &p) p.DoMarker("texMem"); // FIFO - Fifo_DoState(p); + Fifo::DoState(p); p.DoMarker("Fifo"); CommandProcessor::DoState(p); @@ -71,7 +71,7 @@ void VideoCommon_DoState(PointerWrap &p) void VideoCommon_RunLoop(bool enable) { - EmulatorState(enable); + Fifo::EmulatorState(enable); } void VideoCommon_Init() -- cgit v1.2.3 From aa430c10d573b5e73154b8fbb7d661a58e44df68 Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 12 Jan 2016 22:46:44 +0100 Subject: VideoState: Simplify dummy wrapper. --- Source/Core/VideoCommon/VideoState.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'Source/Core/VideoCommon/VideoState.cpp') diff --git a/Source/Core/VideoCommon/VideoState.cpp b/Source/Core/VideoCommon/VideoState.cpp index 53fa4f0c89..355742367e 100644 --- a/Source/Core/VideoCommon/VideoState.cpp +++ b/Source/Core/VideoCommon/VideoState.cpp @@ -17,7 +17,7 @@ #include "VideoCommon/VideoState.h" #include "VideoCommon/XFMemory.h" -static void DoState(PointerWrap &p) +void VideoCommon_DoState(PointerWrap &p) { // BP Memory p.Do(bpmem); @@ -64,16 +64,6 @@ static void DoState(PointerWrap &p) // TODO: search for more data that should be saved and add it here } -void VideoCommon_DoState(PointerWrap &p) -{ - DoState(p); -} - -void VideoCommon_RunLoop(bool enable) -{ - Fifo::EmulatorState(enable); -} - void VideoCommon_Init() { memset(&g_main_cp_state, 0, sizeof(g_main_cp_state)); -- cgit v1.2.3