741 Commits

Author SHA1 Message Date
Jamiras
dfcf0c042c fix rewind not working when RetroAchievements cannot identify game 2024-06-12 13:17:52 -05:00
libretroadmin
5454b570e7 (glslang) Cleanups 2024-05-23 18:18:11 +02:00
libretroadmin
bdff6a146b (glslang) Cleanups 2024-05-23 16:55:39 +02:00
libretroadmin
e480ebd29f (glslang) Syntax cleanups, other cleanups 2024-05-23 16:35:45 +02:00
libretroadmin
a8fe9b74da * Remove more unused code
* Remove disassemble code
2024-05-23 08:24:02 +02:00
libretroadmin
099a98bcd6 Some platforms need this, so can't remove it 2024-05-23 08:00:06 +02:00
libretroadmin
cf04a2c0fe Cleanups - remove/silence warnings 2024-05-23 07:48:08 +02:00
libretroadmin
1b161fad1d Third parameter of std::remove prob needs to be nullptr 2024-05-23 07:35:52 +02:00
libretroadmin
ab4d54cb70 Get rid of unused variable 2024-05-23 07:31:25 +02:00
libretroadmin
354c5afab4 (glslang) Simplifications - move nullptr to NULL 2024-05-23 07:25:52 +02:00
libretroadmin
0b29d52b67 (glslang) Further slimming down/cleanups 2024-05-23 07:25:51 +02:00
libretroadmin
d2b161ee86 (glslang) Get rid of all asserts 2024-05-23 03:58:54 +02:00
libretroadmin
9dffcdfc93 Slim down custom glslang more 2024-05-23 03:26:10 +02:00
libretroadmin
e0656d8ca3 (glslang) Buildfix 2024-05-23 01:56:17 +02:00
libretroadmin
e53a809e6d Slim down glslang 2024-05-23 01:53:15 +02:00
Jamiras
2013370aa9
update to rcheevos 11.3 (#16512) 2024-05-11 16:57:36 -07:00
libretroadmin
e16fef8536 xdelta3 - cleanups 2024-04-06 21:52:41 +02:00
libretroadmin
53553e89ed Buildfix 2024-04-06 20:18:45 +02:00
libretroadmin
a4212061d4 Cleanup some unused variables 2024-04-06 20:12:15 +02:00
libretroadmin
a0dc153508 Fix C89_BUILD 2024-04-06 18:52:52 +02:00
libretroadmin
c359ae5522 (glslang) fix misleading indentation warning 2024-04-06 18:16:15 +02:00
libretroadmin
def0ce97b1 (glslang) Add more parentheses 2024-04-05 22:56:16 +02:00
libretroadmin
b8d12a7d12 Replace do { while (true) ; with for (;;) 2024-04-05 20:03:05 +02:00
Jamiras
a6beba6376
(cheevos) upgrade to rcheevos 11.2 (#16408)
* provide more information during achievement load process

* update rcheevos version

* do disconnected processing even when no game is loaded

* make loading widget unique

* only show loading indicator with verbose messages on
2024-04-05 07:39:38 -07:00
goodusername123
ece60239e8
Update Lua to version 5.3.6 (#16368)
This commit updates the version of Lua used from 5.3.5 to 5.3.6
2024-03-17 09:44:57 -07:00
the-Chain-Warden-thresh
380daf1b38
Backport CVE-2020-24370's patch (#16190) 2024-02-02 06:27:36 -08:00
Eric Warmenhoven
79e43e2bd4
Fix many warnings (#16180)
Also change iOS/tvOS to use system zlib instead of compiling it in
2024-01-31 09:15:14 -08:00
Jamiras
4ba5fc0333
(cheevos) upgrade to rcheevos 11.1 (#16151)
* move pause spam management into rc_client

* update to rcheevos 11.1

* show [m] on missables

* update makefile
2024-01-21 18:12:30 -08:00
Rafael Sá Menezes
340f733488
Enable cheevos for Wii builds (#16116)
* Fixed libogc error codes interpretation for sockets

* Added thread code for libogc rc_compat

* Enabled cheevos for Wii
2024-01-13 18:47:28 -08:00
Eric Warmenhoven
dc2ae86437
Fix #16023 - ssl fails on mac x86 with newer clang (#16032)
Fix comes from https://github.com/Mbed-TLS/mbedtls/pull/4947
2023-12-23 01:22:05 -08:00
libretroadmin
2980eb7e12 Silence some warnings 2023-12-17 05:11:18 +01:00
Jesse Talavera
750b64d89e
Fix 32-bit Linux builds with XDelta enabled (#15980)
* First crack at a GitHub Actions pipeline for 32-bit Linux

* Simplify the integer typedefs in xdelta3.h

* Add XDelta to Linux.yml
2023-12-06 05:07:46 -08:00
Jesse Talavera
17c9227a9c
Fix the build when XDelta is enabled on certain platforms (#15968)
* Rename the `MIN_MATCH` defined by xdelta3 to `XD3_MIN_MATCH`

- zlib defines its own macro by that name, but with a different value

* Don't redefine `SIZEOF_ARRAY` in xdelta3 if it already exists

* Don't define ssize_t in xdelta3, rely on libretro's definition instead

* Enable xdelta3 support in MSVC 2015-2019

* Fix some invalid MSBuild condition syntax

* Always build xdelta with XD3_USE_LARGESIZET as 1

* Fix an `#if` in task_patch.c

* Enable `HAVE_XDELTA` in the UWP build

* First crack at fixing Xdelta support for Android
2023-12-05 08:32:16 -08:00
zoltanvb
fd04c8ca57
Rebase of wakira's wp_fractional_scale_v1 support (#15965)
A rebase of earlier PR https://github.com/libretro/RetroArch/pull/15355
No changes added (except for one log).
2023-11-30 03:29:38 -08:00
Jesse Talavera-Greenberg
cbf49a0b77
XDelta patch support (Take 2) (#15915)
* Add xdelta in deps

* Include <assert.h> in xdelta3.h

- Otherwise the static_assert calls can fail

* Build xdelta3 in Makefile.common

* Add xdelta support to the softpatching infrastructure

- The patching itself isn't fully implemented yet

* Adjust how xdelta3.h checks the sizes of some types

- Now checks max values instead of relying on autotools

* Add some enums that were excluded by the cherry-pick

* Remove stray whitespace

* Adjust SIZE macros in xdelta3.h

- Move them outside the XD3_USE_LARGEFILE64 block
- Add more SIZE declarations
- Make SIZEOF_UNSIGNED_LONG_LONG contingent on the presence of ULLONG_MAX

* Reintegrate xdelta support

* Enable support for xdelta's secondary compressors

- Necessary for some patches

* Fix some format specifiers

* Remove unnecessary files from xdelta

* Include xdelta3.h with a relative path

* Add xdelta3 headers to HEADERS variable

* Gate Xdelta support behind HAVE_XDELTA

- HAVE_XDELTA is on by default
- HAVE_PATCH is still required for HAVE_XDELTA to be meaningful
- Support is mostly contingent on the availability of LZMA
- Anything modern should be okay
- Legacy platforms (e.g. DOS) may need to have Xdelta support disabled
- At least until some other solution can be found

* Disable HAVE_XDELTA on platforms where the build recently failed

- These come from looking at the failed builds on GitHub
- These are guesses, and may turn out to be wrong

* Fix a potential memory leak

- Whoops, looks like I need to call two cleanup functions
- xd3_close_stream exists separately from xd3_free_stream

* Split the --help printout for --xdelta into its own strlcat call

- GCC was complaining about #ifdefs within macro arguments being non-portable

* Fix some incorrect printf format specifiers

* Modify Xdelta to adhere to C89

- It's mostly using RetroArch's INLINE macro instead of the inline keyword

* Slight cleanups

* Remove a stray comma that was hindering C89 builds

* Add XDelta support to CHANGES.md

* Change how the xdelta patch's name is computed

- To be in line with other recent refactoring

* Fix an incorrect merge

- Whoops, this part was from before I figured out how to get the size of a patched file

* Explain the song-and-dance behind computing a patched file's size

* Define some XDelta3-related constants to 0 on 32-bit platforms

* Adjust some Xdelta-related macro definitions

- Exclude the encoder, since we're not making patches
- Move some #defines to after inclusion of <stdint.h>, to fix undefined behavior
- Remove _WIN32_WINNT overrides, since they were for code that we're not using

* Fix Xdelta support

* Wrap an encoder-only function in `#if XD3_ENCODER`
2023-11-23 20:19:07 -08:00
Jamiras
bbe7afcd82
(cheevos) use rc_client for state management (#15912)
* use rc_client for achievement processing

* log disconnect/reconnect messages

* address compiler warnings

* address c89 warning

* address c89 warning
2023-11-15 13:18:20 -08:00
Jamiras
b43e1f3caf
prevent write-past-end-of-buffer when signed value wraps (#15868) 2023-11-05 15:32:46 -08:00
Jamiras
8523eaf5c0
[cheevos] upgrade to rcheevos 11.0 (#15859)
* update rcheevos

* update rcheevos
2023-11-02 11:52:36 -07:00
Subs
62e6439329
[CRT] Update switchres (new PR) (#15526)
* Remove deps/switchres to update it right after

* Squashed 'deps/switchres/' content from commit 4df022c68a

git-subtree-dir: deps/switchres
git-subtree-split: 4df022c68a43b6481e18d5aa8e0ea27481291d1a
2023-07-28 01:39:39 +02:00
Eric Warmenhoven
280dcb32f9 Fix several warnings 2023-07-02 05:46:45 +02:00
libretroadmin
458fe7a761 * Remove more strlcat calls
* Safer manual char assignment in database_info.c
2023-06-20 17:43:33 +02:00
Jesse Talavera-Greenberg
972c539869 Check for __ARM_NEON__ and _M_ARM64
- Its absence was causing certain MSVC builds to fail with the #error directive
2023-06-18 08:38:53 +02:00
libretroadmin
cedcd70c63 Fix function declaration without a prototype warnings 2023-05-29 15:34:37 +02:00
Colin Kinloch
e8ec3031a8
(Wayland) wp_viewporter + scaling fix (#15176)
* Use wp_viewporter
* Set buffer scale to highest of displays the window is touching
* Fixes fullscreen issue mentioned in #15168
* Simplify process of adding new wayland protocols
2023-04-10 06:29:41 +01:00
Jamiras
08a5288144
upgrade to rcheevos 10.7 (#15152) 2023-04-04 15:06:44 +01:00
Subs
f24893bcb1
[CRT] Add KMS modeswitch (#15131)
* Prepare to update deps/switchres

* Squashed 'deps/switchres/' content from commit ca72648b32

git-subtree-dir: deps/switchres
git-subtree-split: ca72648b3253eca8c5addf64d1e4aa1c43f5db94

* Add CRT modeswitching to KMS
Display the real refresh rate
Enable the CRT SwitchRes menu
Add another switchres.ini path for Lakka
2023-03-25 11:57:10 +01:00
Colin Kinloch
297aa1ff72
(Wayland) Build pointer-constraints and relative-pointer protocols (#15071)
Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
2023-03-09 19:54:36 +01:00
warmenhoven
a60249ff87
Fix #15059 Compile in presence for discord (#15063)
Also relying on $TMPDIR is problematic because Discord uses
NSTemporaryDirectory() which may not be the same.
2023-03-06 19:57:08 +01:00
Jamiras
5ecdc4c170
upgrade to rcheevos 10.6 (#14911) 2023-01-27 14:52:29 +01:00
libretroadmin
5648c8eda4 (SPIRV-Cross) Some WiiU buildfixes 2023-01-20 18:28:17 +01:00