Skip to content

Commit b433139

Browse files
authored
Merge pull request sm64-port#29 from coltongit/patch-1
Fix save corruption in some 64-bit builds
2 parents 7a81769 + 1c86dca commit b433139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/game_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ void rendering_init(void) {
306306
}
307307

308308
void config_gfx_pool(void) {
309-
gGfxPool = &gGfxPools[gGlobalTimer % 2];
309+
gGfxPool = &gGfxPools[gGlobalTimer % GFX_NUM_POOLS];
310310
set_segment_base_addr(1, gGfxPool->buffer);
311311
gGfxSPTask = &gGfxPool->spTask;
312312
gDisplayListHead = gGfxPool->buffer;

0 commit comments

Comments
 (0)