From a11ae2cf300a8049f72ce523f1daac0dc4a49faa Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 4 Sep 2015 02:14:10 -0400 Subject: CommonFuncs: Remove SLEEP macro There's already a function in Thread for this. --- Source/Core/VideoCommon/Debugger.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/Debugger.cpp') diff --git a/Source/Core/VideoCommon/Debugger.cpp b/Source/Core/VideoCommon/Debugger.cpp index 0c88be57f5..755293b26c 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(); } -- cgit v1.2.3 From 74b20e627ca524366b0a4fa617d59014cd2c967c Mon Sep 17 00:00:00 2001 From: degasus Date: Wed, 9 Sep 2015 21:20:46 +0200 Subject: VideoCommon: Drop "Disable destAlpha" hack This option has no use any more, neither performance nor driver workaround. --- Source/Core/VideoCommon/Debugger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/Debugger.cpp') diff --git a/Source/Core/VideoCommon/Debugger.cpp b/Source/Core/VideoCommon/Debugger.cpp index 755293b26c..24ec679400 100644 --- a/Source/Core/VideoCommon/Debugger.cpp +++ b/Source/Core/VideoCommon/Debugger.cpp @@ -82,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"; -- cgit v1.2.3