mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-06 23:51:17 +00:00
WIP: uncapped framerate 7
This commit is contained in:
parent
5e17edfd01
commit
803db891d2
3 changed files with 4 additions and 2 deletions
|
@ -250,6 +250,7 @@ void handle_power_meter_actions(s16 numHealthWedges) {
|
|||
|| sPowerMeterHUD.animation == POWER_METER_EMPHASIZED) {
|
||||
sPowerMeterHUD.animation = POWER_METER_DEEMPHASIZING;
|
||||
sPowerMeterHUD.y = 166;
|
||||
sPowerMeterPrevY = 166;
|
||||
}
|
||||
sPowerMeterVisibleTimer = 0;
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ void patch_djui_before(void) {
|
|||
|
||||
void patch_djui_interpolated(UNUSED f32 delta) {
|
||||
// reset the head and re-render DJUI
|
||||
if (delta >= 0.5f && !sDjuiRendered60fps) {
|
||||
if (delta >= 0.5f && !sDjuiRendered60fps && gDjuiInMainMenu) {
|
||||
sDjuiRendered60fps = true;
|
||||
if (sSavedDisplayListHead == NULL) { return; }
|
||||
gDisplayListHead = sSavedDisplayListHead;
|
||||
|
|
|
@ -114,7 +114,8 @@ void djui_panel_update(void) {
|
|||
return;
|
||||
}
|
||||
|
||||
sMoveAmount += (config60Fps ? 1.0f : 2.0f) * (moveMax / 10.0f);
|
||||
extern u8 gRenderingInterpolated;
|
||||
sMoveAmount += (gRenderingInterpolated ? 1.0f : 2.0f) * (moveMax / 10.0f);
|
||||
if (sMoveAmount >= moveMax) {
|
||||
sMoveAmount = moveMax;
|
||||
if (parentBase != NULL) {
|
||||
|
|
Loading…
Reference in a new issue