diff --git a/pcsx2/gui/AppCoreThread.cpp b/pcsx2/gui/AppCoreThread.cpp index b150df0891..96052a51a2 100644 --- a/pcsx2/gui/AppCoreThread.cpp +++ b/pcsx2/gui/AppCoreThread.cpp @@ -862,8 +862,8 @@ ScopedCoreThreadPause::~ScopedCoreThreadPause() } ScopedCoreThreadPopup::ScopedCoreThreadPopup() + : m_scoped_core(std::unique_ptr(new ScopedCoreThreadPause())) { - m_scoped_core = std::unique_ptr(new ScopedCoreThreadPause()); }; void ScopedCoreThreadPopup::AllowResume() diff --git a/pcsx2/gui/Dialogs/FirstTimeWizard.cpp b/pcsx2/gui/Dialogs/FirstTimeWizard.cpp index 6c85a32673..95edb7188c 100644 --- a/pcsx2/gui/Dialogs/FirstTimeWizard.cpp +++ b/pcsx2/gui/Dialogs/FirstTimeWizard.cpp @@ -227,6 +227,6 @@ void FirstTimeWizard::OnPageChanging( wxWizardEvent& evt ) void FirstTimeWizard::OnPageChanged( wxWizardEvent& evt ) { - if( (sptr)evt.GetPage() == (sptr)&m_page_bios ) + if( ((sptr)evt.GetPage() == (sptr)&m_page_bios) ) m_panel_BiosSel.OnShown(); }