systemMessage(MSG_ERROR_CREATING_FILE, "Error creating file %s",
systemMessage(MSG_ERROR_CREATING_FILE, N_("Error creating file %s"),
bool CPUWriteBatteryFile(const char *fileName){  if(gbaSaveType == 0) {    if(eepromInUse)      gbaSaveType = 3;    else switch(saveType) {    case 1:      gbaSaveType = 1;      break;    case 2:      gbaSaveType = 2;      break;    }  }    if(gbaSaveType) {    FILE *file = fopen(fileName, "wb");        if(!file) {      systemMessage(MSG_ERROR_CREATING_FILE, "Error creating file %s",                    fileName);      return false;    }        // only save if Flash/Sram in use or EEprom in use    if(gbaSaveType != 3) {      if(gbaSaveType == 2) {        if(fwrite(flashSaveMemory, 1, flashSize, file) != (size_t)flashSize) {          fclose(file);          return false;        }      } else {        if(fwrite(flashSaveMemory, 1, 0x10000, file) != 0x10000) {          fclose(file);          return false;        }      }    } else {      if(fwrite(eepromData, 1, eepromSize, file) != (size_t)eepromSize) {        fclose(file);        return false;      }    }    fclose(file);  }  return true;}