diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp index 112126d180..ba71681855 100644 --- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp +++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp @@ -94,7 +94,7 @@ namespace Jit64 gpr.Flush(FLUSH_ALL); fpr.Flush(FLUSH_ALL); if (Core::GetStartupParameter().bUseDualCore) - CALL(&PowerPC::OnIdleDC); + CALL((void *)&PowerPC::OnIdleDC); else ABI_CallFunctionC((void *)&PowerPC::OnIdle, PowerPC::ppcState.gpr[a] + (s32)(s16)inst.SIMM_16); MOV(32, M(&PowerPC::ppcState.pc), Imm32(js.compilerPC + 12)); diff --git a/Source/Plugins/Plugin_DSP_LLE/Src/disassemble.cpp b/Source/Plugins/Plugin_DSP_LLE/Src/disassemble.cpp index 553cd60171..763f088fa6 100644 --- a/Source/Plugins/Plugin_DSP_LLE/Src/disassemble.cpp +++ b/Source/Plugins/Plugin_DSP_LLE/Src/disassemble.cpp @@ -352,8 +352,8 @@ char* gd_dis_opcode(gd_globals_t* gdg) { uint32 j; uint32 op1, op2; - opc_t* opc; - opc_t* opc_ext; + opc_t* opc = NULL; + opc_t* opc_ext = NULL; uint16 pc; char* buf = gdg->buffer; bool extended; diff --git a/Source/Plugins/Plugin_DSP_LLE/Src/gdsp_aram.cpp b/Source/Plugins/Plugin_DSP_LLE/Src/gdsp_aram.cpp index 000ce3ba48..6b106490ad 100644 --- a/Source/Plugins/Plugin_DSP_LLE/Src/gdsp_aram.cpp +++ b/Source/Plugins/Plugin_DSP_LLE/Src/gdsp_aram.cpp @@ -71,7 +71,7 @@ sint16 ADPCM_Step(uint32& _rSamplePos, uint32 _BaseAddress) uint16 dsp_read_aram() { - uint32 BaseAddress = (gdsp_ifx_regs[DSP_ACSAH] << 16) | gdsp_ifx_regs[DSP_ACSAL]; + // uint32 BaseAddress = (gdsp_ifx_regs[DSP_ACSAH] << 16) | gdsp_ifx_regs[DSP_ACSAL]; uint32 EndAddress = (gdsp_ifx_regs[DSP_ACEAH] << 16) | gdsp_ifx_regs[DSP_ACEAL]; uint32 Address = (gdsp_ifx_regs[DSP_ACCAH] << 16) | gdsp_ifx_regs[DSP_ACCAL]; diff --git a/Source/Plugins/Plugin_DSP_LLE/Src/main.cpp b/Source/Plugins/Plugin_DSP_LLE/Src/main.cpp index d1362ce255..86b161ce41 100644 --- a/Source/Plugins/Plugin_DSP_LLE/Src/main.cpp +++ b/Source/Plugins/Plugin_DSP_LLE/Src/main.cpp @@ -153,6 +153,7 @@ void* dsp_thread_debug(void* lpParameter) } } #endif + return NULL; } diff --git a/Source/Plugins/Plugin_DSP_LLE/Src/opcodes.h b/Source/Plugins/Plugin_DSP_LLE/Src/opcodes.h index 901f919d12..2d05f14780 100644 --- a/Source/Plugins/Plugin_DSP_LLE/Src/opcodes.h +++ b/Source/Plugins/Plugin_DSP_LLE/Src/opcodes.h @@ -25,7 +25,7 @@ #ifndef _OPCODES_H #define _OPCODES_H -typedef enum partype_t +enum partype_t { P_NONE = 0x0000, P_VAL = 0x0001,