mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Skipped the calibration of the GC controller if it has already been calibrated.
This commit is contained in:
@ -78,7 +78,8 @@ int CSIDevice_GCController::RunBuffer(u8* _pBuffer, int _iLength)
|
|||||||
{
|
{
|
||||||
INFO_LOG(SERIALINTERFACE, "PAD - Get Origin");
|
INFO_LOG(SERIALINTERFACE, "PAD - Get Origin");
|
||||||
|
|
||||||
Calibrate();
|
if (!m_Calibrated)
|
||||||
|
Calibrate();
|
||||||
|
|
||||||
u8* pCalibration = reinterpret_cast<u8*>(&m_Origin);
|
u8* pCalibration = reinterpret_cast<u8*>(&m_Origin);
|
||||||
for (int i = 0; i < (int)sizeof(SOrigin); i++)
|
for (int i = 0; i < (int)sizeof(SOrigin); i++)
|
||||||
|
Reference in New Issue
Block a user