Core/CheatSearchSession: Make a few methods const.

This commit is contained in:
Admiral H. Curtiss
2021-10-28 02:16:19 +02:00
parent 6e814cbb8f
commit b154ba513c
2 changed files with 15 additions and 15 deletions

View File

@ -478,31 +478,31 @@ Cheats::SearchErrorCode Cheats::CheatSearchSession<T>::RunSearch()
}
template <typename T>
size_t Cheats::CheatSearchSession<T>::GetMemoryRangeCount()
size_t Cheats::CheatSearchSession<T>::GetMemoryRangeCount() const
{
return m_memory_ranges.size();
}
template <typename T>
Cheats::MemoryRange Cheats::CheatSearchSession<T>::GetMemoryRange(size_t index)
Cheats::MemoryRange Cheats::CheatSearchSession<T>::GetMemoryRange(size_t index) const
{
return m_memory_ranges[index];
}
template <typename T>
PowerPC::RequestedAddressSpace Cheats::CheatSearchSession<T>::GetAddressSpace()
PowerPC::RequestedAddressSpace Cheats::CheatSearchSession<T>::GetAddressSpace() const
{
return m_address_space;
}
template <typename T>
Cheats::DataType Cheats::CheatSearchSession<T>::GetDataType()
Cheats::DataType Cheats::CheatSearchSession<T>::GetDataType() const
{
return Cheats::GetDataType(Cheats::SearchValue{T(0)});
}
template <typename T>
bool Cheats::CheatSearchSession<T>::GetAligned()
bool Cheats::CheatSearchSession<T>::GetAligned() const
{
return m_aligned;
}