LillyJadeKatrin
6f3a608e92
Add active leaderboard tracker to achievement manager
...
The active leaderboard data (leaderboards currently being attempted, which get displayed on screen) is now tracked. When a leaderboard is started its value is added to a vector (sorted by start frame). There are a separate set of client events specifically to handle leaderboard trackers, that are used to populate and manage this vector. The top portion of this vector (by RetroAchievement standards, the first four items) is exposed to be displayed on screen.
2024-05-01 06:43:19 -04:00
LillyJadeKatrin
eee77ec6b7
Handle Leaderboard Submitted/Started/Failed Client Events
...
Also deletes the corresponding runtime-based events from the old event handler.
2024-05-01 06:43:19 -04:00
LillyJadeKatrin
bc3e429dd9
Handle Achievement Triggered Client Event
...
Also deletes the old runtime-based Achievement Triggered event from the old handler, and the methods used by it to publish to the server and reactivate/deactivate achievements in the runtime.
2024-05-01 06:43:19 -04:00
LillyJadeKatrin
c88d4cf040
Created EventHandlerV2 and added client to DoFrame
...
As MemoryPeeker V1 is no longer in use, it is deleted and MemoryPeekerV2 is renamed in its place.
2024-05-01 06:43:19 -04:00
LillyJadeKatrin
7497df99df
Refactored Welcome Message to use rc_client
...
Restructured the welcome message to use the information in rc_client, particularly the summary. Redesigned the message in the process to look cleaner.
2024-05-01 06:43:19 -04:00
LillyJadeKatrin
c5bb1c4e68
Retooled achievement badge fetch process
...
This change was primarily made to refactor the badge fetching to use the client instead of the runtime, but in the process I also refactored the code to cut down on complexity and duplication. Now the FetchBadge method is passed a function that generates the badge name; this is used to ensure that once the badge is loaded that it is still the desired badge to avoid race conditions.
2024-05-01 06:43:19 -04:00
LillyJadeKatrin
7b835a20ca
Updated GetGameDisplayName to use rc_client
2024-05-01 06:43:19 -04:00
LillyJadeKatrin
486a9d2318
Refactored Achievement Mananger to load games through rc_client
...
HashGame has become LoadGame, similar structure with the file loaders but using the client instead. LoadGameCallback has been created to handle the results. The old LoadGameSync has been deleted as have
several hash and load methods that it called.
2024-05-01 06:43:19 -04:00
LillyJadeKatrin
355b892621
Get display name and score from client
...
Delete m_display_name and m_player_score fields and retrieve those values directly from the client's user information.
2024-05-01 06:43:18 -04:00
LillyJadeKatrin
3bf8b5fb90
Refactored Achievement Manager Login to use rc_client
...
LoginCallback was created to handle the results of the asynchronous client login calls; VerifyCredentials was deleted as no longer necessary.
2024-05-01 06:43:18 -04:00
LillyJadeKatrin
7b3fac18cd
Remove synchronous achievement login
...
Deletes AchievementManager::Login, renames LoginAsync to Login, and replaces the one synchronous call in the AchievementSettingsWidget with the async call. There is a minor usability regression in that the UI currently does not notify the user when a login has failed; this will be addressed in a later change (possibly in a different PR).
2024-05-01 06:43:18 -04:00
LillyJadeKatrin
ba519e4670
Add rc_client to AchievementManager
...
Also includes init and shutdown V2s.
2024-05-01 06:43:18 -04:00
LillyJadeKatrin
4ec662bcdf
Add rc_client MemoryPeekerV2 to AchievementManager
...
Has a more traditional read-x-bytes structure; for passing into rc_client in the constructor.
2024-05-01 06:43:18 -04:00
LillyJadeKatrin
05136ee099
Add rc_client RequestV2 to AchievementManager
...
RequestV2 is to be passed into rc_client upon construction so rc_client can handle server calls internally.
2024-05-01 06:43:18 -04:00
JosJuice
a954451046
Translation resources sync with Transifex
2024-04-29 20:55:44 +02:00
Admiral H. Curtiss
efed26ceee
Merge pull request #12739 from malleoz/show_input_count_recording_only
...
VideoCommon: Only show input count when recording
2024-04-28 20:31:28 +02:00
Admiral H. Curtiss
bec6842cbe
Merge pull request #12741 from Filoppi/fix-load-resampling
...
Qt: fix 13524 - output resampling mode not loading correctly from ini
2024-04-28 20:30:32 +02:00
Admiral H. Curtiss
9d87c82d8a
Merge pull request #12742 from Dentomologist/cheatsearch_use_twos_complement_for_negative_hex_values
...
CheatSearch: Use two's complement for negative hex values
2024-04-28 20:12:14 +02:00
Dentomologist
628ab51b4b
CheatSearch: Use two's complement for negative hex values
2024-04-28 11:00:47 -07:00
Filoppi
3815819136
Qt: fix 13524 - output resampling mode not loading correctly from ini
2024-04-27 22:11:45 +03:00
sowens99
3ab1334cd9
VideoCommon: Only show input count when recording
2024-04-26 20:06:57 -04:00
OatmealDome
e69486d2cb
Merge pull request #12664 from JosJuice/jitarm64-256-mib
...
JitArm64: Increase farcode & nearcode cache size
2024-04-22 12:32:32 -04:00
JosJuice
697dbfee01
Translation resources sync with Transifex
2024-04-22 08:41:32 +02:00
JosJuice
e8154a529f
JitArm64: Increase farcode & nearcode cache size
...
This is a JitArm64 version of 219610d8a0
.
Due to limitations on how far you can jump with a single AArch64 branch
instruction, going above the former limit of 128 MiB of code (counting
nearcode and farcode combined) requires a bit of restructuring. With the
restructuring in place, the limit now is 256 MiB. See the new large
comment in Jit.h for a description of the new memory layout.
2024-04-22 08:31:48 +02:00
Tilka
b6f0e8876e
Merge pull request #12731 from JosJuice/jitarm64-mfcr-ubfx
...
JitArm64: Skip UBFX in mfcr
2024-04-21 20:56:46 +01:00
Jordan Woyak
71de5c58b5
Merge pull request #12732 from JosJuice/arm64emitter-assert-category
...
Arm64Emitter: Fix incorrect assert category (and a shadowed variable)
2024-04-21 14:40:49 -05:00
Jordan Woyak
a89336001a
Merge pull request #12733 from mitaclaw/instructionNumber
...
JitState: Remove Unused instructionNumber
2024-04-21 14:39:25 -05:00
Tilka
8e43fbcec8
Merge pull request #12735 from mitaclaw/minizip-ng-compat
...
Externals: minizip-ng Forward Compatibility
2024-04-21 20:39:09 +01:00
Jordan Woyak
d6bcbd0115
Merge pull request #12734 from mitaclaw/assert-dyna_rec
...
JIT: Fix Incorrect Assert Category
2024-04-21 14:38:41 -05:00
OatmealDome
59c6739013
Merge pull request #12727 from Simonx22/android-dependencies-042024
...
Android: Update dependencies
2024-04-21 13:54:37 -04:00
mitaclaw
0a48a3b3ad
Externals: minizip-ng Forward Compatibility
2024-04-21 09:38:53 -07:00
mitaclaw
e3721bee1b
JIT: Fix Incorrect Assert Category
2024-04-21 09:07:47 -07:00
mitaclaw
e7dbd298a8
JitState: Remove Unused instructionNumber
2024-04-21 08:51:29 -07:00
JosJuice
de33831783
Arm64Emitter: Fix shadowed variable
...
A lambda at the end of ARM64XEmitter::ParallelMoves named its parameter
`move`.
2024-04-21 16:20:59 +02:00
JosJuice
e140491fa9
Arm64Emitter: Fix incorrect assert category
2024-04-21 16:19:10 +02:00
JosJuice
e64cdca405
JitArm64: Skip UBFX in mfcr
...
We can implement the same behavior in one instruction less.
2024-04-21 16:13:33 +02:00
Tilka
ee027dc736
Merge pull request #12730 from JosJuice/skylanders-folder-no-asking
...
DolphinQt: Don't ask user about creating Skylanders folder
2024-04-21 11:18:42 +01:00
JosJuice
a17331d568
DolphinQt: Don't ask user about creating Skylanders folder
...
We don't have prompts like this for any other path handled by Dolphin.
If the folder doesn't exist, let's just create it.
2024-04-21 09:28:01 +02:00
Admiral H. Curtiss
d3cf35019c
Merge pull request #12726 from JosJuice/i18n-2024-04-20
...
i18n: Add comments and improve source strings
2024-04-20 23:34:32 +02:00
Admiral H. Curtiss
a46ffc5d08
Merge pull request #12686 from JosJuice/android-remove-strikeout
...
Android: Unset STRIKE_THRU_TEXT_FLAG for editable settings
2024-04-20 23:34:05 +02:00
Admiral H. Curtiss
8236e4eaf9
Merge pull request #12636 from KjubDusJub/dolphin-tool-extractcommand
...
DolphinTool: Add an image extract command
2024-04-20 23:29:32 +02:00
Tilka
020e7b3e2d
Merge pull request #11144 from JosJuice/jit64-arith-inline-avx
...
Jit64: Inline avx_op into fp_arith
2024-04-20 22:03:47 +01:00
JosJuice
83b280d903
i18n: Add comments and improve source strings
2024-04-20 23:02:46 +02:00
Tilka
f1e40f73bd
Merge pull request #12705 from JosJuice/get-span-for-address
...
Memmap: Replace GetPointer with GetSpanForAddress
2024-04-20 21:16:54 +01:00
Tilka
6443084e8c
Merge pull request #12724 from Tilka/readstate
...
TAPServerConnection: drop unused enum class ReadState
2024-04-20 21:12:54 +01:00
JosJuice
c204b33314
VideoCommon/BPStructs: Add a missing bounds check
...
Happened to find this when working on the previous commit.
2024-04-20 18:31:08 +02:00
JosJuice
3cfa233b63
VideoCommon: Use GetSpanForAddress safely in texture decoding
...
Now only VertexLoader remains... But that one might be tricky.
2024-04-20 18:31:08 +02:00
JosJuice
5c9bb80638
Memmap: Replace GetPointer with GetSpanForAddress
...
To ensure memory safety, callers of GetPointer have to perform a bounds
check. But how is this bounds check supposed to be performed?
GetPointerForRange contained one implementation of a bounds check, but
it was cumbersome, and it also isn't obvious why it's correct.
To make doing the right thing easier, this commit changes GetPointer to
return a span that tells the caller how many bytes it's allowed to
access.
2024-04-20 18:31:08 +02:00
Simonx22
e4f97a2532
Android: Update dependencies
2024-04-20 17:53:11 +02:00
JosJuice
13e9d5c889
Jit64: Improve register handling in fp_arith
...
This lets us avoid the "ugly" case.
2024-04-20 17:50:54 +02:00