Exemplo n.º 1
0
int compute_checksums(void) {

  if (sms_checksum != 0)
    compute_sms_checksum();
  if (gb_complement_check != 0)
    compute_gb_complement_check();
  if (gb_checksum != 0)
    compute_gb_checksum();
  if (snes_checksum != 0)
    compute_snes_checksum();

  return SUCCEEDED;
}
Exemplo n.º 2
0
int compute_checksums(void) {

  if (sms_checksum != 0)
    compute_sms_checksum();
  if (smstag_defined != 0)
    add_sms_tag();
  if (gb_complement_check != 0)
    compute_gb_complement_check();
  if (gb_checksum != 0)
    compute_gb_checksum();
  if (snes_checksum != 0)
    compute_snes_checksum();

  return SUCCEEDED;
}