WIP: uncapped framerate 8
This commit is contained in:
parent
803db891d2
commit
ef51666c98
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue