Movie: Mark getters as const
These don't modify internal member state.
This commit is contained in:
parent
c0b0023b64
commit
763562357b
|
@ -161,7 +161,7 @@ std::string MovieManager::GetInputDisplay()
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE: GPU Thread
|
// NOTE: GPU Thread
|
||||||
std::string MovieManager::GetRTCDisplay()
|
std::string MovieManager::GetRTCDisplay() const
|
||||||
{
|
{
|
||||||
using ExpansionInterface::CEXIIPL;
|
using ExpansionInterface::CEXIIPL;
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ std::string MovieManager::GetRTCDisplay()
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE: GPU Thread
|
// NOTE: GPU Thread
|
||||||
std::string MovieManager::GetRerecords()
|
std::string MovieManager::GetRerecords() const
|
||||||
{
|
{
|
||||||
if (IsMovieActive())
|
if (IsMovieActive())
|
||||||
return fmt::format("Rerecords: {}", m_rerecords);
|
return fmt::format("Rerecords: {}", m_rerecords);
|
||||||
|
|
|
@ -222,8 +222,8 @@ public:
|
||||||
WiimoteEmu::ExtensionNumber ext, const WiimoteEmu::EncryptionKey& key);
|
WiimoteEmu::ExtensionNumber ext, const WiimoteEmu::EncryptionKey& key);
|
||||||
|
|
||||||
std::string GetInputDisplay();
|
std::string GetInputDisplay();
|
||||||
std::string GetRTCDisplay();
|
std::string GetRTCDisplay() const;
|
||||||
std::string GetRerecords();
|
std::string GetRerecords() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void GetSettings();
|
void GetSettings();
|
||||||
|
|
Loading…
Reference in New Issue