diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2018-06-09 20:19:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-09 20:19:49 +0200 |
| commit | f564c280408b0f9640ee3d60cf54cd2671d3d49c (patch) | |
| tree | f5f5b4bcac77f55e5b0c4dbf9c865dfff33f77f6 /Source/Core/VideoCommon/IndexGenerator.cpp | |
| parent | 5d1b35e86711421c3af76c86ae0ad2b083d1091d (diff) | |
| parent | 7b11ce3dd290b2f34164074cc493ea9e0c197fdf (diff) | |
Merge pull request #7099 from lioncash/compiler
Common: Add Compiler.h header for compiler-specifics
Diffstat (limited to 'Source/Core/VideoCommon/IndexGenerator.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/IndexGenerator.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/IndexGenerator.cpp b/Source/Core/VideoCommon/IndexGenerator.cpp index 74f6a8a728..6cb49aceba 100644 --- a/Source/Core/VideoCommon/IndexGenerator.cpp +++ b/Source/Core/VideoCommon/IndexGenerator.cpp @@ -4,8 +4,8 @@ #include <cstddef> -#include "Common/Common.h" #include "Common/CommonTypes.h" +#include "Common/Compiler.h" #include "Common/Logging/Log.h" #include "VideoCommon/IndexGenerator.h" #include "VideoCommon/OpcodeDecoding.h" @@ -58,7 +58,8 @@ void IndexGenerator::AddIndices(int primitive, u32 numVerts) // Triangles template <bool pr> -__forceinline u16* IndexGenerator::WriteTriangle(u16* Iptr, u32 index1, u32 index2, u32 index3) +DOLPHIN_FORCE_INLINE u16* IndexGenerator::WriteTriangle(u16* Iptr, u32 index1, u32 index2, + u32 index3) { *Iptr++ = index1; *Iptr++ = index2; |
