2560 Commits

Author SHA1 Message Date
twinaphex
c637686a76 Move more variables to retroarch global state 2020-05-26 03:18:34 +02:00
twinaphex
fda235518a Cleanup command_event_disable_overrides 2020-05-26 02:11:59 +02:00
twinaphex
1c45a070d1 Avoid namespace collision 2020-05-26 02:03:34 +02:00
twinaphex
922d5a00e1 Cleanups and add FIXME/TODO note 2020-05-26 02:02:20 +02:00
twinaphex
24ca499570 Cleanups 2020-05-26 01:14:26 +02:00
twinaphex
b70451d550 Start creating retroarch main state global struct 2020-05-26 00:01:59 +02:00
twinaphex
602d3d285c Revert "(glcore) switch to glcore video driver when requested"
This reverts commit 7a3ddcd77d819bb3a35ccaa3180deef982bdd5ef.
2020-05-25 21:31:23 +02:00
Autechre
3db672a60d
Revert "Revert "Revert "(video) fix "Allow Cores to Switch the Video Driver OFF" behavior""" 2020-05-25 21:26:11 +02:00
Autechre
950bf29c27
Revert "Revert "(video) fix "Allow Cores to Switch the Video Driver OFF" behavior"" 2020-05-24 23:42:12 +02:00
Autechre
d1f4279b8f
Revert "(video) fix "Allow Cores to Switch the Video Driver OFF" behavior" 2020-05-24 23:24:35 +02:00
twinaphex
fa37234a49 Cut down on strlens 2020-05-24 21:23:52 +02:00
twinaphex
53beaee6e6 Cleanup 2020-05-24 18:28:27 +02:00
twinaphex
5b562c4c24 Style nits/cleanups 2020-05-24 18:21:30 +02:00
twinaphex
1a2fdffd5b Move variables to top 2020-05-24 18:02:47 +02:00
twinaphex
6591b53547 Cleanup 2020-05-23 04:23:03 +02:00
twinaphex
7d6c0417eb Silence warning 2020-05-23 04:17:12 +02:00
twinaphex
7cbb79277d Cleanup core_load_game function 2020-05-22 19:43:10 +02:00
barbudreadmon
2f57d3cbea
(video) fix "Allow Cores to Switch the Video Driver OFF" behavior
fix #10677 : video driver must never be switched when this setting is set to OFF, it is the job of the core to request the right context
2020-05-22 15:38:47 +02:00
twinaphex
6dc758a080 Move cheevos-new to cheevos/ 2020-05-21 23:23:01 +02:00
Twinaphex
ede03659ca Update 2020-05-21 22:31:51 +02:00
Autechre
52e8c102fc
Merge pull request #10671 from johanbcn/improved-shader-preset-dirs
Improved shader preset dirs
2020-05-21 17:17:03 +02:00
Joan Coll Cerdán
04016ed4a6 Improve shader initialization code.
Patch by @jdgleaver.
2020-05-21 13:29:09 +02:00
twinaphex
a4f143a71a Buildfix 2020-05-21 00:46:49 +02:00
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