mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-06 16:04:35 +00:00
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
This commit is contained in:
parent
c0cf83a814
commit
6b77ddba5a
13 changed files with 481 additions and 338 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue