From 763562357b73de058a0ba27772a39c1ba9dd603c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 23 Jan 2024 14:40:42 -0500 Subject: [PATCH] Movie: Mark getters as const These don't modify internal member state. --- Source/Core/Core/Movie.cpp | 4 ++-- Source/Core/Core/Movie.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/Core/Movie.cpp b/Source/Core/Core/Movie.cpp index 4640a3eb69..140a0cdf82 100644 --- a/Source/Core/Core/Movie.cpp +++ b/Source/Core/Core/Movie.cpp @@ -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); diff --git a/Source/Core/Core/Movie.h b/Source/Core/Core/Movie.h index 74b541cc2f..32d160a39c 100644 --- a/Source/Core/Core/Movie.h +++ b/Source/Core/Core/Movie.h @@ -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();