diff options
| author | degasus <wickmarkus@web.de> | 2014-07-08 16:49:33 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2014-07-11 16:10:20 +0200 |
| commit | 81ed17be53e7fed93147dc0d334a6c1d45f4e3c8 (patch) | |
| tree | 07359f88512c0cdd7c362152cbd5a81c1816e0c0 /Source/Core/VideoBackends/Software | |
| parent | 6d3f249dcc746cc7845ef88ddb8ce3bcc9221aca (diff) | |
avoid the extern keyword in .cpp files
Diffstat (limited to 'Source/Core/VideoBackends/Software')
7 files changed, 7 insertions, 11 deletions
diff --git a/Source/Core/VideoBackends/Software/DebugUtil.cpp b/Source/Core/VideoBackends/Software/DebugUtil.cpp index bd59779e86..5998b10b09 100644 --- a/Source/Core/VideoBackends/Software/DebugUtil.cpp +++ b/Source/Core/VideoBackends/Software/DebugUtil.cpp @@ -15,6 +15,7 @@ #include "VideoBackends/Software/SWVideoConfig.h" #include "VideoBackends/Software/TextureSampler.h" +#include "VideoCommon/Fifo.h" #include "VideoCommon/ImageWrite.h" diff --git a/Source/Core/VideoBackends/Software/EfbCopy.cpp b/Source/Core/VideoBackends/Software/EfbCopy.cpp index 9629670a3f..77f141d60a 100644 --- a/Source/Core/VideoBackends/Software/EfbCopy.cpp +++ b/Source/Core/VideoBackends/Software/EfbCopy.cpp @@ -14,6 +14,7 @@ #include "VideoBackends/Software/SWStatistics.h" #include "VideoBackends/Software/SWVideoConfig.h" #include "VideoBackends/Software/TextureEncoder.h" +#include "VideoCommon/Fifo.h" static const float s_gammaLUT[] = { diff --git a/Source/Core/VideoBackends/Software/OpcodeDecoder.cpp b/Source/Core/VideoBackends/Software/OpcodeDecoder.cpp index 524a960d3e..33863c892c 100644 --- a/Source/Core/VideoBackends/Software/OpcodeDecoder.cpp +++ b/Source/Core/VideoBackends/Software/OpcodeDecoder.cpp @@ -14,6 +14,7 @@ #include "VideoBackends/Software/SWVideoConfig.h" #include "VideoBackends/Software/XFMemLoader.h" #include "VideoCommon/DataReader.h" +#include "VideoCommon/Fifo.h" typedef void (*DecodingFunction)(u32); diff --git a/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp b/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp index 1a2dcc0cbf..3b80b9ddbf 100644 --- a/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp +++ b/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp @@ -20,6 +20,8 @@ #include "VideoBackends/Software/SWCommandProcessor.h" #include "VideoBackends/Software/VideoBackend.h" +#include "VideoCommon/DataReader.h" +#include "VideoCommon/Fifo.h" namespace SWCommandProcessor { diff --git a/Source/Core/VideoBackends/Software/SWCommandProcessor.h b/Source/Core/VideoBackends/Software/SWCommandProcessor.h index dbedc101ac..e30eccfec5 100644 --- a/Source/Core/VideoBackends/Software/SWCommandProcessor.h +++ b/Source/Core/VideoBackends/Software/SWCommandProcessor.h @@ -11,9 +11,6 @@ class PointerWrap; namespace MMIO { class Mapping; } -extern volatile bool g_bSkipCurrentFrame; -extern u8* g_pVideoData; - namespace SWCommandProcessor { using UCPStatusReg = CommandProcessor::UCPStatusReg; diff --git a/Source/Core/VideoBackends/Software/SWVertexLoader.cpp b/Source/Core/VideoBackends/Software/SWVertexLoader.cpp index f0cc09e3d2..52af0ae1a1 100644 --- a/Source/Core/VideoBackends/Software/SWVertexLoader.cpp +++ b/Source/Core/VideoBackends/Software/SWVertexLoader.cpp @@ -12,20 +12,13 @@ #include "VideoBackends/Software/XFMemLoader.h" #include "VideoCommon/DataReader.h" +#include "VideoCommon/VertexLoader.h" #include "VideoCommon/VertexLoader_Color.h" #include "VideoCommon/VertexLoader_Normal.h" #include "VideoCommon/VertexLoader_Position.h" #include "VideoCommon/VertexLoader_TextCoord.h" #include "VideoCommon/VertexManagerBase.h" -// Vertex loaders read these -extern int tcIndex; -extern int colIndex; -extern int colElements[2]; -extern float posScale; -extern float tcScale[8]; - - SWVertexLoader::SWVertexLoader() : m_VertexSize(0), m_NumAttributeLoaders(0) diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index 8abfa81c65..13bd20d154 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -35,6 +35,7 @@ #include "VideoBackends/Software/VideoConfigDialog.h" #endif // HAVE_WX +#include "VideoCommon/Fifo.h" #include "VideoCommon/OnScreenDisplay.h" #include "VideoCommon/PixelEngine.h" #include "VideoCommon/XFMemory.h" |
