Merge large parts of nakeee's "Soap" branch into trunk, after fixing a few crash bugs in FileUtil.cpp.

Not really anything interesting, just some better comments, some slightly more portable/cleaner code in places.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2459 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-02-28 01:26:56 +00:00
parent 2783f24cfe
commit 4bdb4aa0d1
77 changed files with 1610 additions and 1479 deletions

View File

@ -245,7 +245,7 @@ void Initialize(void *init)
}
else
{
PanicAlert("Cannot recognize backend %s", g_Config.sBackend);
PanicAlert("Cannot recognize backend %s", g_Config.sBackend.c_str());
return;
}
@ -260,7 +260,7 @@ void Initialize(void *init)
if (!soundStream->Start())
{
PanicAlert("Could not initialize backend %s, falling back to NULL",
g_Config.sBackend);
g_Config.sBackend.c_str());
delete soundStream;
soundStream = new NullSound(48000, Mixer);
soundStream->Start();
@ -269,7 +269,7 @@ void Initialize(void *init)
else
{
PanicAlert("Sound backend %s is not valid, falling back to NULL",
g_Config.sBackend);
g_Config.sBackend.c_str());
delete soundStream;
soundStream = new NullSound(48000, Mixer);
soundStream->Start();