mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-16 09:57:57 -05:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user