"Maximum number of cheats reached.");
N_("Maximum number of cheats reached."));
void gbAddGgCheat(const char *code, const char *desc){  if(gbCheatNumber > 99) {    systemMessage(MSG_MAXIMUM_NUMBER_OF_CHEATS,                  "Maximum number of cheats reached.");    return;  }  if(!gbVerifyGgCode(code)) {    systemMessage(MSG_INVALID_GAMEGENIE_CODE,                  "Invalid GameGenie code: %s", code);    return;  }    int i = gbCheatNumber;  int len = strlen(code);    strcpy(gbCheatList[i].cheatCode, code);  strcpy(gbCheatList[i].cheatDesc, desc);  gbCheatList[i].code = 1;  gbCheatList[i].value = (GBCHEAT_HEX_VALUE(code[0]) << 4) +    GBCHEAT_HEX_VALUE(code[1]);    gbCheatList[i].address = (GBCHEAT_HEX_VALUE(code[2]) << 8) +    (GBCHEAT_HEX_VALUE(code[4]) << 4) +    (GBCHEAT_HEX_VALUE(code[5])) +    ((GBCHEAT_HEX_VALUE(code[6]) ^ 0x0f) << 12);  gbCheatList[i].compare = 0;    if(len != 7 && len != 8) {        int compare = (GBCHEAT_HEX_VALUE(code[8]) << 4) +      (GBCHEAT_HEX_VALUE(code[10]));    compare = compare ^ 0xff;    compare = (compare >> 2) | ( (compare << 6) & 0xc0);    compare ^= 0x45;    gbCheatList[i].compare = compare;    gbCheatList[i].code = 0;  }  gbCheatList[i].enabled = true;    gbCheatMap[gbCheatList[i].address] = true;    gbCheatNumber++;}