few warning fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@545 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-09-16 20:24:34 +00:00
parent e6a12b553b
commit e4ca998ff8
5 changed files with 6 additions and 5 deletions

View File

@ -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));

View File

@ -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;

View File

@ -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];

View File

@ -153,6 +153,7 @@ void* dsp_thread_debug(void* lpParameter)
}
}
#endif
return NULL;
}

View File

@ -25,7 +25,7 @@
#ifndef _OPCODES_H
#define _OPCODES_H
typedef enum partype_t
enum partype_t
{
P_NONE = 0x0000,
P_VAL = 0x0001,