diff --git a/pcsx2/x86/iVUzerorec.cpp b/pcsx2/x86/iVUzerorec.cpp index e92fb95bed..8d4f7d369a 100644 --- a/pcsx2/x86/iVUzerorec.cpp +++ b/pcsx2/x86/iVUzerorec.cpp @@ -2611,8 +2611,13 @@ __declspec(naked) static void svudispfn() mov s_saveebp, ebp } #else - +#ifdef __LINUX__ +extern "C" { +#endif void svudispfn(); +#ifdef __LINUX__ +} +#endif void svudispfntemp() { diff --git a/pcsx2/x86/ix86/ix86.c b/pcsx2/x86/ix86/ix86.c index ccf58ba7e7..30ab02e615 100644 --- a/pcsx2/x86/ix86/ix86.c +++ b/pcsx2/x86/ix86/ix86.c @@ -3395,7 +3395,8 @@ __forceinline void LEA16RStoR(x86IntRegType to, x86IntRegType from, u32 scale) LEA32RStoR(to, from, scale); } -__forceinline void LEA32RStoR(x86IntRegType to, x86IntRegType from, u32 scale) +// Don't inline recursive functions +void LEA32RStoR(x86IntRegType to, x86IntRegType from, u32 scale) { if( to == from ) { SHL32ItoR(to, scale);