diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2021-09-12 07:02:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-12 13:02:45 +0200 |
| commit | e31e35658dd08e9f983eef8aef0e239ecd603333 (patch) | |
| tree | 860251b0e12df6da711197463c3b3f145db73ab4 /include | |
| parent | 90c841c435463dc4601b371e2d19d7a6f7da4bac (diff) | |
Fix return UB (#958)
* Ydan_SP
* func_8002D7EC
* Gameplay_ChangeCameraStatus
* Graph_InitTHGA
* CollisioCheck_LineOC
* Fix more in camera and jpeg
* revert comment in player
Diffstat (limited to 'include')
| -rw-r--r-- | include/functions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.h b/include/functions.h index 775f8eab0..bd467f3ba 100644 --- a/include/functions.h +++ b/include/functions.h @@ -381,7 +381,7 @@ void Actor_Kill(Actor* actor); void Actor_SetFocus(Actor* actor, f32 offset); void Actor_SetScale(Actor* actor, f32 scale); void Actor_SetObjectDependency(GlobalContext* globalCtx, Actor* actor); -s16 func_8002D7EC(Actor* actor); +void func_8002D7EC(Actor* actor); void func_8002D868(Actor* actor); void Actor_MoveForward(Actor* actor); void func_8002D908(Actor* actor); @@ -1614,7 +1614,7 @@ void GameAlloc_Init(GameAlloc* this); void Graph_FaultClient(); void Graph_DisassembleUCode(Gfx* workBuf); void Graph_UCodeFaultClient(Gfx* workBuf); -void* Graph_InitTHGA(GraphicsContext* gfxCtx); +void Graph_InitTHGA(GraphicsContext* gfxCtx); GameStateOverlay* Graph_GetNextGameState(GameState* gameState); void Graph_Init(GraphicsContext* gfxCtx); void Graph_Destroy(GraphicsContext* gfxCtx); |
