diff --git a/pcsx2/gui/App.h b/pcsx2/gui/App.h index d0a07af00d..06172741e3 100644 --- a/pcsx2/gui/App.h +++ b/pcsx2/gui/App.h @@ -482,7 +482,7 @@ public: void PostMenuAction( MenuIdentifiers menu_id ) const; int IssueDialogAsModal( const wxString& dlgName ); void PostMethod( FnPtr_AppMethod method ); - bool DoStuckThread( PersistentThread& stuck_thread ); + int DoStuckThread( PersistentThread& stuck_thread ); void SysExecute(); void SysExecute( CDVD_SourceType cdvdsrc, const wxString& elf_override=wxEmptyString ); diff --git a/pcsx2/gui/AppMain.cpp b/pcsx2/gui/AppMain.cpp index 10be073ef0..9afeaadfe0 100644 --- a/pcsx2/gui/AppMain.cpp +++ b/pcsx2/gui/AppMain.cpp @@ -320,7 +320,7 @@ void Pcsx2App::OnOpenDialog_StuckThread( wxCommandEvent& evt ) DoStuckThread( *(PersistentThread*)evt.GetClientData() ); } -bool Pcsx2App::DoStuckThread( PersistentThread& stuck_thread ) +int Pcsx2App::DoStuckThread( PersistentThread& stuck_thread ) { if( !wxThread::IsMain() ) {