Commit graph

3417 commits

Author SHA1 Message Date
Michael Forney 64c0ca14a3 System: Fix some bugs in GetTitleForPath
The previous implementation had a few issues in certain edge cases:
- If the path contained no '/' or '\', then the string_view constructor
  is called with a count that exceeds the length of the string
  (effectively `title_end - (char *)0`, which is undefined behavior,
  at least in C).
- If the only '/' was the filesystem root, the last character of
  the title was truncated, and the '/' remained. For example,
  "/title.bin" resulted in "/titl".
- At least in C, it is undefined behavior to use the the < operator
  with a null pointer, which is done in std::max if the path did
  not have both '/' and '\'.

The first issue results in a std::bad_alloc exception on my machine.
2020-12-26 00:47:02 +10:00
Connor McLaughlin fcc6bf0cb7 Update README with dev vs preview builds 2020-12-26 00:47:02 +10:00
Connor McLaughlin 3f410ebbac Cheats: Add additional code types from @PugsyMAME 2020-12-26 00:47:02 +10:00
Jean-Baptiste Boric 7dcacc2cda Qt: Implement GDB server 2020-12-26 00:47:02 +10:00
Jean-Baptiste Boric abd2399aaf Core: Implement GDB protocol 2020-12-26 00:47:02 +10:00
Jean-Baptiste Boric 9b40c8ffa6 Settings: Add GDB server settings 2020-12-26 00:47:02 +10:00
Jean-Baptiste Boric 9bd28f39a5 StringUtil: Add base support and hexadecimal functions 2020-12-26 00:47:02 +10:00
Connor McLaughlin fd39f09aa7 scmversion: Second part of beta -> preview 2020-12-25 13:58:50 +10:00
PugsyMAME c0cc0a371b Fixed Slide Code cheat type
Address increment is a u8 and value increment is a u16. The changes will make this work correctly:-

50000AA4 FFFF
801CC760 0400
which is a example slide code representing:-
801CC760 0400
801CC804 03FF
801CC8A8 03FE
801CC94C 03FD
801CC9F0 03FC
801CCA94 03FB
801CCB38 03FA
801CCBDC 03F9
801CCC80 03F8
801CCD24 03F7
2020-12-25 13:53:28 +10:00
Connor McLaughlin b468f643fb CI: Remove unused scripts 2020-12-25 13:53:28 +10:00
Connor McLaughlin e5495b43c6 CI: Rename beta builds to preview builds, stable to development 2020-12-25 13:53:28 +10:00
Connor McLaughlin add6754381 libretro: Remove guncon/mouse/negcon controller types
These were never supported. Use the standalone version if you want to
use these controller types.
2020-12-25 13:53:28 +10:00
MojoJojoDojo aedfff7e3f
Adding 2 more games that needs CPU PGXP - Alundra 2 and Disney's Aladdin in Nasira's Revenge (#1287)
* Adding PGXP CPU for 2 games

* Revert "Adding PGXP CPU for 2 games"

This reverts commit 35e9ad743f8d505f43388ff00f1c2fc4066ba3ea.

* Update gamesettings.ini

Adding 2 more games that need CPU PGXP
2020-12-25 13:51:23 +10:00
Connor McLaughlin 7f6fbd6b80
Merge pull request #1289 from andercard0/patch-51
Atualização Português do Brasil
2020-12-25 13:51:02 +10:00
Connor McLaughlin 8fcb3d6690
Merge pull request #1297 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-25 13:50:51 +10:00
Connor McLaughlin 2e3ce32819
Merge pull request #1301 from ggrtk/cmake-fix-missing-translations
CMake: Fix missing translation files
2020-12-25 13:50:39 +10:00
Albert Liu f63291b8ec CMake: Fix missing translation files 2020-12-24 12:01:33 -08:00
zkdpower 3f22f55338
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-24 13:05:50 +08:00
Anderson_Cardoso 33fdbe48a5
Atualização Português do Brasil
Update Pt-Br to the latest.
2020-12-22 16:51:05 -03:00
Connor McLaughlin 095bc280cb Qt: Fix default value of PGXP depth buffer 2020-12-23 02:26:47 +10:00
Connor McLaughlin 31f7ec7538
Update README.md 2020-12-23 01:56:18 +10:00
Connor McLaughlin f798877704
Update README.md 2020-12-23 01:54:44 +10:00
Connor McLaughlin ee5ba8d90a
Merge pull request #1284 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-23 01:44:35 +10:00
Connor McLaughlin 4f9a5d0241
Merge pull request #1285 from CookiePLMonster/memcard-slashes-fix
Memory Card Editor fixes
2020-12-23 01:44:13 +10:00
zkdpower ce4e9f4f17
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-22 23:41:05 +08:00
Silent 51eb494340
Memcard Editor: Fix relative shared paths not opening in Memcard Editor by default 2020-12-22 16:39:59 +01:00
Connor McLaughlin 744cfbd924 Frontends: Add PGXP Depth Buffer options 2020-12-23 01:39:49 +10:00
Connor McLaughlin d320d5c830 GameSettings: Add game settings/hotkey for PGXP depth 2020-12-23 01:39:49 +10:00
Connor McLaughlin aa1543271e GPU: Support emulating a depth buffer from PGXP depth values 2020-12-23 01:39:49 +10:00
Connor McLaughlin f393ea618e Shaders/Cccalibrator: Fix compile errors 2020-12-23 01:39:49 +10:00
Connor McLaughlin 9384f3a8e9 Qt/CheatManager: Fix checking groups not updating child nodes 2020-12-23 01:34:32 +10:00
Connor McLaughlin 972872a0c8
Merge pull request #1278 from andercard0/patch-50
Atualização Português do Brasil
2020-12-23 01:21:32 +10:00
Silent bb528fb15c
Fix inconsistent forward/backward slashes in Memcard Editor
Memcard Editor looks for an exact string match, so slashes must be
consistent.
2020-12-22 16:14:22 +01:00
Anderson_Cardoso 19980426fb
Atualização Português do Brasil
Update language Pt-Br to latest.
2020-12-21 14:53:52 -03:00
Connor McLaughlin ca84925ff8 HostDisplay: Support screenshotting 16-bit display formats 2020-12-22 03:24:51 +10:00
Albert Liu 189656cbc4 CommonHostInterface: Fully clear controller section before loading profile 2020-12-22 03:24:51 +10:00
Albert Liu a5f04f2a8e CommonHostInterface: Don't save/load input profile rumble for motorless controller types 2020-12-22 03:24:51 +10:00
Connor McLaughlin 7249825c16 Qt: Support multiple updater channels 2020-12-22 03:24:51 +10:00
Connor McLaughlin 14c227a813 scmversion: Fix incorrect tagging after stable/beta split 2020-12-22 03:24:19 +10:00
Connor McLaughlin 3ab017c32e CI: Set prerelease tag only on beta release 2020-12-22 02:40:27 +10:00
Connor McLaughlin 80ce7bde26 CI: Generate master->beta, stable->latest releases 2020-12-22 02:18:15 +10:00
Connor McLaughlin b24245dd1d GameList: Bump cache list version
Required due to aspect ratio change.
2020-12-22 02:16:11 +10:00
Connor McLaughlin d130fc9465 Android: Possible fix for white overlay with controller 2020-12-22 02:15:55 +10:00
PugsyMAME 295f369519 Added PAL games to cheat database + other modifications
1. Cleaned up and added cheats for non-softwarelist games, mainly for PAL regions this has doubled the size of the database.
2. Added information about the various 32 bit by 32 bit cheat types to the cheat file header.
3. Added information for cheat types 31, 32 ,81, 82, 91 & 92 which are BIT set and clear cheat types - I'll do a PR for these in the next week.
4. Grouped some more cheats
2020-12-22 00:58:34 +10:00
Connor McLaughlin d5d9cb623d GPU/Vulkan: Fix possible framebuffer destroy-while-in-use 2020-12-22 00:56:55 +10:00
Connor McLaughlin c0d8e44548
Merge pull request #1263 from andercard0/patch-48
Atualização Português do Brasil
2020-12-22 00:53:36 +10:00
Connor McLaughlin 22c15f88dd
Merge pull request #1262 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-22 00:53:19 +10:00
Connor McLaughlin 68557eb843
Merge pull request #1266 from Margen67/ar
Use proper 21:9 aspect ratio, add 32:9
2020-12-22 00:52:36 +10:00
Connor McLaughlin 5e5818df54
Merge pull request #1276 from shikulja/master
update ru translation
2020-12-22 00:50:51 +10:00
Connor McLaughlin f12c60e9b4
Merge pull request #1274 from andercard0/patch-49
Suggestion - Controller Troubleshoot
2020-12-22 00:50:31 +10:00