From df7f081cb52486aa505ea4fe31fbef8a34db7ec0 Mon Sep 17 00:00:00 2001 From: zeromus Date: Tue, 6 Sep 2016 18:09:00 +0000 Subject: [PATCH] placement of fastbuild hacks in gpu.cpp breaks some build types. tired of fixing it locally. not a safe hack anyway. --- desmume/src/GPU.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/desmume/src/GPU.cpp b/desmume/src/GPU.cpp index cbf098329..772eb2f5e 100644 --- a/desmume/src/GPU.cpp +++ b/desmume/src/GPU.cpp @@ -18,14 +18,6 @@ along with the this software. If not, see . */ -#ifdef FASTBUILD - #undef FORCEINLINE - #define FORCEINLINE - //compilation speed hack (cuts time exactly in half by cutting out permutations) - #define DISABLE_MOSAIC - #define DISABLE_COLOREFFECTDISABLEHINT -#endif - #include "GPU.h" #include @@ -48,6 +40,13 @@ #include "matrix.h" #include "emufile.h" +#ifdef FASTBUILD + #undef FORCEINLINE + #define FORCEINLINE + //compilation speed hack (cuts time exactly in half by cutting out permutations) + #define DISABLE_MOSAIC + #define DISABLE_COLOREFFECTDISABLEHINT +#endif //instantiate static instance u16 GPUEngineBase::_brightnessUpTable555[17][0x8000];