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:
Jonathan Li 2016-04-07 18:17:11 +01:00
parent 5736b5e9eb
commit 69a84a2782
1 changed files with 0 additions and 6 deletions

View File

@ -811,12 +811,6 @@ EXPORT_C GSconfigure()
GSDialog::InitCommonControls(); GSDialog::InitCommonControls();
if(GSSettingsDlg().DoModal() == IDOK) 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 // Force a reload of the gs state
s_renderer = GSRendererType::Undefined; s_renderer = GSRendererType::Undefined;
} }