Beispiel #1
0
EXPORT_C GSconfigure()
{
	try
	{
		if(!GSUtil::CheckSSE()) return;

#ifdef _WIN32
		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;
		}

#else

		if (RunLinuxDialog()) {
			theApp.ReloadConfig();
			// Force a reload of the gs state
			s_renderer = GSRendererType::Undefined;
		}

#endif

	} catch (GSDXRecoverableError)
	{
	}
}
Beispiel #2
0
EXPORT_C GSconfigure()
{
	try
	{
		if(!GSUtil::CheckSSE()) return;

#ifdef _WIN32
		GSDialog::InitCommonControls();
		if(GSSettingsDlg().DoModal() == IDOK)
		{
			// Force a reload of the gs state
			s_renderer = GSRendererType::Undefined;
		}

#else

		if (RunLinuxDialog()) {
			theApp.ReloadConfig();
			// Force a reload of the gs state
			s_renderer = GSRendererType::Undefined;
		}

#endif

	} catch (GSDXRecoverableError)
	{
	}
}
Beispiel #3
0
EXPORT_C GSconfigure()
{
	try
	{
		if(!GSUtil::CheckSSE()) return;

#ifdef _WINDOWS

		if(GSSettingsDlg(s_isgsopen2).DoModal() == IDOK)
		{
			if(s_gs != NULL && s_gs->m_wnd->IsManaged())
			{
				// Legacy apps like gsdxgui expect this...

				GSshutdown();
			}
		}

#else

		if (RunLinuxDialog()) {
			theApp.ReloadConfig();
		}

#endif
		// Force a reload of the gs state
		s_renderer = -1;

	} catch (GSDXRecoverableError)
	{
	}
}