WIP: uncapped framerate 8

This commit is contained in:
MysterD 2022-04-28 00:22:15 -07:00
parent 803db891d2
commit ef51666c98
2 changed files with 1 additions and 3 deletions

View File

@ -254,9 +254,6 @@ void patch_mtx_interpolated(f32 delta) {
delta_interpolate_mtx(&gMtxTbl[i].interp, (Mtx*) gMtxTbl[i].mtxPrev, (Mtx*) gMtxTbl[i].mtx, delta);
gSPMatrix(pos++, VIRTUAL_TO_PHYSICAL(&gMtxTbl[i].interp),
G_MTX_MODELVIEW | G_MTX_LOAD | G_MTX_NOPUSH);
if (delta >= 0.5f) {
gSPDisplayList(pos++, gMtxTbl[i].displayList);
}
}
}

View File

@ -234,6 +234,7 @@ void draw_skybox_tile_grid(Gfx **dlist, s8 background, s8 player, s8 colorIndex)
for (col = 0; col < 3; col++) {
s32 tileIndex = sSkyBoxInfo[player].upperLeftTile + row * SKYBOX_COLS + col;
// UGLY HACK: if the camera moves weird after a level transition this can go too high
if (tileIndex < 0) { tileIndex = 0; }
if (tileIndex > 79) { tileIndex = 79; }
Texture* texture = NULL;
if (background >= 10) {