diff options
| author | Tharo <17233964+Thar0@users.noreply.github.com> | 2022-09-03 01:52:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-03 02:52:13 +0200 |
| commit | 6b77ddba5ae0941c10c58260c44270dfcb88e182 (patch) | |
| tree | 824d27ec4e9d60eca657b2739c8ddf7fab17a90d /src/code/game.c | |
| parent | c0cf83a814d13a9a07a2ca260203134fc4c5b735 (diff) | |
More documentation for padmgr.c (#1336)
* More documentation for padmgr.c
* Update comments
* Further suggested changes
* Suggested changes
* LOG_SEVERITY_INFO -> LOG_SEVERITY_CRITICAL
* Adjust PadMgr_RequestPadData comment
* Avoid array notation for args, adjust comment, rename the FaultMgr padInput field to inputs to better reflect it's an array
Diffstat (limited to 'src/code/game.c')
| -rw-r--r-- | src/code/game.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/game.c b/src/code/game.c index 053c836ff..4d49db966 100644 --- a/src/code/game.c +++ b/src/code/game.c @@ -227,10 +227,10 @@ void func_800C49F4(GraphicsContext* gfxCtx) { CLOSE_DISPS(gfxCtx, "../game.c", 865); } -void PadMgr_RequestPadData(PadMgr*, Input*, s32); +void PadMgr_RequestPadData(PadMgr* padMgr, Input* inputs, s32 gameRequest); void GameState_ReqPadData(GameState* gameState) { - PadMgr_RequestPadData(&gPadMgr, &gameState->input[0], 1); + PadMgr_RequestPadData(&gPadMgr, gameState->input, true); } void GameState_Update(GameState* gameState) { |
