VS2017: Include dynrec CPP, add define for x86_64

This commit is contained in:
Jonathan Campbell 2018-11-29 00:27:24 -08:00
parent 7d81c2c904
commit 174c00c9fa
3 changed files with 13 additions and 0 deletions

View File

@ -140,6 +140,12 @@ static struct {
#define ARMV7LE 0x05
#define ARMV8LE 0x07
#if !defined(C_TARGETCPU)
# if defined(_MSC_VER) && defined(_M_AMD64)
# define C_TARGETCPU X86_64
# endif
#endif
#if C_TARGETCPU == X86_64
#include "core_dynrec/risc_x64.h"
#elif C_TARGETCPU == X86

View File

@ -682,6 +682,7 @@ copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt"</Command>
<ClCompile Include="..\src\builtin\tree_exe.cpp" />
<ClCompile Include="..\src\builtin\xcopy_exe.cpp" />
<ClCompile Include="..\src\cpu\callback.cpp" />
<ClCompile Include="..\src\cpu\core_dynrec.cpp" />
<ClCompile Include="..\src\cpu\core_dyn_x86.cpp" />
<ClCompile Include="..\src\cpu\core_full.cpp" />
<ClCompile Include="..\src\cpu\core_normal.cpp" />

View File

@ -109,6 +109,9 @@
<Filter Include="Sources\output\direct3d">
<UniqueIdentifier>{3755469d-f02e-4c3e-b6cd-25db8b71b1fd}</UniqueIdentifier>
</Filter>
<Filter Include="Sources\cpu\core_dynrec">
<UniqueIdentifier>{8d1a73c6-be58-4d9f-aa03-b9f57516bedb}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\aviwriter\avi_rw_iobuf.cpp">
@ -891,6 +894,9 @@
<ClCompile Include="..\src\builtin\dsxmenu_exe_pc98.cpp">
<Filter>Sources\builtin</Filter>
</ClCompile>
<ClCompile Include="..\src\cpu\core_dynrec.cpp">
<Filter>Sources\cpu\core_dynrec</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\aviwriter\avi.h">