Skip to content

Commit

Permalink
Revert "[BotW] Attempt for temporary workaround for Steam Deck users"
Browse files Browse the repository at this point in the history
This reverts commit 20c00e6.
  • Loading branch information
Crementif committed May 15, 2022
1 parent 20c00e6 commit 95812e6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/BreathOfTheWild/Mods/FPS++/patch_GameSpeed.asm
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ const_30:
const_60:
.float 60

const_0.00000000001:
.float 0.0000000001

timerTickSpeed:
busSpeed:
.float 62156250
Expand Down Expand Up @@ -179,9 +176,6 @@ cmpw r3, r11 ; Compare this new buffer index to the end index
blt startCalculateBufferLoop ; Loop back until the whole buffer is initialized with the value from
lis r3, bufferSizeDivider@ha ; When done with the loop, load the buffer size divider
lfs f7, bufferSizeDivider@l(r3) ; ...into f7
lis r3, const_0.00000000001@ha ; When done with the loop, load the buffer size divider
lfs f12, const_0.00000000001@l(r3) ; ...into f7
fadds f10, f10, f12
fdivs f10, f10, f7 ; Divide the average FPS sum by the buffer size divider to get the average FPS

; Calculates the gamespeed (which is stored in f10 regardless of average or static code path)
Expand Down

0 comments on commit 95812e6

Please sign in to comment.