Fix save corruption in some 64-bit builds

This commit is contained in:
Colton G. Rushton 2020-05-09 21:13:57 -03:00 committed by GitHub
parent 8f928a4c3b
commit c3e450122c
1 changed files with 1 additions and 1 deletions

View File

@ -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;