allow gcc to check the format of args being passed to MsgAlert and GenericLog. Fixed nearly all warnings that arose from this, as well as some preexisting ones (some were actually crashes and/or bugs...)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6522 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman committed 2010-12-05 09:04:34 +00:00
1 parent 3e4aa20601
commit 9da4fe086b
35 files changed
+88 -71

No files matched your search

@@ -343,7 +343,7 @@ bool CUCode_AX::AXTask(u32& _uMail)
break;
case 0x0003:
DEBUG_LOG(DSPHLE, "%08x : AXLIST command 0x0003 ????");
DEBUG_LOG(DSPHLE, "%08x : AXLIST command 0x0003 ????", uAddress);
break;
case 0x0004: // AUX?
@@ -377,7 +377,7 @@ bool CUCode_AX::AXTask(u32& _uMail)
case 0x0009:
Addr__9 = Memory_Read_U32(uAddress);
uAddress += 4;
DEBUG_LOG(DSPHLE, "%08x : AXLIST 6 address: %08x", Addr__9);
DEBUG_LOG(DSPHLE, "%08x : AXLIST 6 address: %08x", uAddress, Addr__9);
break;
case AXLIST_COMPRESSORTABLE: // 0xa
@@ -438,7 +438,7 @@ bool CUCode_AX::AXTask(u32& _uMail)
num += 2;
}
PanicAlert(szTemp);
PanicAlert("%s", szTemp);
// bFirst = false;
}
@@ -52,7 +52,7 @@ void CUCode_CARD::HandleMail(u32 _uMail)
}
else
{
DEBUG_LOG(DSPHLE, "CUCode_CARD - unknown cmd: %x (size %i)", _uMail);
DEBUG_LOG(DSPHLE, "CUCode_CARD - unknown cmd: %x", _uMail);
}
m_rMailHandler.PushMail(DSP_DONE);