Fixed a couple of unused variable warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@486 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
86a9c845c3
commit
09ba0a3a11
|
@ -22,7 +22,6 @@
|
||||||
namespace Gen
|
namespace Gen
|
||||||
{
|
{
|
||||||
static u8 *code;
|
static u8 *code;
|
||||||
static bool mode32 = false;
|
|
||||||
static bool enableBranchHints = false;
|
static bool enableBranchHints = false;
|
||||||
|
|
||||||
void SetCodePtr(u8 *ptr)
|
void SetCodePtr(u8 *ptr)
|
||||||
|
@ -89,7 +88,6 @@ namespace Gen
|
||||||
|
|
||||||
inline void Write64(u64 value)
|
inline void Write64(u64 value)
|
||||||
{
|
{
|
||||||
_dbg_assert_msg_(DYNA_REC,!mode32,"!mode32");
|
|
||||||
*(u64*)code = value;
|
*(u64*)code = value;
|
||||||
code += 8;
|
code += 8;
|
||||||
}
|
}
|
||||||
|
@ -113,7 +111,6 @@ namespace Gen
|
||||||
if (customOp >> 3) op |= 4;
|
if (customOp >> 3) op |= 4;
|
||||||
if (indexReg >> 3) op |= 2;
|
if (indexReg >> 3) op |= 2;
|
||||||
if (offsetOrBaseReg >> 3) op |= 1; //TODO investigate if this is dangerous
|
if (offsetOrBaseReg >> 3) op |= 1; //TODO investigate if this is dangerous
|
||||||
_dbg_assert_msg_(DYNA_REC, !mode32 || op == 0x40, "!mode32");
|
|
||||||
if (op != 0x40)
|
if (op != 0x40)
|
||||||
Write8(op);
|
Write8(op);
|
||||||
#else
|
#else
|
||||||
|
@ -134,7 +131,6 @@ namespace Gen
|
||||||
|
|
||||||
if (scale == SCALE_RIP) //Also, on 32-bit, just an immediate address
|
if (scale == SCALE_RIP) //Also, on 32-bit, just an immediate address
|
||||||
{
|
{
|
||||||
_dbg_assert_msg_(DYNA_REC,!mode32,"!mode32");
|
|
||||||
// Oh, RIP addressing.
|
// Oh, RIP addressing.
|
||||||
_offsetOrBaseReg = 5;
|
_offsetOrBaseReg = 5;
|
||||||
WriteModRM(0, _operandReg&7, 5);
|
WriteModRM(0, _operandReg&7, 5);
|
||||||
|
|
|
@ -572,7 +572,9 @@ void CWII_IPC_HLE_WiiMote::CommandConnectionResponse(u8 _Ident, u8* _pData, u32
|
||||||
}
|
}
|
||||||
|
|
||||||
void CWII_IPC_HLE_WiiMote::CommandCofigurationResponse(u8 _Ident, u8* _pData, u32 _Size) {
|
void CWII_IPC_HLE_WiiMote::CommandCofigurationResponse(u8 _Ident, u8* _pData, u32 _Size) {
|
||||||
|
#ifdef LOGGING
|
||||||
l2cap_conf_rsp* rsp = (l2cap_conf_rsp*)_pData;
|
l2cap_conf_rsp* rsp = (l2cap_conf_rsp*)_pData;
|
||||||
|
#endif
|
||||||
|
|
||||||
_dbg_assert_(WIIMOTE, _Size == sizeof(l2cap_conf_rsp));
|
_dbg_assert_(WIIMOTE, _Size == sizeof(l2cap_conf_rsp));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue