215 Commits

Author SHA1 Message Date
twinaphex
8dd0680cbc Merge input_overlay.c into retroarch.c 2019-07-09 18:13:41 +02:00
twinaphex
bf3b46be77 (BSV) Cleanups 2019-07-08 20:52:55 +02:00
twinaphex
b567bc7ead Revert "Remove BSV code - was obsolete and no longer working - input recording"
This reverts commit 7f731e390a8186d574b813734c33cb1d9493b7a7.
2019-07-08 18:21:46 +02:00
twinaphex
7f731e390a Remove BSV code - was obsolete and no longer working - input recording
can be done in other ways instead of being held back by this old input
recording format - was decided along with Themaister that we want to
arrive at a codebase more easily maintained by all
2019-07-08 18:19:49 +02:00
twinaphex
7e6cb03f6b Revert "Remove RARCH_CTL_IS_DUMMY_CORE"
This reverts commit e032ef6b2e465b6d7f386f7bb4bf4221412c4678.
2019-07-08 17:57:28 +02:00
twinaphex
e032ef6b2e Remove RARCH_CTL_IS_DUMMY_CORE 2019-07-08 17:53:10 +02:00
twinaphex
f4bf218f35 (Menu) We need to tell rarch_menu_running_finished whether we want
to exit RetroArch or not - to avoid certain crashes when trying to
access the settings pointer - which should already be freed at this
point
2019-06-30 11:23:18 +02:00
twinaphex
4664e56ca3 Simplify core_run 2019-06-22 19:52:06 +02:00
twinaphex
ce3f46adbd Get rid of RARCH_CTL_UNSET_KEY_EVENT and other cleanups 2019-06-20 12:51:29 +02:00
twinaphex
6bc1802914 Move run_ahead.c to retroarch.c - most of the runloop
should now be self-contained in one file. Allows us to
turn more functions static, remove more extraneous functions
that just consisted of a single line (mostly getters/setters), etc.
2019-06-20 09:30:44 +02:00
twinaphex
d50a6b6bd2 Add video_driver_has_focus 2019-06-20 06:26:29 +02:00
twinaphex
c46ba7f63b Turn more functions static 2019-06-20 04:58:52 +02:00
twinaphex
720424777b Turn function static 2019-06-20 04:50:55 +02:00
twinaphex
337e2110a1 Get rid of video_driver_cb_has_focus function pointer 2019-06-20 04:43:23 +02:00
twinaphex
129e73c588 turn lots of audio functions static 2019-06-20 04:29:08 +02:00
twinaphex
4d8f5f4dde Merge core_impl.c into retroarch.c 2019-06-19 09:51:56 +02:00
twinaphex
5d91af629e Set SHADERS_SLANG flag for D3D10/11/12 and query the video driver poke
interface's 'get flags' function before querying the video context
driver's 'get flags' function (D3D10/11/12/WiiU don't have a context
driver at all)
2019-06-19 03:18:28 +02:00
Brad Parker
d01f04c146 d3d10/11/12: add GPU selection 2019-06-18 16:35:50 -04:00
twinaphex
df8d7bb5aa runloop_msg_queue now local to retroarch.c - remove
functions runloop_msg_queue_lock and runloop_msg_queue_unlock,
turn them into macros instead and only use them inside retroarch.c
2019-06-18 21:33:01 +02:00
LazyBumHorse
c20c67bd3a proper shader compatibility checks
- move shader flags from the video drivers to the context drivers
 - rework config_load_shader_preset() from configuration.c into retroarch_load_shader_preset() in retroarch.c with proper compatibility check
 - implicitly call retroarch_load_shader_preset() in retroarch_get_shader_preset() once per core/content life cycle
 - use video_shader_is_supported() instead of video_driver_test_all_flags() where appropriate
 - remove GFX_CTX_FLAGS_NONE because it is meaningless
2019-06-18 13:46:41 +02:00
LazyBumHorse
42e35c825f refactor some video_shader_parse functions
- video_shader_parse_type()'s fallback only worked for NULL paths and was wrongly used, now returns RARCH_SHADER_NONE like video_shader_get_type_from_ext().
 - video_shader_get_type_from_ext() should not be checking video driver flags, this is instead done by video_shader_is_supported()
 - video_driver_get_all_flags() did not actually 'get' flags, changed to video_driver_test_all_flags()

workaround for crash due to glcore not always using at least OpenGL 3.2
2019-06-18 13:12:56 +02:00
twinaphex
c827e1b67f Turn into static function 2019-06-17 21:05:39 +02:00
twinaphex
f061941456 Integrate record_driver.c into retroarch.c 2019-06-17 16:23:46 +02:00
twinaphex
2d7164b54f Should fix C89_BUILD 2019-06-17 15:13:01 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex
61879bc8e0 audio_driver_dsp_filter_init - cleanup 2019-06-17 13:06:56 +02:00
twinaphex
127bf556c7 Merge audio_driver.c into retroarch.c 2019-06-17 12:49:21 +02:00
twinaphex
eedc6a6092 Integrate location_driver.c into retroarch.c, get rid of
location_driver_ctl
2019-06-17 11:57:46 +02:00
twinaphex
66022c1b13 Get rid of camera_driver_ctl and bsv_movie_ctl 2019-06-17 11:38:28 +02:00
twinaphex
c87344dca8 Cleanup camera_driver_ctl 2019-06-17 11:29:05 +02:00
twinaphex
3581786708 Merge camera_driver.c with retroarch.c 2019-06-17 11:18:27 +02:00
twinaphex
ce51cf6b33 Simplify BSV code 2019-06-17 02:23:06 +02:00
twinaphex
184dc79011 Cleanups 2019-06-16 20:04:43 +02:00
twinaphex
db87e050d5 Merge movie.c into retroarch.c 2019-06-16 16:52:48 +02:00
jdgleaver
23ca792966 Re-enable '--log-file' command line option 2019-05-17 17:19:13 +01:00
twinaphex
7372bafb44 Remove RARCH_CTL_SET_LIBRETRO_PATH 2019-04-21 06:03:02 +02:00
Brad Parker
aa588dec35 set default language on first startup according to OS setting (initial *nix implementation) 2019-04-15 23:14:49 -04:00
jdgleaver
93506a0d18 Log to file improvements 2019-03-21 16:57:54 +00:00
Brad Parker
10df615d14 add "Send Debug Info" option under Help 2019-03-07 19:17:54 -05:00
Brad Parker
44c4be1863 add option to track how long content has been running over time 2019-02-12 00:32:01 -05:00
twinaphex
386657a366 (menu widgets backport) Re-commit task queue changes 2019-02-08 08:00:32 +01:00
twinaphex
7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
natinusala
c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
twinaphex
fe02db911d Header include cleanups 2019-01-31 20:36:39 +01:00
Brad Parker
5ea97cccb9 win32: force video driver to gdi if no accelerated graphics driver is found 2019-01-31 09:48:10 -05:00
orbea
d86fe8d6e6 Don't disable the Qt frontend when started from the commandline.
Fixes https://github.com/libretro/RetroArch/issues/7962.
2019-01-12 09:40:05 -08:00
twinaphex
e13a142bae Wrap access to runloop_key_event 2019-01-10 02:49:25 +01:00
twinaphex
d3f58bb65c Wrap all access of runloop_shutdown_initiated 2019-01-10 02:35:03 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
radius
ec53480a66 [discord] let's rewrite this to do the same but different 2019-01-05 15:11:58 -05:00