private RomEntry checkRomEntry(byte[] rom) {
		int version = rom[0x14C] & 0xFF;
		int nonjap = rom[0x14A] & 0xFF;
		// Check for specific CRC first
		int crcInHeader = ((rom[0x14E] & 0xFF) << 8) | (rom[0x14F] & 0xFF);
		for (RomEntry re : roms) {
			if (romSig(rom, re.romCode) && re.version == version
					&& re.nonJapanese == nonjap
					&& re.crcInHeader == crcInHeader) {
				return re;
			}
		}
		// Now check for non-specific-CRC entries
		for (RomEntry re : roms) {
			if (romSig(rom, re.romCode) && re.version == version
					&& re.nonJapanese == nonjap && re.crcInHeader == -1) {
				return re;
			}
		}
		// Not found
		return null;
	}