From 31106d063cae973c6f5cda1ced31e38254ba063c Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 13 Sep 2015 10:02:55 -0700 Subject: [PATCH] Fix MSVC 2015 highlighting for ARM/ARM64. --- GPU/Common/VertexDecoderArm.cpp | 5 +++++ GPU/Common/VertexDecoderArm64.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/GPU/Common/VertexDecoderArm.cpp b/GPU/Common/VertexDecoderArm.cpp index 9e8f96ad15..f8ee947850 100644 --- a/GPU/Common/VertexDecoderArm.cpp +++ b/GPU/Common/VertexDecoderArm.cpp @@ -15,6 +15,11 @@ // Official git repository and contact information can be found at // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. +// This allows highlighting to work. Yay. +#ifdef __INTELLISENSE__ +#define ARM +#endif + #include "base/logging.h" #include "Common/CPUDetect.h" #include "Core/Config.h" diff --git a/GPU/Common/VertexDecoderArm64.cpp b/GPU/Common/VertexDecoderArm64.cpp index 30b1a1d147..1e0b926d86 100644 --- a/GPU/Common/VertexDecoderArm64.cpp +++ b/GPU/Common/VertexDecoderArm64.cpp @@ -15,6 +15,11 @@ // Official git repository and contact information can be found at // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. +// This allows highlighting to work. Yay. +#ifdef __INTELLISENSE__ +#define ARM64 +#endif + #include "base/logging.h" #include "Common/CPUDetect.h" #include "Core/Config.h"