Commit Graph

754 Commits

Author SHA1 Message Date
libretroadmin 7d1d8be14e Revert "Slim down glslang"
This reverts commit e53a809e6d.
2024-06-15 06:22:57 +02:00
libretroadmin a15317907d Revert "(glslang) Buildfix"
This reverts commit e0656d8ca3.
2024-06-15 06:22:42 +02:00
libretroadmin 18a1623517 Revert "Slim down custom glslang more"
This reverts commit 9dffcdfc93.
2024-06-15 06:22:27 +02:00
libretroadmin 2d4f31bc0a Revert "(glslang) Get rid of all asserts"
This reverts commit d2b161ee86.
2024-06-15 06:22:16 +02:00
libretroadmin 3401f124cc Revert "(glslang) Further slimming down/cleanups"
This reverts commit 0b29d52b67.
2024-06-15 06:22:01 +02:00
libretroadmin 1a0320ceb4 Revert "(glslang) Simplifications - move nullptr to NULL"
This reverts commit 354c5afab4.
2024-06-15 06:21:52 +02:00
libretroadmin e3e501a90c Revert "Get rid of unused variable"
This reverts commit ab4d54cb70.
2024-06-15 06:21:42 +02:00
libretroadmin 4db59d587e Revert "Third parameter of std::remove prob needs to be nullptr"
This reverts commit 1b161fad1d.
2024-06-15 06:21:34 +02:00
libretroadmin 6cc5c414da Revert "Cleanups - remove/silence warnings"
This reverts commit cf04a2c0fe.
2024-06-15 06:20:55 +02:00
libretroadmin 1257a10686 Revert "* Remove more unused code"
This reverts commit a8fe9b74da.
2024-06-15 06:20:41 +02:00
libretroadmin 9ec7eaeb8b Revert "(glslang) Syntax cleanups, other cleanups"
This reverts commit e480ebd29f.
2024-06-15 06:20:30 +02:00
libretroadmin 7a9679c7fd Revert "(glslang) Cleanups"
This reverts commit bdff6a146b.
2024-06-15 06:20:19 +02:00
libretroadmin 66ed1bd095 Revert "(glslang) Cleanups"
This reverts commit 5454b570e7.
2024-06-15 06:20:10 +02:00
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