gc_adapter: Make DeviceConnected() a const member function

This doesn't modify instance state, so it can be made const.
This commit is contained in:
Lioncash 2020-09-07 02:45:04 -04:00
parent 841b295ad0
commit c715fc4c5e
3 changed files with 9 additions and 9 deletions

View file

@ -76,7 +76,7 @@ public:
void EndConfiguration();
/// Returns true if there is a device connected to port
bool DeviceConnected(std::size_t port);
bool DeviceConnected(std::size_t port) const;
std::array<Common::SPSCQueue<GCPadStatus>, 4>& GetPadQueue();
const std::array<Common::SPSCQueue<GCPadStatus>, 4>& GetPadQueue() const;