diff options
| author | Glenn Rice <glennricster@gmail.com> | 2011-02-14 02:18:03 +0000 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2011-02-14 02:18:03 +0000 |
| commit | 0ae8d33149025435dd5eaf49f69abce2ad54887f (patch) | |
| tree | 36f29de3e23d80e356f0cc5786368354d2cf2afc /Source/Core/VideoCommon/Src/MainBase.cpp | |
| parent | cd308e2358c57acafd6b834352cebdcdb0b9e45d (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/Core/VideoCommon/Src/MainBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/MainBase.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/Src/MainBase.cpp b/Source/Core/VideoCommon/Src/MainBase.cpp index 2316262b19..485db54f39 100644 --- a/Source/Core/VideoCommon/Src/MainBase.cpp +++ b/Source/Core/VideoCommon/Src/MainBase.cpp @@ -15,7 +15,7 @@ #include "VideoBackendBase.h" #include "ConfigManager.h" -bool s_PluginInitialized = false; +bool s_BackendInitialized = false; volatile u32 s_swapRequested = false; u32 s_efbAccessRequested = false; @@ -96,7 +96,7 @@ void VideoFifo_CheckSwapRequestAt(u32 xfbAddr, u32 fbWidth, u32 fbHeight) // Run from the CPU thread (from VideoInterface.cpp) void VideoBackendHLE::Video_BeginField(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight) { - if (s_PluginInitialized && g_ActiveConfig.bUseXFB) + if (s_BackendInitialized && g_ActiveConfig.bUseXFB) { if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bCPUThread) VideoFifo_CheckSwapRequest(); @@ -110,7 +110,7 @@ void VideoBackendHLE::Video_BeginField(u32 xfbAddr, FieldType field, u32 fbWidth // Run from the CPU thread (from VideoInterface.cpp) void VideoBackendHLE::Video_EndField() { - if (s_PluginInitialized) + if (s_BackendInitialized) { Common::AtomicStoreRelease(s_swapRequested, true); } @@ -145,7 +145,7 @@ void VideoFifo_CheckEFBAccess() u32 VideoBackendHLE::Video_AccessEFB(EFBAccessType type, u32 x, u32 y, u32 InputData) { - if (s_PluginInitialized) + if (s_BackendInitialized) { s_accessEFBArgs.type = type; s_accessEFBArgs.x = x; |
