Movie: Mark getters as const

These don't modify internal member state.
This commit is contained in:
Lioncash 2024-01-23 14:40:42 -05:00
parent c0b0023b64
commit 763562357b
2 changed files with 4 additions and 4 deletions

View File

@ -161,7 +161,7 @@ std::string MovieManager::GetInputDisplay()
}
// NOTE: GPU Thread
std::string MovieManager::GetRTCDisplay()
std::string MovieManager::GetRTCDisplay() const
{
using ExpansionInterface::CEXIIPL;
@ -174,7 +174,7 @@ std::string MovieManager::GetRTCDisplay()
}
// NOTE: GPU Thread
std::string MovieManager::GetRerecords()
std::string MovieManager::GetRerecords() const
{
if (IsMovieActive())
return fmt::format("Rerecords: {}", m_rerecords);

View File

@ -222,8 +222,8 @@ public:
WiimoteEmu::ExtensionNumber ext, const WiimoteEmu::EncryptionKey& key);
std::string GetInputDisplay();
std::string GetRTCDisplay();
std::string GetRerecords();
std::string GetRTCDisplay() const;
std::string GetRerecords() const;
private:
void GetSettings();