diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-12-13 08:21:32 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-13 18:21:32 +0200 |
| commit | 4e6dffff5a325365dce234d3b7daba60dc3245c0 (patch) | |
| tree | 0d3a4657fb992eb4ea83990373a11583884e61e9 /src/d/d_home_button.cpp | |
| parent | 25dfef320b8c7bd1e9952bd54e5808aa665e841d (diff) | |
most of shieldD revo sdk matching (#2951)
* shieldD revo wpad done
* shieldD revo hio2 done
* shieldD revo aralt, ppcarch, gf done
* shieldD revo exi done
* shieldD revo SI done
* shieldD revo vi done
* shieldD revo mtx done
* shieldD revo GX mostly done
* shieldD revo ai/dsp done
* shieldD revo sc mostly done
* shieldD revo esp/euart/wenc mostly done
* build fixes
Diffstat (limited to 'src/d/d_home_button.cpp')
| -rw-r--r-- | src/d/d_home_button.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_home_button.cpp b/src/d/d_home_button.cpp index 194f5a3f86..bd11f303eb 100644 --- a/src/d/d_home_button.cpp +++ b/src/d/d_home_button.cpp @@ -147,8 +147,8 @@ void dHomeButton_c::initCursorPos() { void dHomeButton_c::calcCursorPos() { for (u32 i = 0; i < 4; i++) { - WPADDeviceType sp8; - WPADResult result = WPADProbe(i, &sp8); + u32 sp8; + s32 result = WPADProbe(i, &sp8); if (result == -2 || result == -3 || result == 0) { m_controllerData.wiiCon[i].kpad = &mReCPd::m_pad[i].field_0x4[0]; |
