687 Commits

Author SHA1 Message Date
LibretroAdmin
f5133d8cc4
Revert "Add Xdelta support for softpatching (#14706)" (#14743)
This reverts commit aaad220836c90e398417e20f3afae4ccf479a87e.
2022-12-19 03:29:46 +01:00
libretroadmin
91f3611fdd Revert "(xdelta3) Slim down on dependency"
This reverts commit d7d659147c15394f72c3e53953bfb4291bd8c982.
2022-12-19 03:25:15 +01:00
libretroadmin
910db94e9f Revert "(xdelta3) Some additional cleanups"
This reverts commit 2f3821ffc8e1d06aabd94c897d4a3eb7acab4f21.
2022-12-19 03:25:07 +01:00
libretroadmin
2f3821ffc8 (xdelta3) Some additional cleanups 2022-12-19 03:09:55 +01:00
libretroadmin
d7d659147c (xdelta3) Slim down on dependency 2022-12-19 02:53:15 +01:00
Jesse Talavera-Greenberg
aaad220836
Add Xdelta support for softpatching (#14706)
* 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

* First crack at xdelta softpatching support

- There may be undiscovered edge cases or bugs

* 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

* First crack at xdelta softpatching support

- There may be undiscovered edge cases or bugs

* Remove trailing commas from the enums I modified

- C89 doesn't allow them

* 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

* Add some RARCH_DBG calls for xdelta patching

* 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
2022-12-19 01:10:04 +01:00
Jamiras
e46e03094f
upgrade to rcheevos 10.5 (#14622) 2022-11-13 23:24:42 +01:00
LibretroAdmin
6b4e20d414 (deps/switchres) Remove unused files grid.cpp and examples/ 2022-09-05 18:39:45 +02:00
LibretroAdmin
86e4c0394b (glslang) Go back to prior code 2022-08-12 21:49:42 +02:00
LibretroAdmin
5739c537a2 Some CXX_BUILD fixes 2022-08-05 17:40:06 +02:00
LibretroAdmin
03971308a3 (PIA) Fix warning 2022-08-05 15:27:55 +02:00
LibretroAdmin
e3b82184a7 (glslang) Silence warning 2022-08-05 02:29:59 +02:00
LibretroAdmin
0594df8cce Remove some unused variables 2022-08-04 22:41:17 +02:00
LibretroAdmin
e4bff7c12c Move rjsonwriter helper inline functions over to separate file rjson_helpers.h 2022-08-01 17:41:34 +02:00
LibretroAdmin
4b8d3ab8a0 (glslang) Use string append 2022-07-31 22:48:30 +02:00
LibretroAdmin
e602f8762b (glslang) Turn functions static 2022-07-31 19:52:41 +02:00
LibretroAdmin
2b84be1210 Get rid of HlslLegalization 2022-07-31 19:34:30 +02:00
LibretroAdmin
5cb8d34ac8 (glslang) Relaxed errors will never be enabled 2022-07-31 19:26:54 +02:00
LibretroAdmin
819d02ab24 (glslang) Remove more unused code -
* EShMsgKeepUncalled will never be used
* ShBinding never used
* TIOMapResolver never used
2022-07-31 19:02:36 +02:00
LibretroAdmin
0faee680c0 (glslang) remove more code we won't need - EShMsgAST, etc 2022-07-31 18:49:16 +02:00
LibretroAdmin
5a4e7cfbd1 (glslang) Remove no longer used RemoveTree.cpp/.h 2022-07-31 18:28:45 +02:00
LibretroAdmin
2ba46da700 (glslang) Simplifications - cuts down on binary size 2022-07-31 17:41:22 +02:00
LibretroAdmin
a176a935da (glslang) Further simplifications of InfoSink - get rid of message() and prefix() -
we want simple string concatenation/addition instead of all these layers
2022-07-31 16:37:49 +02:00
LibretroAdmin
a2e525a1b6 (glslang) Further simplification of InfoSink 2022-07-31 16:08:33 +02:00
LibretroAdmin
0db7062c87 (glslang) Slim down TInfoSinkBase 2022-07-31 15:24:32 +02:00
LibretroAdmin
e4b933cb88 (glslang) Cleanups - get rid of obsolete public API functions that
were never used, turn some functions static in ShaderLang.cpp
2022-07-31 15:06:13 +02:00
LibretroAdmin
454e6f9b07
Convert some glslang files to C (#14248)
* Convert some glslang files to C (OSIndependent files)

* Fix some strings that were preventing Unix from being compilable

* Remove leftover for Apple in griffin_glslang.cpp - fixes compilation
2022-07-29 17:42:10 +02:00
LibretroAdmin
a933b74b1e Buildfix 2022-07-29 15:01:06 +02:00
LibretroAdmin
11340c3c9c (glslang) Further removal of code we don't need 2022-07-29 14:43:22 +02:00
LibretroAdmin
6a8fe15772 (glslang) SpvBuildLogger never used, remove 2022-07-29 10:35:27 +02:00
LibretroAdmin
24a2f1e7c3 (glslang) Remove further unused files - SPVRemapper.cpp/.h, disassemble.cpp/.h,
doc.cpp/.h, LiveTraverser.h
2022-07-29 09:42:59 +02:00
LibretroAdmin
125d7dcc3b (glslang) Stripdowns - results in significant binary size decrease -
* Get rid of unused glslang/GenericCodeGen files
* Get rid of unused test files
* Get rid of unused Sh import interface
* Get rid of unused standalone files
* Get rid of unused Reflection/IoMapper files
2022-07-29 09:22:21 +02:00
LibretroAdmin
592f9384b0 Silence code analysis warnings by Xcode - unused variables - nothing
done with value set - etc
2022-07-29 08:29:43 +02:00
LibretroAdmin
0008691aa0
Remove unused variables (#14065) 2022-06-18 19:28:07 +02:00
Francisco Javier Trujillo Mata
ba47d09c4b [ORBIS] Update xxHash dependecy 2022-05-21 17:10:36 +02:00
Francisco José García García
8f81692b78 [ORBIS] shader cache 2022-05-21 17:10:36 +02:00
Jamiras
e3b59fd36d
upgrade to rcheevos 10.4 (#13908) 2022-05-04 04:46:47 +02:00
twinaphex
339a8736c1 (feralgamemode) Cleanups - get rid of fprintfs 2022-04-25 18:14:31 +02:00
twinaphex
0eb4444ad1 (mbedtls) Silence warnings 2022-03-31 15:28:49 +02:00
Autechre
4c3a4d66df
Cxx buildfixes (#13803)
* CXX_BUILD buildfixes
* (D3D11) Buildfixes for CXX_BUILD
* (Linux/qb) Disable KMS for Linux when building for C89, headers use inline which is not
available for C89
2022-03-30 17:30:20 +02:00
twinaphex
af0e49df57 Fix some warnings 2022-03-25 15:41:30 +01:00
Jamiras
a18e29cc8a update to rcheevos 10.3.3 2022-03-20 18:31:07 +01:00
Jamiras
4f62612044
replace real file system function with virtual wrapper call (#13717) 2022-03-09 08:20:58 +01:00
twinaphex
460f5e745d Silence some MSVC 2019 code analysis warnings 2022-03-05 14:39:56 +01:00
Jamiras
600a3365ea
update to rcheevos 10.3.2 (#13621) 2022-02-13 21:40:16 +01:00
Jamiras
cdc5e33953
support chd inside m3u (#13586) 2022-02-01 10:29:44 +01:00
Jamiras
e1352060b5
stop load process if unable to retrieve achievement data (#13565) 2022-01-29 19:57:23 +01:00
Jamiras
2ecb253ed4
(cheevos) upgrade to rcheevos 10.3 (#13546)
* upgrade to rcheevos 10.3

* use rcheevos cdreader for gdi/cue processing

* update widgets when loading state
2022-01-25 04:44:53 +01:00
Jamiras
cd50a51f3e
support for hashing buffered NDS ROMs (#13365) 2021-12-17 05:42:29 +01:00
Nikos Chantziaras
430baf7c21
Add Linux GameMode support (#13339)
This can fix a lot of performance issues, like audio crackling and frame
time spikes. This requires the GameMode package to be installed. See:

https://github.com/FeralInteractive/gamemode

This commit adds a "Game Mode" bool option to the "Power
Management" and "Latency" settings sections, and it can be toggled
on/off without restarting RA.

The actual toggling of game mode happens in a new frontend platform
interface function. Perhaps this will become useful for other platforms
that provide some equivalent of Linux GameMode.

Since the GameMode ABI is fixed, and the API comes as a single,
header-only file with no actual deps, we simply bundle the header
(deps/feralgamemode/gamemode_client.h.) That way, all Linux builds will
have support for GameMode regardless of whether the GameMode development
package is installed or not.
2021-12-14 14:07:42 +01:00