mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 09:28:01 -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:
@ -283,7 +283,7 @@ void Adapter::Reset() {
|
||||
}
|
||||
}
|
||||
|
||||
bool Adapter::DeviceConnected(std::size_t port) {
|
||||
bool Adapter::DeviceConnected(std::size_t port) const {
|
||||
return adapter_controllers_status[port] != ControllerTypes::None;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user