Skip to content

Commit

Permalink
jak2: 90 fps menu option (#3245)
Browse files Browse the repository at this point in the history
Closes #3223
  • Loading branch information
Hat-Kid authored Dec 3, 2023
1 parent 1808596 commit 9b6f16f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions goal_src/jak2/pc/debug/default-menu-pc.gc
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,7 @@
(flag "50" 50 dm-frame-rate-pick-func)
(flag "60" 60 dm-frame-rate-pick-func)
(flag "75" 75 dm-frame-rate-pick-func)
(flag "90" 90 dm-frame-rate-pick-func)
(flag "120" 120 dm-frame-rate-pick-func)
(flag "144" 144 dm-frame-rate-pick-func)
(flag "165" 165 dm-frame-rate-pick-func)
Expand Down
11 changes: 6 additions & 5 deletions goal_src/jak2/pc/progress/progress-static-pc.gc
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ This gives us more freedom to write code how we want.


(define *msaa-options* (new 'static 'boxed-array :type int16 1 2 4 8 16))
(define *frame-rate-options* (new 'static 'boxed-array :type int16 60 75 120 144 165 240))
(define *frame-rate-options* (new 'static 'boxed-array :type int16 60 75 90 120 144 165 240))
(define *frame-rate-disclaimer-seen?* #f)

(define *graphic-options-pc*
Expand Down Expand Up @@ -733,10 +733,11 @@ This gives us more freedom to write code how we want.
(case (-> *pc-settings* target-fps)
((60) 0)
((75) 1)
((120) 2)
((144) 3)
((165) 4)
((240) 5)
((90) 2)
((120) 3)
((144) 4)
((165) 5)
((240) 6)
)
)
:get-max-size-fn (lambda () (-> *frame-rate-options* length))
Expand Down

0 comments on commit 9b6f16f

Please sign in to comment.