few warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@545 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e6a12b553b
commit
e4ca998ff8
|
@ -94,7 +94,7 @@ namespace Jit64
|
||||||
gpr.Flush(FLUSH_ALL);
|
gpr.Flush(FLUSH_ALL);
|
||||||
fpr.Flush(FLUSH_ALL);
|
fpr.Flush(FLUSH_ALL);
|
||||||
if (Core::GetStartupParameter().bUseDualCore)
|
if (Core::GetStartupParameter().bUseDualCore)
|
||||||
CALL(&PowerPC::OnIdleDC);
|
CALL((void *)&PowerPC::OnIdleDC);
|
||||||
else
|
else
|
||||||
ABI_CallFunctionC((void *)&PowerPC::OnIdle, PowerPC::ppcState.gpr[a] + (s32)(s16)inst.SIMM_16);
|
ABI_CallFunctionC((void *)&PowerPC::OnIdle, PowerPC::ppcState.gpr[a] + (s32)(s16)inst.SIMM_16);
|
||||||
MOV(32, M(&PowerPC::ppcState.pc), Imm32(js.compilerPC + 12));
|
MOV(32, M(&PowerPC::ppcState.pc), Imm32(js.compilerPC + 12));
|
||||||
|
|
|
@ -352,8 +352,8 @@ char* gd_dis_opcode(gd_globals_t* gdg)
|
||||||
{
|
{
|
||||||
uint32 j;
|
uint32 j;
|
||||||
uint32 op1, op2;
|
uint32 op1, op2;
|
||||||
opc_t* opc;
|
opc_t* opc = NULL;
|
||||||
opc_t* opc_ext;
|
opc_t* opc_ext = NULL;
|
||||||
uint16 pc;
|
uint16 pc;
|
||||||
char* buf = gdg->buffer;
|
char* buf = gdg->buffer;
|
||||||
bool extended;
|
bool extended;
|
||||||
|
|
|
@ -71,7 +71,7 @@ sint16 ADPCM_Step(uint32& _rSamplePos, uint32 _BaseAddress)
|
||||||
|
|
||||||
uint16 dsp_read_aram()
|
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 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];
|
uint32 Address = (gdsp_ifx_regs[DSP_ACCAH] << 16) | gdsp_ifx_regs[DSP_ACCAL];
|
||||||
|
|
||||||
|
|
|
@ -153,6 +153,7 @@ void* dsp_thread_debug(void* lpParameter)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#ifndef _OPCODES_H
|
#ifndef _OPCODES_H
|
||||||
#define _OPCODES_H
|
#define _OPCODES_H
|
||||||
|
|
||||||
typedef enum partype_t
|
enum partype_t
|
||||||
{
|
{
|
||||||
P_NONE = 0x0000,
|
P_NONE = 0x0000,
|
||||||
P_VAL = 0x0001,
|
P_VAL = 0x0001,
|
||||||
|
|
Loading…
Reference in New Issue