Fix Linux Building, Add failsafe check in volume deleting. Also started work on Microphone emulation, base work from Mem card. Just enough to make Odama think I have a Microphone in currently. It must be waiting for me to press the button on the Mic to continue to start, although I can wait through the intro and then use controller, is a pain though. More to come

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@870 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1 committed 2008-10-15 04:23:02 +00:00
1 parent f417aac20b
commit 6fe6fd0b4c
6 files changed
+20 -5

No files matched your search

+9 -2
View File
@@ -31,8 +31,15 @@ void SetVolumeName(const std::string& _rFullPath)
{
if (g_pVolume)
{
delete g_pVolume;
g_pVolume = NULL;
try
{
delete g_pVolume;
g_pVolume = NULL;
}
catch()
{
printf("Couldn't Delete g_pVolume and set it to Null!\n");
}
}
g_pVolume = DiscIO::CreateVolumeFromFilename(_rFullPath);