/*
 * @brief close any common control config stuff, called at game_shutdown()
 */
void control_config_common_close()
{
	// only need to worry control presets for now
	for (auto ii = Control_config_presets.cbegin(); ii != Control_config_presets.cend(); ++ii) {
		delete[] * ii;
	}
}
// Goober5000
int ssm_info_lookup(const char *name)
{
	if(name == NULL)
		return -1;

	for (auto it = Ssm_info.cbegin(); it != Ssm_info.cend(); ++it)
		if (!stricmp(name, it->name))
			return (int)std::distance(Ssm_info.cbegin(), it);

	return -1;
}