summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2014-07-08 15:58:25 +0200
committerdegasus <wickmarkus@web.de>2014-07-11 16:10:20 +0200
commit6d3f249dcc746cc7845ef88ddb8ce3bcc9221aca (patch)
treee2ca5783d36a54283ff241ef9a053053bb5cc258 /Source/Core/VideoBackends/Software/SWCommandProcessor.cpp
parent9560ecdbec319ab4bb7aca2b8bd2e6ed27d0b7c0 (diff)
mark all local variables as static
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWCommandProcessor.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWCommandProcessor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp b/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp
index ed8115f1ab..1a2dcc0cbf 100644
--- a/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp
+++ b/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp
@@ -33,14 +33,14 @@ enum
// STATE_TO_SAVE
// variables
-const int commandBufferSize = 1024 * 1024;
-const int maxCommandBufferWrite = commandBufferSize - GATHER_PIPE_SIZE;
-u8 commandBuffer[commandBufferSize];
-u32 readPos;
-u32 writePos;
-int et_UpdateInterrupts;
-volatile bool interruptSet;
-volatile bool interruptWaiting;
+static const int commandBufferSize = 1024 * 1024;
+static const int maxCommandBufferWrite = commandBufferSize - GATHER_PIPE_SIZE;
+static u8 commandBuffer[commandBufferSize];
+static u32 readPos;
+static u32 writePos;
+static int et_UpdateInterrupts;
+static volatile bool interruptSet;
+static volatile bool interruptWaiting;
CPReg cpreg; // shared between gfx and emulator thread