Commit Graph

433 Commits

Author SHA1 Message Date
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
Jamiras a576ee49db
more description message for missing RetroAchievements credentials (#13617) 2022-02-09 17:18:03 +01:00
jdgleaver ab8e8359a6
Fix segfault when launching content with cores that do not have serialized savestate support when rewind and cheevos hardcore mode are enabled (#13607) 2022-02-07 23:52:25 +01:00
Jamiras cdc5e33953
support chd inside m3u (#13586) 2022-02-01 10:29:44 +01:00
Jamiras e301fffae3
prevent occasional infinite wait loading multi-disc game from secondary disc (#13561) 2022-01-31 19:28:31 +01:00
Jamiras c092fa33e1
add mastery placard (#13575) 2022-01-31 16:33:23 +01:00
Jamiras e1352060b5
stop load process if unable to retrieve achievement data (#13565) 2022-01-29 19:57:23 +01:00
Jamiras 2ecb253ed4
(cheevos) upgrade to rcheevos 10.3 (#13546)
* upgrade to rcheevos 10.3

* use rcheevos cdreader for gdi/cue processing

* update widgets when loading state
2022-01-25 04:44:53 +01:00
Jamiras 176c2d1911
report Unknown Game instead of Not Logged In when no hash is generated (#13463) 2022-01-09 02:42:41 +01:00
twinaphex 07534e4a6d Fix relative path includes 2021-12-21 19:56:00 +01:00
Jamiras 3d84a9960e
(cheevos) check netplay status when unlocking achievements (#13379)
* check netplay status when unlocking achievements instead of permanently disabling them in spectate mode

* fix c89 build

* add RARCH_NETPLAY_CTL_IS_SPECTATING
2021-12-21 15:58:42 +01:00
Jamiras 6bbee036f4
fix hung task whe badge doesn't exist (#13338) 2021-12-08 17:31:04 +01:00
twinaphex bfeffb2423 Fix local header path includes 2021-12-04 16:11:02 +01:00
Jamiras b6fef13109
disallow achievement when spectating netplay (#13318) 2021-12-04 02:00:53 +01:00
Jamiras 99a1ffdb89
validate hashes for secondary discs in multi-disc games (#13283) 2021-11-25 07:15:37 +01:00
Jamiras 339feab15b
add cheevos_custom_host setting (#13284) 2021-11-25 07:15:19 +01:00
Jamiras 228c5b83e2
ensure placard is initialized on main thread when game has no achievements (#13275) 2021-11-22 16:42:43 +01:00
Jamiras 3a82485a80 add missing include 2021-11-17 09:07:42 -07:00
Jamiras 11d38421df ensure placard is initialized on main thread 2021-11-17 08:18:45 -07:00
Jamiras 2adf52a493 move achievement activation to background thread 2021-11-16 11:33:37 -07:00
Jamiras 4faf2f82f1 use task to write badge 2021-11-16 09:50:28 -07:00
Jamiras a3b508f136 show widget for loaded game 2021-11-16 08:26:42 -07:00
Autechre 369e175e60
Merge pull request #13240 from Jamiras/cheevos_rewind
(cheevos) make sure loaded is set to true before re-enabling rewind
2021-11-15 19:25:24 +01:00
Autechre 86103b5cc1
Merge pull request #13238 from Jamiras/cheevos_menu_vis
(cheevos) audit achievement settings defaults and visibility
2021-11-15 19:25:04 +01:00
Jamiras 5c55a74655 make sure loaded is set to true before re-enabling rewind 2021-11-14 21:46:23 -07:00
Jamiras 1eade78654 audit achievement settings defaults and visibility 2021-11-14 18:00:20 -07:00
Jamiras f015ecdc03 show error message when no password provided 2021-11-12 10:06:05 -07:00
Autechre 56e150d68f
Merge pull request #13207 from Jamiras/cheevos_rewind_reset
(cheevos) don't queue rewind re-init if already on main thread
2021-11-08 19:24:18 +01:00
Autechre 7c84a26563
Merge pull request #13206 from Jamiras/cheevos_softcore_active
(cheevos) fix need-to-activate achievement logic for non-hardcore
2021-11-08 18:10:00 +01:00
Jamiras 84cab492b2 add task_in_on_main_thread function 2021-11-08 09:35:25 -07:00
Jamiras af23c5c900 fix need-to-activate achievement logic for non-hardcore 2021-11-08 08:34:51 -07:00
Jamiras f2bc7caad9 ignore unofficial achievements unless setting is enabled 2021-11-08 07:15:56 -07:00
Jamiras 830960027e
fix double free when rich presence update task fires while game is not loaded (#13191) 2021-11-06 06:03:16 +01:00
twinaphex 18412e34c1 Some CXX_BUILD buildfixes for Mac 2021-11-05 02:16:40 +01:00
twinaphex af2e91fcfe (Cheevos) MSVC buildfix 2021-11-03 16:53:59 +01:00
twinaphex 05ca465aab (Cheevos) Style nits:
* single line code blocks - remove brackets
* Try to fit lines into 80 chars
* Etc
2021-11-01 18:38:56 +01:00
twinaphex b9df71b9d5 (cheevos) Silence warnings/remove unused variables 2021-11-01 18:06:36 +01:00
Jamiras 20264aaced
replace coroutines with tasks (#13178) 2021-11-01 18:02:40 +01:00
Autechre e7f182811a
Split up audio code into new file audio/audio_driver.c (#13097)
* Split up audio code into new file audio/audio_driver.c

* Fix build issues #1

* Small cleanup

* Fix typo
2021-10-11 18:01:37 +02:00
twinaphex 49fbed2423 Get rid of input_mouse_grabbed - move retroarch types to
retroarch_types.h
2021-09-30 23:22:50 +02:00
twinaphex e886e908d5 Create consistent naming conventions - use retroarch_ instead
of rarch_ for some functions for all functions coming from retroarch.h
2021-09-28 12:56:10 +02:00
twinaphex 83ce4259a0 Have only one getter for runloop_state 2021-09-21 19:08:26 +02:00
twinaphex f21641d898 Get rid of another 'getter' function 2021-09-21 18:30:56 +02:00
Jamiras df5a2c5160 automatically retry 'http error code -1' 2021-08-21 13:54:39 -06:00
Jamiras a0f3bf7432 support for more than 64 memory regions 2021-08-14 12:47:42 -06:00
twinaphex b837e053e9 (cheevos) Silence warning signed/unsigned mismatch 2021-08-14 19:17:23 +02:00
Brian Weiss 05b36ec374 hide challenge indicators when resetting 2021-08-01 19:54:51 -06:00
Jamiras bb6911077a add messages for unknown game and network error 2021-07-30 11:16:12 -06:00
Jamiras da8f257323 log retry delay when automatically retrying network failure 2021-07-18 09:49:30 -06:00
Jamiras 41e25902a1 use non-HTTPS until everything is converted 2021-07-08 00:57:35 -06:00
Jamiras bc4a9a3696 separate ping task handler from retry task handler 2021-07-08 00:52:19 -06:00
Jamiras 46ffe5f4b2 use case-corrected username for server calls 2021-07-08 00:33:45 -06:00
Jamiras 7aca71e625 convert to rapi 2021-07-07 23:51:45 -06:00
Jamiras f556eba0a3 move async API code to cheevos_client.c 2021-07-07 19:59:57 -06:00
Autechre 0785d4aa72
Merge pull request #12565 from Jamiras/measured_unlock
(cheevos) reset cached progress each time menu is opened
2021-06-24 05:48:23 +02:00
Jamiras 0744683c2b reset cached progress each time menu is opened 2021-06-23 17:29:12 -06:00
twinaphex 0e1d5ba30e Silence some warnings; cleanup 2021-06-21 21:15:03 +02:00
Jamiras 5d4069cf8f
update to rcheevos 10.1 (#12512) 2021-06-10 17:20:00 +02:00
Jamiras 75fcd63b4a
(cheevos) use common functionality moved into rcheevos (#12504)
* user rcheevos for disallowed_settings

* use rcheevos for memory map
2021-06-09 06:32:34 +02:00
Jamiras 3fe52bb7fb add toggle/setting for challenge indicators 2021-06-04 12:32:01 -06:00
Jamiras 7919a87b97 show challenge indicators 2021-06-03 19:53:17 -06:00
Jamiras f8479c2b5a address travis warnings 2021-06-02 06:37:54 -06:00
Jamiras 69f3dda90a sort recently unlocked so newest unlocks are first 2021-06-02 06:34:54 -06:00
Jamiras a06b303879 remove unused structure 2021-06-01 21:52:10 -06:00
Jamiras ef9beea9f8 use info icon for headers; use server default image while downloading badges 2021-06-01 21:27:02 -06:00
Jamiras cd8f6ede4e support for almost there, active challenge, and recently unlocked categories 2021-06-01 19:38:10 -06:00
Jamiras e76265e1aa group achievements by category 2021-06-01 15:23:18 -06:00
Jamiras 293e797146 move menu code to separate file 2021-06-01 09:02:12 -06:00
Jamiras 2c21e3df8b
(cheevos) upgrade to rcheevos 10.0 (#12442)
* update rcheevos to v10.0.0

* changes for rcheevos 10

* map virtual tracks in cd_open_track_handler

* address travis warnings
2021-05-27 21:01:00 +02:00
Jamiras 9669cff16b fix travis error 2021-05-18 09:46:03 -06:00
Jamiras 09439332f3 implement feedback 2021-05-18 09:40:53 -06:00
Jamiras 216deda910 replace sprintf with snprintf 2021-05-18 08:31:44 -06:00
Jamiras 299a471af2 allow rcheevos_patch_address to be called on game without achievements 2021-04-14 08:20:20 -06:00
twinaphex 01944dd80e Put this big char array on heap for safety reasons 2021-03-30 01:19:50 +02:00
Jamiras ed18ed48ac prevent double free 2021-03-18 08:50:45 -06:00
twinaphex 90a1590f4c rcheevos_hardcore_active only has to be used outside of file cheevos.c 2021-03-07 18:29:25 +01:00
twinaphex bbabbd1373 (Cheevos) Stylistic changes; try to fit text within 80-char limit,
remove brackets around conditionals that exist out of one line, etc.
2021-03-07 18:25:17 +01:00
twinaphex e3b810e974 Cleanup 2021-03-07 02:07:37 +01:00
twinaphex a80e563d1f (cheevos) Cut down on calls to gfx_widgets_ready 2021-03-07 02:01:31 +01:00
Jamiras 1b81620d64 ensure rewint is only initialized/deinitialized on main thread 2021-03-05 22:22:31 -07:00
Jamiras da71ed8e3b only validate memrefs once 2021-02-24 15:47:22 -07:00
Jamiras 6612c38070 also call REWIND_DEINIT on main thread 2021-02-18 18:41:25 -07:00
Jamiras 2d841715cb include achievement runtime state in save states 2021-02-17 19:44:39 -07:00
Jamiras 88fe6e82ca don't invalidate out-of-range addresses 2021-02-07 20:08:54 -07:00
twinaphex 5187957b3d Silence some implicit conversion warnings 2021-02-03 12:34:10 +01:00
twinaphex 4df6d287e3 (Clang) Silence 'n' is never used warnings 2021-02-03 11:48:33 +01:00
twinaphex 097cb1bd5b (Cheevos) Fix long-standing warning 2021-02-03 10:32:56 +01:00
Jamiras 015576b2ba
improve error handling for achievement unlocks (#11916) 2021-01-21 04:07:48 +01:00
Twinaphex a83c328631 (Metal) Fix some build problems 2021-01-19 04:38:07 +01:00
twinaphex 0e929784b5 Cleanups 2021-01-16 21:19:59 +01:00
Jamiras 75fad11c27 prevent hardcore toggle when emu-handled cheats are active 2021-01-11 20:38:43 -07:00