Commit Graph

423 Commits

Author SHA1 Message Date
Jamiras
39a44414ea
reinitialize rewind buffer after loading game with achievements (#15934)
* reinitialize rewind buffer after loading game with achievements

* fix #endif placement for HAVE_GFX_WIDGETS
2023-11-22 08:50:09 -08:00
Jamiras
c2f32a434d
don't track disc changes when achievements are disabled (#15939) 2023-11-22 08:48:45 -08:00
Jamiras
bbe7afcd82
(cheevos) use rc_client for state management (#15912)
* use rc_client for achievement processing

* log disconnect/reconnect messages

* address compiler warnings

* address c89 warning

* address c89 warning
2023-11-15 13:18:20 -08:00
Jamiras
8523eaf5c0
[cheevos] upgrade to rcheevos 11.0 (#15859)
* update rcheevos

* update rcheevos
2023-11-02 11:52:36 -07:00
Jamiras
ee7735f82e
still call callback on network error (#15614) 2023-08-17 18:29:46 -07:00
Jamiras
58f547bfe1
disallow video_swap_interval and black_frame_insertion in hardcore (#15605) 2023-08-16 14:17:54 -07:00
libretroadmin
cb0653137f Style nits/cleanups 2023-08-16 02:40:59 +02:00
libretroadmin
c8e6506687 Fix --disable-menu errors 2023-08-14 23:36:19 +02:00
libretroadmin
770b9920f5 Cleanups:
* No implicit memsets for texture_image
* Replace some calls with concatenated strlcpys
* Some style nits
2023-07-18 16:46:54 +02:00
libretroadmin
cd8fffe5d3 Rename all local variables for retro_system_info to sysinfo 2023-07-15 07:45:20 +02:00
libretroadmin
cf0d0e93a6 rarch_system_info_t local vars should be renamed from 'system'
to 'sys_info' to avoid false positive code analysis errors
2023-07-15 07:22:38 +02:00
libretroadmin
e8242253a7 Reduce strlcat calls where possible 2023-06-19 06:00:10 +02:00
libretroadmin
246cceeb27 Silence more signedness warnings 2023-06-14 19:51:31 +02:00
Grisly Glee
4202f8650d
Fix trivial signedness warnings (#15377)
* Fix trivial signedness warnings

* Followup on trivial signedness warnings
2023-06-14 04:43:11 +02:00
libretroadmin
e70eb9ded2 Refactor video_driver_cached_frame_has_valid_framebuffer 2023-05-31 00:39:01 +02:00
libretroadmin
cedcd70c63 Fix function declaration without a prototype warnings 2023-05-29 15:34:37 +02:00
libretroadmin
735500ff66 Warning fixes and style nits 2023-05-29 15:30:54 +02:00
Bernhard Schelling
520e4400b7 Don't initialize rcheevos memory unless used 2023-05-28 05:23:12 +02:00
Bernhard Schelling
18f79a8a8d Allow RETRO_ENVIRONMENT_SET_MEMORY_MAPS also after core startup
Change the comment in libretro.h about the removed limit and handle the environment call during core runtime in RetroArch.
2023-05-28 05:23:12 +02:00
Jamiras
e2e193290c show tracker 2023-05-15 03:41:45 +02:00
Jamiras
8ea9651d09
(cheevos) expand leaderboard visibility settings (#15201)
* migrate cheevos_leaderboard_enabled setting to cheevos_visibility_lboard_X

* provide translatable strings for leaderboard messages
2023-04-16 19:44:46 +02:00
Jamiras
2a7480d1e0
collapse trackers with same value definition (#15163) 2023-04-06 22:36:38 +02:00
Jamiras
08a5288144
upgrade to rcheevos 10.7 (#15152) 2023-04-04 15:06:44 +01:00
Jamiras
5ecdc4c170
upgrade to rcheevos 10.6 (#14911) 2023-01-27 14:52:29 +01:00
retroNUC
fbb4d67f7c Achievement Visibility Submenu - Text tweaks
+ removing gate from account error messages
2023-01-05 19:51:55 +01:00
retroNUC
31addc0a61 Achievement Visibility Submenu - Additional changes
- 'Unlocks/Mastery' split into two options
- 'Account/Login Messages' split off from 'Verbose', gated all login success/error messages
- menu_cbs_sublabel.c - Now in same order as menu options
- menu_setting.c - VISIBILITY_UNLOCK default value now uses define
- All suggested text/cleanup changes from Jamiras
2023-01-05 19:51:55 +01:00
retroNUC
6e81098132 Add Achievements Visibility submenu options
- Startup Summary split off from Verbose Mode, added option to hide for games with zero core cheevos
- Some existing options moved into this submenu
- Leaderboard-related options coming in future PR
2023-01-05 19:51:55 +01:00
Jamiras
c2f50a83bf
fix construction of badge path (#14712) 2022-12-10 08:40:40 +01:00
LibretroAdmin
2371e5cbd2 (Runloop) Turn more bools into flags 2022-10-10 18:53:55 +02:00
reallibretroadmin
0033224c25 Fix some implicit conversion signedness warnings 2022-10-02 03:22:34 +02:00
Jamiras
ec333e261f
Update wording for hardcore (#14413) 2022-09-14 02:42:35 +02:00
Jamiras
3601610b6f
prevent invalid memory reference if game has achievements but core doesn't expose memory (#14391) 2022-09-06 05:04:29 +02:00
Jamiras
43f5812a18
show achievement badge icons in glui driver (#14390) 2022-09-06 01:53:22 +02:00
LibretroAdmin
12bc84bc08 * Add TODO/FIXME notes for localization
* Turn some trivial snprintf calls into strlcpy/strlcat
2022-08-29 11:41:49 +02:00
LibretroAdmin
f1ff92c881 * menu_entries_append and menu_entries_append_enum are now combined into
one - if you set the last parameter to a valid 'rarch_setting_t' pointer
and enum_msg to MSG_UNKNOWN, you will get the previous menu_entries_append
behavior
* Renamed remaining function to menu_entries_append so that we have one
consistent way of adding menu entries instead of two
Reduces some code duplication significantly
2022-08-27 17:40:52 +02:00
LibretroAdmin
be9b4031d9 Remove some 'Unused variable' warnings 2022-08-26 17:10:45 +02:00
LibretroAdmin
6caa139700 (cheevos.c) Fix some function prototypes for C
Rewrite some snprintfs as strlcpy/strlcat/manual assignment - only
use snprintf if we actually need the formatting
2022-08-25 15:08:02 +02:00
LibretroAdmin
6126a86259 Try to avoid sprintf/strcat/strcpy calls as much as possible in
RetroArch codebase
2022-08-24 13:49:05 +02:00
Jamiras
2acc7c4b39
release achievement badge textures when video driver is deinitialized (#14329) 2022-08-18 04:28:55 +02:00
LibretroAdmin
b2634ea588 * Create fill_pathname_join_special - and specify fill_pathname_join
as deprecated.
* Use fill_pathname_join_special in the vast majority of cases where
we can ensure out_path is a new empty string
* Get rid of some extension concatenation with strlcat where encountered
* Some general cleanups with NULL termination of strings that get immediately
passed to strlcpy/strlcpy-adjacent functions
2022-08-04 14:19:38 +02:00
LibretroAdmin
bde84b926f fill_pathname_application_special - redo string concatenation for
Ozone icons - avoid fill_pathname_slash when possible and use
fill_pathname_join instead - avoids the strlen cost
2022-08-02 18:47:34 +02:00
libretroadmin
050107a90e (Cheevos) On platforms like WiiU that have cheevos support but no threading support, it was complaining about unused variables like rcheevos_locals. The macros for
slock_lock/slock_unlock seem needless anyway, so we just reference slock_lock/slock_unlock directly and put it behind
HAVE_THREADS ifdefs so the user/programmer knows what is going on
2022-06-19 18:06:17 +02:00
Jamiras
e3b59fd36d
upgrade to rcheevos 10.4 (#13908) 2022-05-04 04:46:47 +02:00
Jamiras
56c9db9c4c
re-enforce hardcore limitations once achievements are loaded (#13862) 2022-04-19 09:41:49 +02:00
Jamiras
dcabde33fc
disallow manual frame delay setting in hardcore (#13826) 2022-04-05 01:06:47 +02:00
Mats
4a1a1e2fa7
(steam) Introduce Steam Rich Presence (#13798) 2022-04-02 08:07:40 +01:00
Jamiras
4d2adee166 use display name for UI 2022-03-20 18:31:07 +01:00
Jamiras
b4d9d6c5fc
move slowdown disable into toggle_hardcore_active (#13734) 2022-03-11 07:17:54 +01:00
twinaphex
460f5e745d Silence some MSVC 2019 code analysis warnings 2022-03-05 14:39:56 +01:00
Jamiras
5d3654ddbb
(cheevos) support for identifying Dreamcast CHDs (#13628)
* support for identifying Dreamcast CHDs

* fix copy/paste error
2022-02-15 15:09:43 +01:00