Commit Graph

100 Commits

Author SHA1 Message Date
Henrik Rydgård 06b29ccb85 RetroAchievements: Correct memory address check in read_memory_callback 2025-06-05 10:56:11 +02:00
Henrik Rydgård e0a98ea54c Improve the "No game loaded" RA popup 2025-06-01 11:47:07 +02:00
Henrik Rydgård 4c631e77f5 RetroAchievements: Show region when showing the info popu. Refactor region detection a little. 2025-06-01 11:34:59 +02:00
Henrik Rydgård a4e6e84a0a Move achievement handling to EmuScreen and the main thread. Fixes black screen. 2025-04-09 18:07:13 +02:00
Henrik Rydgård ee90d2acc1 PSP boot: Move more of the startup process into the loading thread. Simplifies the code a bit. 2025-03-30 11:22:16 +02:00
Henrik Rydgård 31cf5771f4 Turn the break reason into an enum, fix some minor issues 2025-02-19 16:01:11 -06:00
Henrik Rydgård ccf814bcd0 Some shutdown logging improvements 2025-01-28 13:32:31 +01:00
Henrik Rydgård eb719c43e8 HTTP: Replace ProgressBarMode with a new RequestFlags enum 2025-01-23 12:09:56 +01:00
Henrik Rydgård c91169e702 Restore removed <algorithm> includes.
Turns out these were needed after all. For some reason, on Windows and
Mac, <algorithm> gets auto-included by something else so I don't notice
when it's missing, and MSVC's include dependency tracker doesn't see it
either.
2024-12-19 09:53:07 +01:00
Henrik Rydgård 3e198c53b2 More include cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård c8d43198d3 RAIntegration: Fix the filename in the not-found messages. 2024-11-06 14:47:48 +01:00
Henrik Rydgård d3e9398cb3 Split Core_EnableStepping into Core_Break and Core_Resume 2024-11-03 17:53:42 +01:00
Henrik Rydgård e51c58716b Fix minor code issues flagged by PVS-Studio and reported by alphrixus. 2024-10-10 14:10:30 +02:00
Henrik Rydgård 9699be2110 RetroAchievements: Cleanup better on login failure 2024-09-26 01:09:56 +02:00
Henrik Rydgård fb2722f2c5 RetroAchievements leaderboard: Show new rank, or personal best, after submission. 2024-07-18 23:15:27 +02:00
Henrik Rydgård e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård b0a71d450d Use new API to notify raintegration of the console ID 2024-04-30 00:49:55 +02:00
Henrik Rydgård 167fabaa56 Increase the hashing limit to 64MB, to match rcheevos' rhash max limit 2024-04-29 23:33:04 +02:00
Henrik Rydgård 7a6d646beb RetroAchievements: Add support for hashing homebrew
We finally defined a method in https://github.com/RetroAchievements/rcheevos/issues/244 .
2024-04-29 20:33:23 +02:00
Henrik Rydgård 80a12ca102 Run the update menu item thing on the window thread too. 2024-04-06 12:18:28 +02:00
Henrik Rydgård 00acaa3299 Build the RAIntegration menu on the right thread 2024-04-06 12:14:53 +02:00
Henrik Rydgård 616ee81f84 Add another parameter to the internal "request" framework. 2024-04-06 12:04:45 +02:00
Henrik Rydgård 329628f448 Force the menubar to repaint after building the RA submenu 2024-04-05 22:55:31 +02:00
Henrik Rydgård 770e5b4f4a Fix shortcut translation so we don't eat Ctrl+C for RAIntegration windows 2024-04-05 22:41:08 +02:00
Henrik Rydgård d39b606931 RAIntegration: Fix memory writes 2024-04-05 21:00:12 +02:00
Henrik Rydgård 6f825e4ff3 Minor comment fix 2024-04-05 18:21:02 +02:00
Henrik Rydgård 8a1ec96626 Correctly submit the version string 2024-04-05 18:16:46 +02:00
Henrik Rydgård 5a8140c301 Initialize RAIntegration support if available. Untested. 2024-04-05 18:15:10 +02:00
Henrik Rydgård 9f9881dfe3 Move some code, minor cleanup.
See #18987
2024-04-04 12:30:41 +02:00
Henrik Rydgård fc1d984b20 Update rcheevos, switch back to upstream. Avoid using rcheevos' hash.c, by computing game hashes ourselves. 2024-04-03 16:43:34 +02:00
Henrik Rydgård c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård e3177ac870 Make some global string pointers const, not just the strings.
Minor cleanup.
2023-12-29 14:09:45 +01:00
Henrik Rydgård 17c779cd8f RetroAchievements: Display rich-presence messages on the pause screen 2023-12-03 17:21:14 +01:00
Henrik Rydgård eae5f2abb8 Use "rc_client_is_processing_required" to determine when hardcore restrictions are to be enabled. 2023-12-03 16:43:49 +01:00
Henrik Rydgård aed8bc6d7b RetroAchievements: Finish the Challenge->Hardcore rename 2023-12-03 16:41:29 +01:00
Henrik Rydgård cd24f4e5b5 RetroAchievements: Only apply Hardcore restrictions if the game is recognized 2023-12-03 16:21:31 +01:00
Henrik Rydgård b629c99dbf Change "Challenge Mode" to "Hardcore Mode", according to RetroAchievements guidelines 2023-11-30 18:11:03 +01:00
Henrik Rydgård a9c1bc2ce7 Add translation string, show uncompressed size if different from disk size 2023-11-27 01:11:43 +01:00
Henrik Rydgård bd08fdd566 Forgot some cases where I need to enable save (but not load) state in challenge mode, if the option is set 2023-11-16 20:13:47 +01:00
Henrik Rydgård bc4f6a8341 Translation string fix, thanks [Unknown] 2023-10-08 23:26:27 +02:00
Henrik Rydgård b2f97d5934 Add support for using %1 and %2 in some more translation strings.
Requested in #18306
2023-10-04 14:36:42 +02:00
Henrik Rydgård ca7480fa55 Bump rcheevos submodule to latest. 2023-10-03 14:57:27 +02:00
Henrik Rydgård 19e4de5088 Change global UI messages to use an enum instead of strings.
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
Henrik Rydgård 1f60247749 Fix hang when changing UMD with retroachievements enabled
Fixes #17976
2023-09-12 14:17:50 +02:00
Henrik Rydgård 95badd03b4 RetroAchievement - only register the file reader once 2023-09-12 14:02:12 +02:00
Henrik Rydgård ce82179321 Avoid checking for achievements for homebrew. Fix edge case. 2023-09-06 11:19:13 +02:00
Henrik Rydgård b61fa7053f RetroAchievements: Add parameter to SetGame for IdentifiedFileType, also add bool return to SaveSecret 2023-09-06 10:56:51 +02:00
Henrik Rydgård cd79d120d8 Don't log warnings on missing RA login secret. Also don't even check unless a username has been set. 2023-09-06 10:34:32 +02:00
Henrik Rydgård 9291a4e52a Merge pull request #17998 from hrydgard/minor-fixes
Minor: Correct RA login retry behavior if disabled, improved logging in CLUTLoad case
2023-08-28 16:09:34 +02:00
Henrik Rydgård 9e708fc82d Don't show RetroAchievements login failures (and don't retry) if the user has disabled them. 2023-08-28 14:38:32 +02:00