/* index = 0 gives default sti index > 0 gives other stis in detection order  */
struct sti_struct* sti_get_rom(unsigned int index)
/* index = 0 gives default sti index > 0 gives other stis in detection order  */
struct sti_struct* sti_get_rom(unsigned int index)
{
	if (!sticore_initialized)
		sti_init_roms();
	if (index == 0)
		return default_sti;
	if (index > num_sti_roms)
		return NULL;
	return sti_roms[index-1];
}