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

(cheevos) use rc_client for state management #15912

Merged
merged 7 commits into from
Nov 15, 2023

Conversation

Jamiras
Copy link
Contributor

@Jamiras Jamiras commented Nov 15, 2023

Description

This modifies the cheevos code to leverage the new rc_client structure provided by rcheevos 11.0 to manage the loaded game assets (achievements, leaderboards) and more tightly integrate the API calls (less stuff managed outside rcheevos makes the library more portable to other clients). This code is already live in two standalone emulators, and I've been testing it in RetroArch for a week, so I have a fairly high level of confidence in it.

At this time, I've chosen to use a conditional compilation flag (HAVE_RC_CLIENT in cheevos_locals.h). If needed, commenting that out will restore the old functionality. The old code will be removed in a future PR.

Related Issues

n/a

Related Pull Requests

n/a

Reviewers

@Sanaki

@LibretroAdmin LibretroAdmin merged commit bbe7afc into libretro:master Nov 15, 2023
22 checks passed
@Jamiras Jamiras deleted the rc_client branch November 15, 2023 21:29
Sunderland93 pushed a commit to Sunderland93/RetroArch that referenced this pull request Dec 26, 2024
* use rc_client for achievement processing

* log disconnect/reconnect messages

* address compiler warnings

* address c89 warning

* address c89 warning
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