Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation and scrolling speed tied to CPU clock #113

Open
pixeltester opened this issue Mar 14, 2020 · 3 comments
Open

Animation and scrolling speed tied to CPU clock #113

pixeltester opened this issue Mar 14, 2020 · 3 comments

Comments

@pixeltester
Copy link

I overclock CPU with a specific title to improve operation speed in multiple homebrews. A side effect of this is that hbmenu animation and thus scrolling speed is tied to CPU clock and will speed up or slow down drastically depending on what clock speed is set. This could also present a problem for users who may underclock for battery saving purposes for example.

Can you lock animation speed for any CPU clock rate?

@fincs
Copy link
Contributor

fincs commented Mar 14, 2020

  1. Changing the clock frequency of the CPU outside of their normal parameters established by Nintendo is neither recommended nor supported by us.
  2. nx-hbmenu currently renders its interface purely in software, which is known to be slow. "Fixing" this would entail rewriting the entire interface to take advantage of the GPU, which is a major undertaking that has been considered, but a decision has not been taken yet.

@DevL0rd
Copy link

DevL0rd commented Aug 8, 2020

umm @fincs you just need to apply an animation delta so it is consistent no matter the speed it runs...

Delta being the time it took to get back to this code since last time, / 1000
IE:
scroll.y += scrollyY * delta

@WinterMute
Copy link
Collaborator

@DevL0rd patches always appreciated :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants