Core: Fix up that x64 files only build in x64

This commit is contained in:
zilmar 2022-08-29 20:52:15 +09:30
parent c3208df044
commit e8adf78e84
5 changed files with 16 additions and 6 deletions

View File

@ -1,4 +1,6 @@
#include "stdafx.h"
#if defined(__amd64__) || defined(_M_X64)
#include <Project64-core/N64System/Recompiler/x64-86/x64RecompilerOps.h>
CX64RecompilerOps::CX64RecompilerOps(CMipsMemoryVM & /*MMU*/, CCodeBlock & CodeBlock) :
@ -887,4 +889,6 @@ void CX64RecompilerOps::CompileExecuteBP(void)
void CX64RecompilerOps::CompileExecuteDelaySlotBP(void)
{
g_Notify->BreakPoint(__FILE__, __LINE__);
}
}
#endif

View File

@ -1,4 +1,6 @@
#include "stdafx.h"
#if defined(__amd64__) || defined(_M_X64)
#include <Project64-core/N64System/Recompiler/x64-86/x64RegInfo.h>
CX64RegInfo::CX64RegInfo(CCodeBlock & /*CodeBlock*/, CX64Ops & /*Assembler*/)
@ -31,4 +33,6 @@ bool CX64RegInfo::operator!=(const CX64RegInfo & /*right*/) const
{
g_Notify->BreakPoint(__FILE__, __LINE__);
return false;
}
}
#endif

View File

@ -1,4 +1,6 @@
#include "stdafx.h"
#if defined(__amd64__) || defined(_M_X64)
#include <Project64-core/N64System/Recompiler/x64-86/x64ops.h>
CX64Ops::CX64Ops(CCodeBlock & CodeBlock) :
@ -6,4 +8,4 @@ CX64Ops::CX64Ops(CCodeBlock & CodeBlock) :
{
}
#endif

View File

@ -103,7 +103,7 @@
<ClCompile Include="N64System\Recompiler\RegBase.cpp" />
<ClCompile Include="N64System\Recompiler\x64-86\x64ops.cpp" />
<ClCompile Include="N64System\Recompiler\x64-86\x64RecompilerOps.cpp" />
<ClCompile Include="N64System\Recompiler\x64-86\x86RegInfo.cpp" />
<ClCompile Include="N64System\Recompiler\x64-86\x64RegInfo.cpp" />
<ClCompile Include="N64System\Recompiler\x86\x86ops.cpp" />
<ClCompile Include="N64System\Recompiler\x86\x86RecompilerOps.cpp" />
<ClCompile Include="N64System\Recompiler\x86\x86RegInfo.cpp" />

View File

@ -420,10 +420,10 @@
<ClCompile Include="N64System\Recompiler\x64-86\x64RecompilerOps.cpp">
<Filter>Source Files\N64 System\Recompiler\x64-86</Filter>
</ClCompile>
<ClCompile Include="N64System\Recompiler\x64-86\x86RegInfo.cpp">
<ClCompile Include="N64System\Recompiler\x64-86\x64ops.cpp">
<Filter>Source Files\N64 System\Recompiler\x64-86</Filter>
</ClCompile>
<ClCompile Include="N64System\Recompiler\x64-86\x64ops.cpp">
<ClCompile Include="N64System\Recompiler\x64-86\x64RegInfo.cpp">
<Filter>Source Files\N64 System\Recompiler\x64-86</Filter>
</ClCompile>
</ItemGroup>