Solved issue 1096 and issue 1098

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3780 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY
2009-07-13 13:37:52 +00:00
parent 4da0457524
commit e7a5f0fa3d
5 changed files with 13 additions and 5 deletions

View File

@ -1801,12 +1801,12 @@ void CWII_IPC_HLE_Device_usb_oh1_57e_305::CommandDisconnect(u8* _Input)
ERROR_LOG(WII_IPC_WIIMOTE, "IPC CommandDisconnect: WiiMote emulation is out of sync.\n"
"This message will be shot one time only, because dolphin does\n"
"not executes the disconnect at all and some times you can play\n"
"anyway. It is strongly recommed to save and/or restart the\n"
"anyway. It is strongly recommended to save and/or restart the\n"
"emulation.");
PanicAlert("IPC CommandDisconnect: WiiMote emulation is out of sync.\n"
"This message will be shot one time only, because dolphin does\n"
"not executes the disconnect at all and some times you can play\n"
"anyway. It is strongly recommed to save and/or restart the\n"
"anyway. It is strongly recommended to save and/or restart the\n"
"emulation.");
}
INFO_LOG(CONSOLE, "IPC CommandDisconnect\n");

View File

@ -113,6 +113,11 @@ void DSPConfigDialogHLE::AddBackend(const char* backend)
#endif
}
void DSPConfigDialogHLE::ClearBackends()
{
m_BackendSelection->Clear();
}
DSPConfigDialogHLE::~DSPConfigDialogHLE()
{
}

View File

@ -35,6 +35,7 @@ public:
long style = wxDEFAULT_DIALOG_STYLE);
virtual ~DSPConfigDialogHLE();
void AddBackend(const char *backend);
void ClearBackends();
private:
DECLARE_EVENT_TABLE();

View File

@ -176,6 +176,8 @@ void DllConfig(HWND _hParent)
else if (!m_ConfigFrame->GetParent()->IsShown())
m_ConfigFrame->Close(true);
m_ConfigFrame->ClearBackends();
// add backends
std::vector<std::string> backends = AudioCommon::GetSoundBackends();