Merge pull request #14 from camdenorrb/fix-gecko-when-achievements-is-disabled

Fix calculate hash
This commit is contained in:
Camden 2024-12-14 23:40:15 -06:00 committed by GitHub
commit 1cfbf2309e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -163,11 +163,14 @@ int VerifyCommand(const std::vector<std::string>& args)
verifier.Finish();
const DiscIO::VolumeVerifier::Result& result = verifier.GetResult();
#ifdef USE_RETRO_ACHIEVEMENTS
// Calculate rcheevos hash
if (rc_hash_calculate)
{
rc_hash_result = AchievementManager::CalculateHash(input_file_path);
}
#endif
// Print the report
if (!algorithm_is_set)