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

CPU overclock hotkeys + OSD overlay #1740

Merged
merged 18 commits into from
Dec 30, 2024
Merged

Conversation

tGecko
Copy link
Member

@tGecko tGecko commented Dec 30, 2024

SDL to framebuffer overlay + CPU clock hotkeys (START+SELECT+L/R)

@Aemiii91 Aemiii91 enabled auto-merge December 30, 2024 20:16
@Aemiii91 Aemiii91 added this pull request to the merge queue Dec 30, 2024
Merged via the queue into main with commit 7b742e1 Dec 30, 2024
2 checks passed
@Aemiii91 Aemiii91 deleted the feat-sdl-overlay-cpuclock-hotkeys branch December 30, 2024 20:23
@Aemiii91 Aemiii91 added the enhancement New or improved feature label Dec 30, 2024
@Aemiii91 Aemiii91 changed the title SDL to framebuffer overlay + CPU clock hotkeys CPU overclock hotkeys + OSD overlay Dec 30, 2024
@JordonVW
Copy link

Where is the cpuclock.txt file in Retroarch or is it integrated elsewhere now?

@Aemiii91
Copy link
Member

@JordonVW no change since 4.2 (see FAQ)

@JordonVW
Copy link

@JordonVW no change since 4.2 (see FAQ)

Ahh it seems when I updated to the latest beta it removes my overclock, I assumed the new overclock function was to set this value but it seems like it's a more on the fly type adjustment rather than saving the overclock you set.

@Aemiii91
Copy link
Member

@JordonVW not sure why it got deleted (it shouldn't, afaik).. but yeah, this is just on-the-fly for now.

@JordonVW
Copy link

@JordonVW not sure why it got deleted (it shouldn't, afaik).. but yeah, this is just on-the-fly for now.

It looks like this new overclock function overrides any overclock done with the old cpuclock.txt method in the retroarch folder and you have to use the new method on startup of each game.

@Aemiii91
Copy link
Member

@JordonVW it does not affect the cpuclock.txt functionality at all. The cpuclock.txt is read and applied by RetroArch. The hotkeys will adjust the current clock speed (as reported by the hardware).

The combined flow is:

  • RetroArch/cpuclock.txt is present with contents: "1500"
  • RetroArch detects it and applies the clock speed value stated by the file
  • the CPU clock is now at 1500
  • pressing the OC hotkeys will either increase or decrease this value by 100
  • exiting RetroArch will reset the clock speed

@JordonVW
Copy link

My mistake the file I made added an additional .txt ending to my file so it was cpuclock.txt.txt.

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

Successfully merging this pull request may close these issues.

4 participants