Save file hash failing should log, not error. Release Build 8655.

pull/57/head
sigonasr2 11 months ago
parent 020f47f1f9
commit 28003c88a0
  1. 2
      Adventures in Lestoria/SaveFile.cpp
  2. 4
      Adventures in Lestoria/Version.h
  3. BIN
      Adventures in Lestoria/assets/AdventuresInLestoria_GamePatch.png
  4. BIN
      Adventures in Lestoria/assets/AdventuresInLestoria_GamePatch.xcf
  5. BIN
      Adventures in Lestoria/assets/AdventuresInLestoria_LibraryHero.xcf
  6. BIN
      Adventures in Lestoria/assets/AdventuresInLestoria_LibraryHeroGamePatch.png
  7. BIN
      x64/Release/Adventures in Lestoria.exe

@ -315,7 +315,7 @@ void SaveFile::LoadFile(){
trim(fileHash); //It's possible the expected file hash has a space at the end/beginning that gets stripped out. We want to trim and match that string.
if(expectedFileHash!=fileHash){
ERR(std::format("WARNING! Filehash for file {} was not identified as proper! Will not load this file!","save_file_path"_S+std::format("save.{:04}",saveFileID)));
LOG(std::format("WARNING! Filehash for file {} was not identified as proper! Will not load this file!","save_file_path"_S+std::format("save.{:04}",saveFileID)));
return;
}

@ -37,9 +37,9 @@ All rights reserved.
#pragma endregion
#pragma once
#define VERSION_MAJOR 1
#define VERSION_MINOR 0
#define VERSION_MINOR 1
#define VERSION_PATCH 0
#define VERSION_BUILD 8652
#define VERSION_BUILD 8655
#define stringify(a) stringify_(a)
#define stringify_(a) #a

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Loading…
Cancel
Save