Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkasper93 <kasper93@gmail.com>2014-07-09 11:56:53 +0400
committerkasper93 <kasper93@gmail.com>2014-07-10 11:45:45 +0400
commit6c228d47e3d9adb9ef65f0045fa6a13aa43cdba7 (patch)
treecaef75ba30159fb46ef6d31fd01b17c56eb276fa /src/Subtitles/RTS.cpp
parent231f8d9f38e23ef3a409a28d6368dab5c63a4e15 (diff)
Rasterizer: Remove VirtualDub dependency to detect SSE2.
Diffstat (limited to 'src/Subtitles/RTS.cpp')
-rw-r--r--src/Subtitles/RTS.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Subtitles/RTS.cpp b/src/Subtitles/RTS.cpp
index b40c5d4fe..4ccefc54f 100644
--- a/src/Subtitles/RTS.cpp
+++ b/src/Subtitles/RTS.cpp
@@ -21,8 +21,7 @@
#include "stdafx.h"
#include <math.h>
-#include <time.h>
-#include <emmintrin.h>
+#include <intrin.h>
#include <algorithm>
#include "RTS.h"
#include "../DSUtil/WinAPIUtils.h"
@@ -182,7 +181,7 @@ void CWord::Paint(const CPoint& p, const CPoint& org)
void CWord::Transform(CPoint org)
{
- if (fSSE2) { // SSE code
+ if (m_bUseSSE2) { // SSE code
Transform_SSE2(org);
} else { // C-code
Transform_C(org);