(360) Fix Salamander build

This commit is contained in:
twinaphex 2018-01-03 12:13:53 +01:00
parent 5c5dae7160
commit 956f869974
3 changed files with 159 additions and 17 deletions

View File

@ -33,6 +33,8 @@
#if defined(_WIN32) && !defined(_XBOX)
#include <windows.h>
#elif defined(_XBOX)
#include <xtl.h>
#endif
static unsigned leading_ones(uint8_t c)

View File

@ -262,6 +262,30 @@
</Deploy>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\file_path_str.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\compat\compat_posix_string.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\compat\compat_snprintf.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\compat\compat_strl.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
@ -278,6 +302,22 @@
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\compat\fopen_utf8.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\encodings\encoding_utf.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\file\config_file.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
@ -310,10 +350,46 @@
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\frontend\frontend_salamander.c" />
<ClCompile Include="..\..\..\frontend\frontend_driver.c" />
<ClCompile Include="..\..\..\frontend\drivers\platform_null.c" />
<ClCompile Include="..\..\..\frontend\drivers\platform_xdk.cpp" />
<ClCompile Include="..\..\..\frontend\frontend_salamander.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\frontend\frontend_driver.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\frontend\drivers\platform_null.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\frontend\drivers\platform_xdk.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\streams\file_stream.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\string\stdstring.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
@ -330,8 +406,24 @@
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\vfs\vfs_implementation.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\verbosity.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>

View File

@ -18,34 +18,82 @@
<Filter Include="Source Files\libretro-common\file">
<UniqueIdentifier>{b4898f5c-14c7-4816-88fa-c27a52e45e84}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\libretro-common\lists">
<UniqueIdentifier>{1ea4934c-e780-4385-9f79-889f5940e6ee}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\libretro-common\string">
<UniqueIdentifier>{444bce6f-4f03-4582-8a00-9fcbab8f107a}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\libretro-common\streams">
<UniqueIdentifier>{daea3f95-3eb3-42f5-ad6f-21cedf52b19b}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\libretro-common\vfs">
<UniqueIdentifier>{2cc92055-f9d4-400a-8d2d-07df80fa4f83}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\libretro-common\encodings">
<UniqueIdentifier>{ff35ab14-b622-44bf-8c26-9d26fb31133b}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\frontend\frontend_salamander.c">
<ClCompile Include="..\..\..\libretro-common\file\retro_dirent.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\frontend\frontend_context.c">
<ClCompile Include="..\..\..\frontend\frontend_salamander.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\frontend\platform\platform_null.c">
<ClCompile Include="..\..\..\frontend\frontend_driver.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\frontend\platform\platform_xdk.c">
<ClCompile Include="..\..\..\frontend\drivers\platform_null.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\libretro-common\compat\compat.c">
<ClCompile Include="..\..\..\frontend\drivers\platform_xdk.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\compat\compat_posix_string.c">
<Filter>Source Files\libretro-common\compat</Filter>
</ClCompile>
<ClCompile Include="..\..\libretro-common\file\dir_list.c">
<ClCompile Include="..\..\..\libretro-common\compat\compat_strcasestr.c">
<Filter>Source Files\libretro-common\compat</Filter>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\compat\compat_strl.c">
<Filter>Source Files\libretro-common\compat</Filter>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\file\config_file.c">
<Filter>Source Files\libretro-common\file</Filter>
</ClCompile>
<ClCompile Include="..\..\libretro-common\file\file_path.c">
<ClCompile Include="..\..\..\libretro-common\lists\dir_list.c">
<Filter>Source Files\libretro-common\lists</Filter>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\file\file_path.c">
<Filter>Source Files\libretro-common\file</Filter>
</ClCompile>
<ClCompile Include="..\..\libretro-common\string\string_list.c">
<Filter>Source Files\libretro-common\file</Filter>
<ClCompile Include="..\..\..\libretro-common\string\stdstring.c">
<Filter>Source Files\libretro-common\string</Filter>
</ClCompile>
<ClCompile Include="..\..\libretro-common\file\config_file.c">
<Filter>Source Files\libretro-common\file</Filter>
<ClCompile Include="..\..\..\libretro-common\lists\string_list.c">
<Filter>Source Files\libretro-common\lists</Filter>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\vfs\vfs_implementation.c">
<Filter>Source Files\libretro-common\vfs</Filter>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\streams\file_stream.c">
<Filter>Source Files\libretro-common\streams</Filter>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\compat\fopen_utf8.c">
<Filter>Source Files\libretro-common\compat</Filter>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\encodings\encoding_utf.c">
<Filter>Source Files\libretro-common\encodings</Filter>
</ClCompile>
<ClCompile Include="..\..\..\verbosity.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\libretro-common\compat\compat_snprintf.c">
<Filter>Source Files\libretro-common\compat</Filter>
</ClCompile>
<ClCompile Include="..\..\..\file_path_str.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
</Project>