From de24a123db15cfaee4770414d05aaa2c5c633e76 Mon Sep 17 00:00:00 2001 From: powerof3 Date: Sat, 28 Sep 2024 23:36:12 +0530 Subject: [PATCH] Fix compile errors --- include/RE/B/BGSSaveLoadManager.h | 2 +- src/RE/B/BGSSaveLoadManager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/RE/B/BGSSaveLoadManager.h b/include/RE/B/BGSSaveLoadManager.h index e3c47cc62..b5ae176e9 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, 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) };