public void setDoubleSpeedCpu(boolean enabled) {

		if (enabled) {
			INSTRS_PER_HBLANK = BASE_INSTRS_PER_HBLANK * 2;
			INSTRS_PER_DIV = BASE_INSTRS_PER_DIV * 2;
		} else {
			INSTRS_PER_HBLANK = BASE_INSTRS_PER_HBLANK;
			INSTRS_PER_DIV = BASE_INSTRS_PER_DIV;
		}

	}