Skip to content

Commit

Permalink
Merge pull request sm64-port#29 from coltongit/patch-1
Browse files Browse the repository at this point in the history
Fix save corruption in some 64-bit builds
  • Loading branch information
vrmiguel authored May 10, 2020
2 parents 7a81769 + 1c86dca commit b433139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/game_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ void rendering_init(void) {
}

void config_gfx_pool(void) {
gGfxPool = &gGfxPools[gGlobalTimer % 2];
gGfxPool = &gGfxPools[gGlobalTimer % GFX_NUM_POOLS];
set_segment_base_addr(1, gGfxPool->buffer);
gGfxSPTask = &gGfxPool->spTask;
gDisplayListHead = gGfxPool->buffer;
Expand Down

0 comments on commit b433139

Please sign in to comment.