mirror of https://github.com/PCSX2/pcsx2.git
gsdx:windows: Don't call GSshutdown in GSconfigure
Fixes an issue with the D3D backends crashing if the configure dialog is accessed and ok is pressed. The D3Dcompiler dll is freed and a null pointer is dereferenced. It might break gsdxgui but GSshutdown really should not be called unless GSdx is shutting down. GSDumpGUI on Windows provides the same (or better) functionality.
This commit is contained in:
parent
5736b5e9eb
commit
69a84a2782
|
@ -811,12 +811,6 @@ EXPORT_C GSconfigure()
|
|||
GSDialog::InitCommonControls();
|
||||
if(GSSettingsDlg().DoModal() == IDOK)
|
||||
{
|
||||
if(s_gs != NULL && s_gs->m_wnd->IsManaged())
|
||||
{
|
||||
// Legacy apps like gsdxgui expect this...
|
||||
|
||||
GSshutdown();
|
||||
}
|
||||
// Force a reload of the gs state
|
||||
s_renderer = GSRendererType::Undefined;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue