settings: Fix controller preview not displaying the correct controller
This commit is contained in:
1 parent
5d0f3540c4
commit
d14e74132c
3 files changed
+7
-4
No files matched your search
@@ -880,7 +880,7 @@ void EmulatedController::Disconnect() {
|
||||
}
|
||||
|
||||
bool EmulatedController::IsConnected(bool get_temporary_value) const {
|
||||
if (get_temporary_value) {
|
||||
if (get_temporary_value && is_configuring) {
|
||||
return tmp_is_connected;
|
||||
}
|
||||
return is_connected;
|
||||
@@ -897,7 +897,7 @@ NpadIdType EmulatedController::GetNpadIdType() const {
|
||||
}
|
||||
|
||||
NpadStyleIndex EmulatedController::GetNpadStyleIndex(bool get_temporary_value) const {
|
||||
if (get_temporary_value) {
|
||||
if (get_temporary_value && is_configuring) {
|
||||
return tmp_npad_type;
|
||||
}
|
||||
return npad_type;
|
||||
|
||||
Reference in new issue
Block a user