Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hrydgard
Copy link
Owner

@hrydgard hrydgard commented Jul 12, 2023

Now plays a sound when you:

  • Unlock an achievement
  • Submit a leaderboard entry

Will be made customizable later.

Part of #17631

@hrydgard hrydgard added User Interface PPSSPP's own user interface / UX RetroAchievements RetroAchievements related work labels Jul 12, 2023
@hrydgard hrydgard added this to the v1.16.0 milestone Jul 12, 2023
@hrydgard hrydgard merged commit 21b9ccc into master Jul 12, 2023
@hrydgard hrydgard deleted the more-achievement-ui-work branch July 12, 2023 18:49
loginButton->OnClick.Add([=](UI::EventParams &) -> UI::EventReturn {
if (!username_.empty() && !password_.empty()) {
Achievements::LoginAsync(username_.c_str(), password_.c_str());
password_.clear();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose, ideally, should memset() to zero first before clear(). Though, we're not even using SSL yet so probably that's overthinking things.

-[Unknown]

Copy link
Owner Author

@hrydgard hrydgard Jul 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Though, why not. I'll do it. There'll probably be more copies of the string floating around in memory though from the inputbox..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RetroAchievements RetroAchievements related work User Interface PPSSPP's own user interface / UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants