Commit Graph

9826 Commits

Author SHA1 Message Date
jdgleaver
913472ed97 RGUI: Fix strict aliasing violations + improve rendering performance 2019-07-04 14:10:24 +01:00
jdgleaver
fc4b3f4d96 RGUI: Fix ASAN misaligned address runtime error 2019-07-04 11:16:58 +01:00
twinaphex
65bff18cb0 Add callback for dump disc entries 2019-07-03 22:28:12 +02:00
Brad Parker
9a52595ce3 cdrom: add function to get list of available drives (initial linux implementation), show list in "Dump Drive" menu entry 2019-07-03 14:19:32 -04:00
jdgleaver
027324815e Quick Menu: Add 'Set Core Association' option 2019-07-03 16:33:23 +01:00
twinaphex
72eed727d0 Start implementing 'Dump Disc' as deferred list 2019-07-03 03:51:00 +02:00
twinaphex
4fdf33e5f8 (CDROM) Add Load Disc/Dump Disc 2019-07-03 01:08:20 +02:00
jdgleaver
1e17cca64d Playlist Management: Add 'Reset Core Associations' option 2019-07-02 12:00:38 +01:00
Twinaphex
143b45eca7
Merge pull request #9026 from jdgleaver/playlist-default-core
Overhaul default playlist core association
2019-07-02 12:22:30 +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
c1fbf1d43b (menu_animation.c) Try to prevent null pointer dereferences 2019-06-27 20:45:53 +02:00
jdgleaver
0be44e57ad Overhaul default playlist core association 2019-06-26 17:42:26 +01:00
twinaphex
0b92573fd1 Avoid some warnings 2019-06-26 14:35:25 +02:00
natinusala
8873b3b787 menu_widgets: have the progression widget always resize 2019-06-26 09:46:04 +02:00
twinaphex
3b634b64fa Merge dirs.c into paths.c 2019-06-26 07:23:32 +02:00
Twinaphex
f23497fd80
Merge pull request #9014 from LazyBumHorse/fix_d3d9
fix d3d9 not rendering xmb and temporarily disable widgets due to segfault
2019-06-24 16:07:03 +02:00
LazyBumHorse
1f69f3960a fix d3d9 not rendering xmb and temporarily disable widgets due to segfault 2019-06-24 15:42:55 +02:00
Twinaphex
d2fd4d48ae (macOS) Less warnings with static code analysis 2019-06-24 15:03:58 +02:00
Twinaphex
c8486a5081 (Cocoa/Metal) Silence bunch of warnings 2019-06-24 14:58:32 +02:00
Twinaphex
84974c7e5c Silence more warnings 2019-06-22 15:09:59 +02:00
Twinaphex
bf1951ae37 Fix plethora of warnings on OSX 2019-06-22 14:52:29 +02:00
Twinaphex
9180cc5ba2 Cleanup some warnings 2019-06-22 13:44:10 +02:00
twinaphex
bc7ba4f5d2 Move menu_input.c into retroarch.c - now all of the input code
should be inside one place - giving us the opportunity to cleanup this
mess
2019-06-21 03:40:48 +02:00
LazyBumHorse
2f96bdfc63 always filter by extensions in shader (preset) file browser 2019-06-20 13:18:55 +02:00
twinaphex
37c04932bf Revert bind/hold behavior for now 2019-06-20 11:45:51 +02:00
twinaphex
2cad59092c (menu_displaylist.c) Fix warning 2019-06-20 08:43:22 +02:00
radius
d865c5e4a6 add some copyright on files I contributed considerably just in case 2019-06-20 05:45:17 +02:00
twinaphex
48eeb15d2c Silence warnings 2019-06-20 01:16:05 +02:00
twinaphex
897a9a7c1a (MSVC 2017 UWP) Silence warnings 2019-06-19 21:20:31 +02:00
twinaphex
3a984fc2e5 (GDI) Use video_info->userdata instead of querying video_driver_get_ptr
(retroarch.c) Simplify video_driver_get_ptr
2019-06-19 05:25:26 +02:00
Twinaphex
dd315ba7bc
Merge pull request #8985 from bparker06/d3d_gpu_select
d3d10/11/12: add GPU selection
2019-06-19 00:19:51 +02:00
twinaphex
eee7430ffa Fix CXX_BUILD 2019-06-19 00:10:03 +02:00
Brad Parker
d01f04c146 d3d10/11/12: add GPU selection 2019-06-18 16:35:50 -04:00
twinaphex
de9f7e521b Make this function static 2019-06-18 22:01:11 +02: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
twinaphex
10b28e5d60 runloop_msg_queue_{lock|unlock} are only referenced from retroarch.c now 2019-06-18 21:24:42 +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
692dc9f6a9 refactor shader checks affected by last commit and more:
- gl.c: refactor backend fallback into more general gl2_get_fallback_shader_type
 - d3d9-12, gl_core, gx2_gfx, gl, vulkan: more consistent shader init and `set_shader` behavior
 - configuration.c: remove check_shader_compatibility
 - shader_glsl.c, shader_gl_cg.c: use `video_shader_get_type_from_ext`
 - shader_gl_cg.c: add shader type check with fallback to stock like in shader_glsl.c
 - menu_shader.c: use `enum rarch_shader_type` instead of `unsigned`
 - video_shader_parse.c: add `video_shader_to_str` for easier logging
 - remove `type` from `struct video_shader`, which was always set to CG and wrongly used in lang_process.cpp's `slang_process()` (has no further consequences because the code is unused)
2019-06-18 13:44:19 +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
3af449a445 Cleanups 2019-06-18 01:23:23 +02:00
twinaphex
f061941456 Integrate record_driver.c into retroarch.c 2019-06-17 16:23:46 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +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
3581786708 Merge camera_driver.c with retroarch.c 2019-06-17 11:18:27 +02:00
LazyBumHorse
6514b80ff2 Revert "allow saving and properly loading 0 pass shader presets"
This reverts commit b54a360ab8.
2019-06-16 23:05:41 +02:00
twinaphex
72a35481ea (XMB) Cleanups 2019-06-15 10:07:55 +02:00
twinaphex
f60306b232 Rename read_conf_cgp/write_conf_cgp to
read_conf_preset/write_conf_preset
2019-06-15 09:00:35 +02:00
twinaphex
d422638c45 Turn more static const variables into macros 2019-06-14 13:01:22 +02:00
twinaphex
408d41b629 Turn a bunch of variables into macros 2019-06-14 11:13:02 +02:00