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 /src/code/graph.c | |
| 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 'src/code/graph.c')
| -rw-r--r-- | src/code/graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/graph.c b/src/code/graph.c index d11b2e22e..ad960cf06 100644 --- a/src/code/graph.c +++ b/src/code/graph.c @@ -79,7 +79,7 @@ void Graph_UCodeFaultClient(Gfx* workBuf) { UCodeDisas_Destroy(&disassembler); } -void* Graph_InitTHGA(GraphicsContext* gfxCtx) { +void Graph_InitTHGA(GraphicsContext* gfxCtx) { GfxPool* pool = &gGfxPools[gfxCtx->gfxPoolIdx & 1]; pool->headMagic = GFXPOOL_HEAD_MAGIC; |
