diff --git a/include/RE/B/BGSSaveLoadManager.h b/include/RE/B/BGSSaveLoadManager.h index 818ba5184..450176c70 100644 --- a/include/RE/B/BGSSaveLoadManager.h +++ b/include/RE/B/BGSSaveLoadManager.h @@ -20,7 +20,7 @@ namespace RE class BGSSaveLoadFileEntry { public: - enum class SaveType : std::uint32_t + enum class SaveType { kAutosave = 0x0, kSave = 0x1, @@ -54,7 +54,7 @@ namespace RE std::uint16_t pad6A; // 6A std::uint32_t characterID; // 6C stl::enumeration saveType; // 70 - std::uint32_t pad74; // 74 + std::uint32_t pad74; // 74 }; static_assert(sizeof(BGSSaveLoadFileEntry) == 0x78); diff --git a/src/RE/B/BGSSaveLoadManager.cpp b/src/RE/B/BGSSaveLoadManager.cpp index 76a138c1f..4855ab964 100644 --- a/src/RE/B/BGSSaveLoadManager.cpp +++ b/src/RE/B/BGSSaveLoadManager.cpp @@ -23,7 +23,7 @@ namespace RE Load_Impl(a_fileName, -1, 0, a_checkForMods); } - void BGSSaveLoadManager::PopulateSaveList() + bool BGSSaveLoadManager::PopulateSaveList() { using func_t = decltype(&BGSSaveLoadManager::PopulateSaveList); static REL::Relocation func{ RELOCATION_ID(34850, 35760) };