"Unsupported cheat list version %d", version);
N_("Unsupported cheat list version %d"), version);
bool cheatsLoadCheatList(const char *file){  cheatsNumber = 0;  int count = 0;  FILE *f = fopen(file, "rb");  if(f == NULL)    return false;  int version = 0;  if(fread(&version, 1, sizeof(version), f) != sizeof(version)) {    fclose(f);    return false;  }       if(version != 1) {    systemMessage(MSG_UNSUPPORTED_CHEAT_LIST_VERSION,                  "Unsupported cheat list version %d", version);    fclose(f);    return false;  }  int type = 0;  if(fread(&type, 1, sizeof(type), f) != sizeof(type)) {    fclose(f);    return false;  }  if(type != 0) {    systemMessage(MSG_UNSUPPORTED_CHEAT_LIST_TYPE,                  "Unsupported cheat list type %d", type);    fclose(f);    return false;  }    if(fread(&count, 1, sizeof(count), f) != sizeof(count)) {    fclose(f);    return false;  }    if(fread(cheatsList, 1, sizeof(cheatsList), f) != sizeof(cheatsList)) {    fclose(f);    return false;  }  bool firstCodeBreaker = true;    for(int i = 0; i < count; i++) {    cheatsList[i].status = 0; // remove old status as it is not used    if(!cheatsList[i].codestring[0]) {      switch(cheatsList[i].size) {      case 0:        sprintf(cheatsList[i].codestring, "%08x:%02x", cheatsList[i].address,                cheatsList[i].value);        break;      case 1:        sprintf(cheatsList[i].codestring, "%08x:%04x", cheatsList[i].address,                cheatsList[i].value);        break;      case 2:        sprintf(cheatsList[i].codestring, "%08x:%08x", cheatsList[i].address,                cheatsList[i].value);        break;      }    }        if(cheatsList[i].code == 512 && firstCodeBreaker) {      firstCodeBreaker = false;      char buffer[10];      strncpy(buffer, cheatsList[i].codestring, 8);      buffer[8] = 0;      u32 address;      sscanf(buffer, "%x", &address);      if((address >> 28) == 9) {        strncpy(buffer, &cheatsList[i].codestring[9], 4);        buffer[4] = 0;        u32 value;        sscanf(buffer, "%x", &value);                u32 seed[8];        cheatsCBAParseSeedCode(address, value, seed);        cheatsCBAChangeEncryption(seed);      }        }  }  cheatsNumber = count;  fclose(f);  return true;}