summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2011-02-14 02:18:03 +0000
committerGlenn Rice <glennricster@gmail.com>2011-02-14 02:18:03 +0000
commit0ae8d33149025435dd5eaf49f69abce2ad54887f (patch)
tree36f29de3e23d80e356f0cc5786368354d2cf2afc /Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
parentcd308e2358c57acafd6b834352cebdcdb0b9e45d (diff)
Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7170 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
index 47f5cbecaf..fd1e111f4d 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
@@ -32,9 +32,9 @@
bool fifoStateRun;
// set to 0 if using in video common
-#define SW_PLUGIN 1
+#define SW_BACKEND 1
-#if (SW_PLUGIN)
+#if (SW_BACKEND)
#include "OpcodeDecoder.h"
@@ -322,7 +322,7 @@ void UpdateInterrupts(u64 userdata)
interruptWaiting = false;
}
-void UpdateInterruptsFromVideoPlugin(u64 userdata)
+void UpdateInterruptsFromVideoBackend(u64 userdata)
{
CoreTiming::ScheduleEvent_Threadsafe(0, et_UpdateInterrupts, userdata);
}
@@ -405,7 +405,7 @@ void SetStatus()
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bCPUThread)
{
interruptWaiting = true;
- SWCommandProcessor::UpdateInterruptsFromVideoPlugin(userdata);
+ SWCommandProcessor::UpdateInterruptsFromVideoBackend(userdata);
}
else
SWCommandProcessor::UpdateInterrupts(userdata);
@@ -427,7 +427,7 @@ bool RunBuffer()
u32 availableBytes = writePos - readPos;
-#if (SW_PLUGIN)
+#if (SW_BACKEND)
while (OpcodeDecoder::CommandRunnable(availableBytes))
{
cpreg.status.CommandIdle = 0;
@@ -470,7 +470,7 @@ bool RunBuffer()
// fifo functions
-#if (SW_PLUGIN)
+#if (SW_BACKEND)
void SWFifo_EnterLoop()
{