2737 Commits

Author SHA1 Message Date
twinaphex
2037de5b33 Silence more warnings 2020-05-20 23:40:26 +02:00
jdgleaver
41cee583e3 NUL terminate 'fps_text' string 2020-05-20 17:51:20 +01:00
jdgleaver
c346e1f816 Various file path handling optimisations 2020-05-20 17:05:22 +01:00
Joan Coll Cerdán
e43111d9cb Support fallback dirs to cycle user shader presets
When a user shader preset was saved, if the Video Shader directory
wasn't writable, it would fall back to the Menu Config directory, and
failing that, it would fall back to the directory where retroarch.cfg
is stored.

This change allows the shader cycling feature to use those directories
if no shader presets are found on the Video Shader directory.
2020-05-20 17:47:23 +02:00
Joan Coll Cerdán
2768655267 Cleaner structure for auto shader presets.
Additional changes:

* Restore the previous storage path for user-presets until a better
  solution is agreed upon.

* Stop using the Video Shaders directory as fallback directory to
  store autopresets. Will be used only when autoloading as last resort to
  ensure compatibility with old setups.
2020-05-20 17:47:23 +02:00
twinaphex
aeb3f692d5 Get rid of superfluous get_ai_service_auto/set_ai_service_auto get/set
wrapper functions
2020-05-20 16:35:53 +02:00
twinaphex
af01b97a11 Add TODO/FIXME 2020-05-20 16:32:20 +02:00
twinaphex
03ea12d334 Move discord files to network/ 2020-05-20 15:27:27 +02:00
twinaphex
a8fdfd77ce Make gamma correction 'int' type across the board 2020-05-20 15:04:16 +02:00
twinaphex
cb5de27631 Cleanup 2020-05-20 14:48:22 +02:00
twinaphex
d9ccd3a737 Turn core_poll_type_override into enum variable 2020-05-20 14:23:25 +02:00
twinaphex
d1c130d60a Global variable cleanups 2020-05-20 06:29:58 +02:00
twinaphex
692f37b91a Rearrange global variables 2020-05-20 06:04:51 +02:00
twinaphex
13279eb0d4 Move defines to top 2020-05-20 04:54:14 +02:00
twinaphex
9e5f00ba27 Turn retroarch_fail static 2020-05-20 04:43:35 +02:00
twinaphex
1e21bf5074 Move defines to top 2020-05-20 04:39:27 +02:00
twinaphex
51c1064609 retroarch_validate_per_core_options - cut down on code duplication 2020-05-20 04:18:57 +02:00
twinaphex
a188826a10 Cleanups 2020-05-20 04:02:43 +02:00
twinaphex
24dd7409bc Move more global variables and forward declarations up top 2020-05-20 03:58:36 +02:00
twinaphex
cc2d70f044 (retroarch.c) Turn some AI functions static 2020-05-20 03:47:14 +02:00
twinaphex
7b5b14b0a7 More reorganization of globals, enums, defines 2020-05-20 03:38:16 +02:00
twinaphex
969475254f (retroarch.c) Reorganize globals, forward declarations, and defines 2020-05-20 03:30:04 +02:00
twinaphex
5852251d56 Fix --disable-menu 2020-05-20 02:25:33 +02:00
twinaphex
182ad31c63 (retroarch.c) Relocate structs and enums 2020-05-20 02:19:20 +02:00
Autechre
7eaa771d57
Merge pull request #10663 from jdgleaver/overlay-leak-fix
Fix memory leak when loading overlays
2020-05-19 18:05:23 +02:00
twinaphex
521f4bfefc Remove more unneeded video_frame_info variables 2020-05-19 17:52:54 +02:00
jdgleaver
6800fadafe Fix memory leak when loading overlays 2020-05-19 16:37:20 +01:00
twinaphex
26c6c34817 video_frame_info - remove more unused settings 2020-05-19 16:51:05 +02:00
twinaphex
3f98cbc52d Get rid of some unneeded variables in video_frame_info 2020-05-19 16:42:56 +02:00
Jamiras
6946f878ef disable hardcore when cheats are enabled 2020-05-16 08:01:24 -06:00
Joan Coll Cerdán
fe42f6bb73 Changed the order of shader preset directories.
The Menu Config directory now takes precedence over the Video Shader
directory for the storage of shader preset overrides. With this, all
user overrides are grouped by default under the same path.
2020-05-13 19:54:08 +02:00
Joan Coll Cerdán
f1f248dd11 Add fallback directories to shader presets.
Improves the management of shader presets by using the Menu Config directory
and the directory of the configuration file as alternate fallback directories
whenever the Video Shader directory is not writable.
2020-05-13 19:54:08 +02:00
Vladimir Serbinenko
7b351da006 Fix crash with null audio driver 2020-05-12 03:09:38 +02:00
twinaphex
6a4a522244 Cut down on some code duplication and turn
retroarch_validate_game_options static
2020-05-11 17:19:55 +02:00
twinaphex
81a623c2b6 Style nits 2020-05-11 16:49:31 +02:00
Twinaphex
2f3ef75bf6 Remove some unused variables and some style nits 2020-05-10 01:10:45 +02:00
twinaphex
3ad4b057f9 Go back to 1.8.4 netcode 2020-05-10 01:02:47 +02:00
barbudreadmon
7a3ddcd77d
(glcore) switch to glcore video driver when requested
fix #10486
2020-05-09 17:15:45 +02:00
jdgleaver
702bc18128 (3DS) Disable video filter if upscaled resolution exceeds hardware limits 2020-05-04 11:52:53 +01:00
jdgleaver
3f2ba2e791 Add option to mute audio when fast-forwarding 2020-05-01 12:19:31 +01:00
Karl Forshaw
5ed60cde04 Advise against using -s and -S variables on the command line.
Signed-off-by: Karl Forshaw <karlforshaw@gmail.com>
2020-04-29 13:39:12 +01:00
Autechre
39aae2872d
Merge pull request #10525 from libretro/set_gamepad_bitwise_fix
Added small fix to set_gamepad_input_override bit logic.
2020-04-27 20:28:54 +02:00
Barry Rowe
d87fa1799e Added small fix to set_gamepad_input_override bit logic. 2020-04-27 10:16:11 -07:00
jdgleaver
9eb8472805 Only write config files to disk when parameters change 2020-04-27 17:06:35 +01:00
maksun
b92ac7d439
[Retroarch] Tiny issue when displaying version
Just two lines to fix #10445
2020-04-23 19:48:51 +02:00
jdgleaver
fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
jdgleaver
6ef5fa1aa5 More build fixes 2020-04-17 17:08:12 +01:00
jdgleaver
ddc860d4b0 Build fixes 2020-04-17 16:42:37 +01:00
twinaphex
352519c91e Another builfdix 2020-04-17 16:32:10 +02:00
twinaphex
f3b82dc998 Buildfix 2020-04-17 16:29:23 +02:00