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
2010-12-05 09:04:34 +00:00
parent 3e4aa20601
commit 9da4fe086b
35 changed files with 88 additions and 71 deletions

View File

@ -106,11 +106,11 @@ void CheckFile(std::string File, u64 Size)
std::string Str = StringFromFormat("%s kB %s", ThousandSeparate(Size, 7).c_str(), File.c_str());
if (ShowSound(File))
{
NOTICE_LOG(FILEMON, Str.c_str());
NOTICE_LOG(FILEMON, "%s", Str.c_str());
}
else
{
WARN_LOG(FILEMON, Str.c_str());
WARN_LOG(FILEMON, "%s", Str.c_str());
}
// Update the current file