Merge pull request #29 from coltongit/patch-1

Fix save corruption in some 64-bit builds
master
Vinícius R. Miguel 2020-05-09 21:17:15 -03:00 committed by GitHub
commit b43313974c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;