bool normalCode = true;  if(address == 0) { cheatsList[x].enabled = false; normalCode = false; }  if(size == UNKNOWN_CODE) normalCode = false;
cheatsList[x].status = 0;
void cheatsAdd(char *codeStr,               char *desc,               u32 address,               u32 value,               int code,               int size){  if(cheatsNumber < 100) {    int x = cheatsNumber;    cheatsList[x].code = code;    cheatsList[x].size = size;    cheatsList[x].address = address;    cheatsList[x].value = value;    strcpy(cheatsList[x].codestring, codeStr);    strcpy(cheatsList[x].desc, desc);    cheatsList[x].enabled = true;    bool normalCode = true;        if(address == 0) {      cheatsList[x].enabled = false;      normalCode = false;    }    if(size == UNKNOWN_CODE)      normalCode = false;    // we only store the old value for this simple codes. ROM patching    // is taken care when it actually patches the ROM    switch(cheatsList[x].size) {    case INT_8_BIT_WRITE:      cheatsList[x].oldValue = CPUReadByte(address);      break;    case INT_16_BIT_WRITE:      cheatsList[x].oldValue = CPUReadHalfWord(address);      break;    case INT_32_BIT_WRITE:      cheatsList[x].oldValue = CPUReadMemory(address);      break;    }    cheatsNumber++;  }}