protected int getVersionIndex(String romId) {
		switch (romId) {
			case "BRBJ0":
				return 0;
			case "BRKJ0":
				return 1;
			case "BRBE0":
			case "BRBP0":
				return 2;
			case "BRKE0":
			case "BRKP0":
				return 3;
			default:
				throw new IllegalArgumentException("Unknown ROM ID \"" + romId
						+ "\".");
		}
	}