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

GUI: Convert Power plan name to UTF-8 #5327

Merged
merged 1 commit into from
Jan 12, 2022
Merged

Conversation

refractionpcsx2
Copy link
Member

Description of Changes

Converts the string returned by the "Get friendly power plan name" to UTF-8 from wide string

Rationale behind Changes

Trying to print funny characters from a wide string does not work very well, at least for us, and it was causing the entire string not to be printed at all.

Suggested Testing Steps

On windows only, start PCSX2, see if it says your power plan settings in the console window.

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

Successfully merging this pull request may close these issues.

2 participants