mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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:
@ -341,7 +341,7 @@ void LoadStateCallback(u64 userdata, int cyclesLate)
|
||||
if (res != LZO_E_OK)
|
||||
{
|
||||
// This doesn't seem to happen anymore.
|
||||
PanicAlert("Internal LZO Error - decompression failed (%d) (%d, %d) \n"
|
||||
PanicAlert("Internal LZO Error - decompression failed (%d) (%li, %li) \n"
|
||||
"Try loading the state again", res, i, new_len);
|
||||
fclose(f);
|
||||
delete[] buffer;
|
||||
@ -440,7 +440,7 @@ void VerifyStateCallback(u64 userdata, int cyclesLate)
|
||||
if (res != LZO_E_OK)
|
||||
{
|
||||
// This doesn't seem to happen anymore.
|
||||
PanicAlert("Internal LZO Error - decompression failed (%d) (%d, %d) \n"
|
||||
PanicAlert("Internal LZO Error - decompression failed (%d) (%ld, %ld) \n"
|
||||
"Try verifying the state again", res, i, new_len);
|
||||
fclose(f);
|
||||
delete [] buffer;
|
||||
|
Reference in New Issue
Block a user