Skip to content

Commit

Permalink
(cheevos) use rc_client for state management (libretro#15912)
Browse files Browse the repository at this point in the history
* use rc_client for achievement processing

* log disconnect/reconnect messages

* address compiler warnings

* address c89 warning

* address c89 warning
  • Loading branch information
Jamiras authored and Sunderland93 committed Dec 26, 2024
1 parent c9a6268 commit 676a73e
Show file tree
Hide file tree
Showing 16 changed files with 2,192 additions and 192 deletions.
1,245 changes: 1,096 additions & 149 deletions cheevos/cheevos.c

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion cheevos/cheevos.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ bool rcheevos_set_serialized_data(void* buffer);
bool rcheevos_unload(void);

void rcheevos_test(void);
void rcheevos_idle(void);

void rcheevos_reset_game(bool widgets_ready);
void rcheevos_refresh_memory(void);
Expand All @@ -44,6 +45,8 @@ void rcheevos_hardcore_enabled_changed(void);
void rcheevos_toggle_hardcore_paused(void);
bool rcheevos_hardcore_active(void);

void rcheevos_spectating_changed(void);

void rcheevos_validate_config_settings(void);

void rcheevos_leaderboard_trackers_visibility_changed(void);
Expand All @@ -53,7 +56,7 @@ bool rcheevos_get_support_cheevos(void);

const char* rcheevos_get_hash(void);
int rcheevos_get_richpresence(char *s, size_t len);
uintptr_t rcheevos_get_badge_texture(const char *badge, bool locked);
uintptr_t rcheevos_get_badge_texture(const char* badge, bool locked, bool download_if_missing);

uint8_t* rcheevos_patch_address(unsigned address);

Expand Down
Loading

0 comments on commit 676a73e

Please sign in to comment.