mirror of https://github.com/PCSX2/pcsx2.git
UI: Fix hangs when hot-swapping GS plugins (which was introduced r3357)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3362 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
bba618beed
commit
ab9f479f70
|
@ -121,6 +121,8 @@ static void _Suspend()
|
||||||
|
|
||||||
void AppCoreThread::Suspend( bool isBlocking )
|
void AppCoreThread::Suspend( bool isBlocking )
|
||||||
{
|
{
|
||||||
|
if (IsClosed()) return;
|
||||||
|
|
||||||
if (IsSelf())
|
if (IsSelf())
|
||||||
{
|
{
|
||||||
// this should never fail...
|
// this should never fail...
|
||||||
|
|
|
@ -275,7 +275,7 @@ bool MainEmuFrame::_DoSelectIsoBrowser( wxString& result )
|
||||||
|
|
||||||
bool MainEmuFrame::_DoSelectELFBrowser()
|
bool MainEmuFrame::_DoSelectELFBrowser()
|
||||||
{
|
{
|
||||||
static const wxChar* elfFilterType = L"ELF Files (.elf)|*.elf;*.ELF|";
|
static const wxChar* elfFilterType = L"ELF Files (.elf)|*.elf;*.ELF";
|
||||||
|
|
||||||
wxFileDialog ctrl( this, _("Select ELF file..."), g_Conf->Folders.RunELF.ToString(), wxEmptyString,
|
wxFileDialog ctrl( this, _("Select ELF file..."), g_Conf->Folders.RunELF.ToString(), wxEmptyString,
|
||||||
(wxString)elfFilterType + L"|" + _("All Files (*.*)") + L"|*.*", wxFD_OPEN | wxFD_FILE_MUST_EXIST );
|
(wxString)elfFilterType + L"|" + _("All Files (*.*)") + L"|*.*", wxFD_OPEN | wxFD_FILE_MUST_EXIST );
|
||||||
|
|
Loading…
Reference in New Issue