mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Core/CheatSearchSession: Make a few methods const.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user