Example #1
0
void Config_DoConfig(/*HWND hParent*/)
{
	wchar_t strIniFolderPath[PLUGIN_PATH_SIZE];
	api().FindPluginPath(strIniFolderPath);

	ConfigOpen = true;
	const bool bRestart = RunConfig(strIniFolderPath);
	if (config.generalEmulation.enableCustomSettings != 0)
		LoadCustomRomSettings(strIniFolderPath, RSP.romname);
	if (bRestart)
		dwnd().restart();
	ConfigOpen = false;
}
Example #2
0
BOOL WINAPI MPQDraftPluginInterface::Configure(HWND /*parentwindow*/)
{
  return RunConfig() ? TRUE : FALSE;
}
// Functions called by BWLauncher
//
extern "C" __declspec(dllexport) bool OpenConfig()
{
  return RunConfig();
}