mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-04-21 05:13:14 +02:00
Compare commits
3 commits
cd6d0c6555
...
a170e665f9
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a170e665f9 | ||
![]() |
fa5840927a | ||
![]() |
f5b6c872d7 |
2 changed files with 6 additions and 2 deletions
|
@ -3379,6 +3379,7 @@
|
|||
010064200C324000,"Xenon Valkyrie+",,playable,2021-06-07 20:25:53
|
||||
0100928005BD2000,"Xenoraid",,playable,2022-09-03 13:01:10
|
||||
01005B5009364000,"Xeodrifter",,playable,2022-09-03 13:18:39
|
||||
010048501F73E000,"X-Out: Resurfaced",,playable,2025-03-15 18:25:20
|
||||
01006FB00DB02000,"Yaga",nvdec,playable,2022-09-16 23:17:17
|
||||
010076B0101A0000,"YesterMorrow",crash,ingame,2020-12-17 17:15:25
|
||||
010085500B29A000,"Yet Another Zombie Defense HD",,playable,2021-01-06 00:18:39
|
||||
|
|
|
|
@ -57,16 +57,19 @@ namespace Ryujinx.Input.SDL2
|
|||
return null;
|
||||
}
|
||||
|
||||
// Remove the first 4 char of the guid (CRC part) to make it stable
|
||||
string guidString = "0000" + guid.ToString().Substring(4);
|
||||
|
||||
string id;
|
||||
|
||||
lock (_lock)
|
||||
{
|
||||
int guidIndex = 0;
|
||||
id = guidIndex + "-" + guid;
|
||||
id = guidIndex + "-" + guidString;
|
||||
|
||||
while (_gamepadsIds.Contains(id))
|
||||
{
|
||||
id = (++guidIndex) + "-" + guid;
|
||||
id = (++guidIndex) + "-" + guidString;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue