Fix win86 build

This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis 2015-07-14 17:47:54 +02:00
parent f3c8e3623d
commit 1125f25eae
2 changed files with 3 additions and 3 deletions

View File

@ -2,6 +2,7 @@
#include "types.h"
#if HOST_CPU == CPU_X64
#include "hw/sh4/sh4_opcode_list.h"
#include "hw/sh4/modules/ccn.h"
#include "hw/sh4/sh4_interrupts.h"
@ -279,3 +280,4 @@ void ngen_CC_Finish(shil_opcode* op)
x86e->Emit(op_add32, ESP, ngen_CC_BytesPushed);
*/
}
#endif

View File

@ -125,8 +125,7 @@ int ExeptionHandler(u32 dwCode, void* pExceptionPointers)
{
return EXCEPTION_CONTINUE_EXECUTION;
}
#if !defined(HOST_NO_REC) && HOST_CPU == CPU_X64
/*
#if !defined(HOST_NO_REC) && HOST_CPU != CPU_X64
else if ( ngen_Rewrite((unat&)ep->ContextRecord->Eip,*(unat*)ep->ContextRecord->Esp,ep->ContextRecord->Eax) )
{
//remove the call from call stack
@ -135,7 +134,6 @@ int ExeptionHandler(u32 dwCode, void* pExceptionPointers)
ep->ContextRecord->Ecx=ep->ContextRecord->Eax;
return EXCEPTION_CONTINUE_EXECUTION;
}
*/
#endif
else
{