summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Debugger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/Debugger.cpp')
-rw-r--r--Source/Core/VideoCommon/Debugger.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Debugger.cpp b/Source/Core/VideoCommon/Debugger.cpp
index 0c88be57f5..24ec679400 100644
--- a/Source/Core/VideoCommon/Debugger.cpp
+++ b/Source/Core/VideoCommon/Debugger.cpp
@@ -6,6 +6,7 @@
#include "Common/FileUtil.h"
#include "Common/IniFile.h"
+#include "Common/Thread.h"
#include "VideoCommon/Debugger.h"
#include "VideoCommon/NativeVertexFormat.h"
@@ -56,7 +57,7 @@ void GFXDebuggerCheckAndPause(bool update)
while ( GFXDebuggerPauseFlag )
{
if (update) GFXDebuggerUpdateScreen();
- SLEEP(5);
+ Common::SleepCurrentThread(5);
}
g_pdebugger->OnContinue();
}
@@ -81,7 +82,7 @@ void GFXDebuggerBase::DumpPixelShader(const std::string& path)
const std::string filename = StringFromFormat("%sdump_ps.txt", path.c_str());
std::string output;
- bool useDstAlpha = !g_ActiveConfig.bDstAlphaPass && bpmem.dstalpha.enable && bpmem.blendmode.alphaupdate && bpmem.zcontrol.pixel_format == PEControl::RGBA6_Z24;
+ bool useDstAlpha = bpmem.dstalpha.enable && bpmem.blendmode.alphaupdate && bpmem.zcontrol.pixel_format == PEControl::RGBA6_Z24;
if (!useDstAlpha)
{
output = "Destination alpha disabled:\n";