forked from dolphin-emu/dolphin
HW/SI: GCAdapter calibration fix.
This commit is contained in:
@@ -485,6 +485,11 @@ bool DeviceConnected(int chan)
|
||||
return s_controller_type[chan] != ControllerTypes::CONTROLLER_NONE;
|
||||
}
|
||||
|
||||
void ResetDeviceType(int chan)
|
||||
{
|
||||
s_controller_type[chan] = ControllerTypes::CONTROLLER_NONE;
|
||||
}
|
||||
|
||||
bool UseAdapter()
|
||||
{
|
||||
const auto& si_devices = SConfig::GetInstance().m_SIDevice;
|
||||
|
||||
@@ -29,6 +29,7 @@ void Output(int chan, u8 rumble_command);
|
||||
bool IsDetected();
|
||||
bool IsDriverDetected();
|
||||
bool DeviceConnected(int chan);
|
||||
void ResetDeviceType(int chan);
|
||||
bool UseAdapter();
|
||||
|
||||
} // end of namespace GCAdapter
|
||||
|
||||
@@ -382,6 +382,11 @@ bool DeviceConnected(int chan)
|
||||
return s_controller_type[chan] != ControllerTypes::CONTROLLER_NONE;
|
||||
}
|
||||
|
||||
void ResetDeviceType(int chan)
|
||||
{
|
||||
s_controller_type[chan] = ControllerTypes::CONTROLLER_NONE;
|
||||
}
|
||||
|
||||
bool UseAdapter()
|
||||
{
|
||||
const auto& si_devices = SConfig::GetInstance().m_SIDevice;
|
||||
|
||||
Reference in New Issue
Block a user