2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

gc_poller: Mark GCButtonFactory::GetNextInput() as const

This doesn't modify class instance state.
This commit is contained in:
Lioncash 2020-07-12 15:43:05 -04:00
parent 839c91cd14
commit a1dddca4ab
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@ std::unique_ptr<Input::ButtonDevice> GCButtonFactory::Create(const Common::Param
return nullptr; return nullptr;
} }
Common::ParamPackage GCButtonFactory::GetNextInput() { Common::ParamPackage GCButtonFactory::GetNextInput() const {
Common::ParamPackage params; Common::ParamPackage params;
GCAdapter::GCPadStatus pad; GCAdapter::GCPadStatus pad;
auto& queue = adapter->GetPadQueue(); auto& queue = adapter->GetPadQueue();

View file

@ -25,7 +25,7 @@ public:
*/ */
std::unique_ptr<Input::ButtonDevice> Create(const Common::ParamPackage& params) override; std::unique_ptr<Input::ButtonDevice> Create(const Common::ParamPackage& params) override;
Common::ParamPackage GetNextInput(); Common::ParamPackage GetNextInput() const;
/// For device input configuration/polling /// For device input configuration/polling
void BeginConfiguration(); void BeginConfiguration();