Fixed incorrect hash generation + lint fixes

This commit is contained in:
Gliniak
2022-04-29 20:33:21 +02:00
parent 585b208fc0
commit d78fd19ab4
5 changed files with 15 additions and 17 deletions

View File

@@ -15,7 +15,8 @@
#include "xenia/patcher/patch_db.h"
DEFINE_bool(apply_patches, true, "Enables custom patching functionality", "General");
DEFINE_bool(apply_patches, true, "Enables custom patching functionality",
"General");
namespace xe {
namespace patcher {
@@ -183,7 +184,7 @@ std::vector<PatchFileEntry> PatchDB::GetTitlePatches(uint32_t title_id,
return title_patches;
}
void PatchDB::ReadHash(PatchFileEntry &patchEntry,
void PatchDB::ReadHash(PatchFileEntry& patchEntry,
std::shared_ptr<cpptoml::table> patch_toml_fields) {
auto title_hashes = patch_toml_fields->get_array_of<std::string>("hash");