2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-02 08:29:36 +00:00

refactor(zcg): use wordsize instead of architecture

This commit is contained in:
Michael Oliver
2026-04-30 13:48:32 +01:00
parent abfc2dc547
commit 97591f59f4
30 changed files with 170 additions and 173 deletions
@@ -1,7 +1,7 @@
#include "InMemoryRepository.h"
InMemoryRepository::InMemoryRepository()
: m_architecture(Architecture::UNKNOWN)
: m_word_size(WordSize::UNKNOWN)
{
}
@@ -83,14 +83,14 @@ void InMemoryRepository::SetGame(std::string gameName)
m_game_name = std::move(gameName);
}
Architecture InMemoryRepository::GetArchitecture() const
WordSize InMemoryRepository::GetWordSize() const
{
return m_architecture;
return m_word_size;
}
void InMemoryRepository::SetArchitecture(const Architecture architecture)
void InMemoryRepository::SetWordSize(const WordSize wordSize)
{
m_architecture = architecture;
m_word_size = wordSize;
}
const std::vector<EnumDefinition*>& InMemoryRepository::GetAllEnums() const