Commit Graph

1090 Commits

Author SHA1 Message Date
LibretroAdmin
f5133d8cc4
Revert "Add Xdelta support for softpatching (#14706)" (#14743)
This reverts commit aaad220836.
2022-12-19 03:29:46 +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
sonninnos
8e937ddd6a
MIDI driver cleanups (#14686) 2022-11-29 11:29:39 +01:00
libretroadmin
cc37b7037f Move enum screensavers to menu_defines.h 2022-11-27 23:08:14 +01:00
libretroadmin
38bc51f5c2 (config.def.h) only try to include define headers 2022-11-27 22:57:17 +01:00
LibretroAdmin
fcd4dce445
Use only macros from now on in config.def.h (#14681) 2022-11-27 22:15:59 +01:00
sonninnos
7873378a98
Turn menu related config defaults from bools to defines (#14680) 2022-11-27 21:01:53 +01:00
libretroadmin
b8eefbf0ab (MSVC 2017/2019) Change default buildbot cores URL from (non-existent) MSVC 2017 cores URL
to mainline windows x64 cores URL
2022-11-25 22:44:32 +01:00
libretroadmin
f21b878ed6 Disable 'Pause on Disconnect' by default 2022-11-21 18:12:53 +01:00
libretroadmin
63a080af3f (Android) Do not enable threaded video by default for Android 2022-11-18 20:03:19 +01:00
Ryunam
49b973ac89
(Ozone+XMB) Add option to customize cursor memory (#14605) 2022-11-10 15:46:44 +01:00
sonninnos
68401205f2
Add option for pause on controller disconnect (#14601) 2022-11-08 12:46:09 +01:00
sonninnos
1c7855acc8
Add option for swapping menu scrolling buttons (#14577) 2022-11-01 19:48:28 +01:00
neil4
2de52baf74
Overlays: Add eightway area types (#14565)
- New descriptors: 'dpad_area' and 'abxy_area'
- Each has a diagonal sensitivity setting, 100% being 8-way symmetry
- Buttons can be redefined in the cfg file

E.g. This would create a d-pad area, then redefine it to use analog directions:
overlay0_desc0 = "dpad_area,0.85,0.57,rect,0.166228,0.295516"
overlay0_desc0_up = "r_y_minus"
overlay0_desc0_down = "r_y_plus"
overlay0_desc0_left = "r_x_minus"
overlay0_desc0_right = "r_x_plus"
2022-10-30 06:31:27 +01:00
sonninnos
194be57da1
(XMB) Add truncate playlist name option (#14553) 2022-10-27 05:42:46 +02:00
LibretroAdmin
07ae7ff7f1 Turn more static const variables in config.def.h into define macros 2022-10-18 13:39:21 +02:00
LibretroAdmin
57d5b8749e (Android) Enable 'Vibrate On Key Press' by default
(config.def.h) Turn some const variables into define macros
2022-10-18 12:13:47 +02:00
sonninnos
e902df3b0d
(XMB) Add options for hiding header and horizontal title margin (#14439) 2022-09-26 12:57:20 +02:00
LibretroAdmin
84868ab21f (Setting) Windowed scale should be an integer instead of float 2022-09-05 04:03:04 +02:00
LibretroAdmin
b8b3fe55fe Turn Advanced Settings on by default, this entire filtering of
settings will need a complete rethink anyways
2022-08-26 10:06:03 +02:00
LibretroAdmin
30977a2603 Enable savestate file compression by default for UWP/Xbox - got told there
are no more issues with it
2022-08-21 20:48:28 +02:00
MrHuu
46bafd6e46
(3DS) Add bottom menu options (#14323) 2022-08-17 08:23:07 +02:00
Cthulhu-throwaway
908667d97a
(Netplay) Removal of older unused code (#14312) 2022-08-11 23:17:33 +02:00
Cthulhu-throwaway
c030e1c5dc
(Netplay) Support for customizing chat colors (#14305) 2022-08-08 20:09:06 +02:00
Cthulhu-throwaway
e083c46d6e
(Netplay/Vita) Change default port (#14223) 2022-07-26 12:15:42 +02:00
Cthulhu-throwaway
f5d46681c2
(UWP) Enable core downloader/updater (#14173) 2022-07-14 15:21:49 +02:00
Cthulhu-throwaway
78bc42de68
(Netplay/Lobby) Add setting for filtering out rooms with non-installed cores (#14124) 2022-07-02 00:24:33 +02:00
sonninnos
a0bfdcce3b
(D3D11/12) Make waitable swapchains optional (#14074) 2022-06-19 21:25:37 +02:00
sonninnos
0bb65fb39c (D3D11/12) Add waitable swapchains and max frame latency option 2022-06-07 00:25:03 +03:00
Cthulhu-throwaway
ade5444d5f (Netplay) Change default for input sharing to "no sharing" 2022-05-25 07:45:02 -03:00
Ryunam
d7cfcd3f9b Add option to toggle automatic refresh rate switching 2022-05-16 17:50:11 +02:00
LibretroAdmin
9dd03f6d9f
Merge pull request #13835 from sonninnos/quickmenu-reorder
Reorganize Quick Menu items
2022-05-16 12:06:19 +01:00
Cthulhu-throwaway
80a9c16b3f
(Netplay/Lobby) Add a toggleable filter for passworded rooms (#13920)
In addition, move lobby filters into its own submenu for better organization.
2022-05-08 04:24:58 +02:00
sonninnos
0b55188969 Reorganize Quick Menu items 2022-04-28 18:57:46 +03:00
jdgleaver
37c56d0d09
Add option to disable automatic saving of input remap files (#13894) 2022-04-27 19:12:53 +02:00
Mats
4a1a1e2fa7
(steam) Introduce Steam Rich Presence (#13798) 2022-04-02 08:07:40 +01:00
jSTE0
fccef557fc
miyoo: Enable ALSA audio driver and default to it (#13814)
Enable it as it does not freeze. This provides an audio backend that
can report its buffer status, allowing auto frame skip to work on cores
that support it.

Do not build or include alsathread as it results in choppy audio.
Similarly, leave tinyalsa disabled as it plays back at a higher pitch
and is also choppy.

Change the default sample rate to 32000Hz as the previous default of
32730Hz is derived from the 3DS.
2022-04-02 08:07:25 +01:00
twinaphex
510af4678e Disable AI Service by default 2022-04-01 02:21:48 +02:00
sonninnos
27a6210f96 (XMB) Add title margin adjustment 2022-03-18 13:24:50 +01:00
twinaphex
596bc4e686 (Steam) Swap OK/Cancel buttons by default 2022-03-14 18:12:25 +01:00
Nikos Chantziaras
d9bc8fb796
Ozone: Add thumbnail scale option (#13620)
* Ozone: Add thumbnail scale option

* CHANGES.md: Add ozone thumbnail bar scaling option
2022-03-11 15:51:41 +01:00
Mats
249241d7cd
(steam) Initial integration with Steam API w/ mist (#13710) 2022-03-09 15:05:07 +01:00
MrHuu
9ed51bc528
(3DS) Add new3ds speedup toggle (#13718) 2022-03-09 08:20:15 +01:00
vaguerant
1726d8acb9
Add Optimize for GamePad option on Wii U (#13257)
* Add 'Optimize for Wii U GamePad' option

* style nit
2022-03-08 14:56:51 +01:00
jdgleaver
9b0cb0fc92
Add 'Standalone Cores' menu (#13655) 2022-02-22 19:23:48 +01:00
Tony
d9a4dc52c0
Increase maximum fast-forward ratio (#13552) 2022-01-27 11:37:09 +01:00
Tony
84f558db0b
Add optional frame skipping when fast-forwarding (#13550) 2022-01-26 18:30:33 +01:00
Piotr Dobrowolski
a612e7f7cc
sdl_gl_ctx: fix focus detection on webOS (#13526) 2022-01-24 16:31:35 +01:00
Vladimir Serbinenko
4e24fb3d01
Add osx-ppc compilation for frontend (#13532)
* Fix old osx condition

Current code assumes that osx < 10.12 is equivalent to ppc osx. It's not
true as Leopard x86 is still < 10.12 but not ppc. As xcode compiles fat
binaries it includes osx x86 and compilation fails.

* Disable crtswitchres when no c++11 is available

Crtswitchres altually needs c++11. Since it's not that important to make
it compatible with lower c++, just disable if no c++11 is available

* Don't use firstObject on old Mac OS X.

It was introduced in 10.6, so on old ones just implement it ourselves

* Compile osx-ppc frontend

* osx-ppc: Build a fat binary

On 10.6 i386 xcode apparently refuses to build a pure ppc.
Settle for a fat binary.
2022-01-24 16:22:07 +01:00
MajorPainTheCactus
ddaf3bc6cf
Revert default HDR settings as it broke the stock shader with HDR (#13448) 2022-01-08 13:41:34 +01:00