fixes related to building new colorspace handler

This commit is contained in:
zeromus 2016-08-17 03:40:19 -05:00
parent 41d26c6bd7
commit 9f91a14b7f
4 changed files with 17 additions and 0 deletions

View File

@ -98,6 +98,7 @@ libdesmume_a_SOURCES = \
../../utils/tinyxml/tinyxmlerror.cpp \
../../utils/tinyxml/tinyxmlparser.cpp \
../../utils/glcorearb.h \
../../utils/colorspacehandler/colorspacehandler.cpp ../../utils/colorspacehandler/colorspacehandler.h \
../../addons/slot2_auto.cpp ../../addons/slot2_mpcf.cpp ../../addons/slot2_paddle.cpp ../../addons/slot2_gbagame.cpp ../../addons/slot2_none.cpp ../../addons/slot2_rumblepak.cpp ../../addons/slot2_guitarGrip.cpp ../../addons/slot2_expMemory.cpp ../../addons/slot2_piano.cpp ../../addons/slot2_passme.cpp ../../addons/slot1_none.cpp ../../addons/slot1_r4.cpp ../../addons/slot1_retail_nand.cpp ../../addons/slot1_retail_auto.cpp ../../addons/slot1_retail_mcrom.cpp ../../addons/slot1_retail_mcrom_debug.cpp ../../addons/slot1comp_mc.cpp ../../addons/slot1comp_mc.h ../../addons/slot1comp_rom.h ../../addons/slot1comp_rom.cpp ../../addons/slot1comp_protocol.h ../../addons/slot1comp_protocol.cpp \
../../cheatSystem.cpp ../../cheatSystem.h \
../../texcache.cpp ../../texcache.h ../../rasterize.cpp ../../rasterize.h \

View File

@ -975,6 +975,12 @@
<ClCompile Include="..\utils\colorspacehandler\colorspacehandler_SSE2.cpp">
<Filter>Core\utils\colorspacehandler</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\colorspacehandler\colorspacehandler_AVX2.cpp">
<Filter>Core\utils\colorspacehandler</Filter>
</ClCompile>
<ClCompile Include="..\..\utils\colorspacehandler\colorspacehandler_AltiVec.cpp">
<Filter>Core\utils\colorspacehandler</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\armcpu.h">
@ -1754,6 +1760,12 @@
<ClInclude Include="..\utils\colorspacehandler\colorspacehandler_SSE2.h">
<Filter>Core\utils\colorspacehandler</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\colorspacehandler\colorspacehandler_AltiVec.h">
<Filter>Core\utils\colorspacehandler</Filter>
</ClInclude>
<ClInclude Include="..\..\utils\colorspacehandler\colorspacehandler_AVX2.h">
<Filter>Core\utils\colorspacehandler</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\instruction_tabdef.inc">

View File

@ -57,6 +57,7 @@
<Import Project="$(UserProps_Path)" />
<!-- some defaults and validation of user prefs -->
<!-- TODO: throw errors here instead -->
<PropertyGroup>
<SSE_Level Condition="'$(SSE_Level)' == ''">20</SSE_Level>
<AVX_Level Condition="'$(AVX_Level)' == ''">0</AVX_Level>

View File

@ -19,10 +19,13 @@
#if defined(ENABLE_AVX2)
#include "colorspacehandler_AVX2.h"
#include "colorspacehandler_AVX2.cpp"
#elif defined(ENABLE_SSE2)
#include "colorspacehandler_SSE2.h"
#include "colorspacehandler_SSE2.cpp"
#elif defined(ENABLE_ALTIVEC)
#include "colorspacehandler_AltiVec.h"
#include "colorspacehandler_AltiVec.cpp"
#endif
#if defined(ENABLE_SSE2) || defined(ENABLE_ALTIVEC)