twinaphex
68cbd5048c
Convert input_conv_analog_id_to_bind into macro
2019-06-19 05:16:24 +02:00
twinaphex
84d246ad0b
Cleanup unused functions
2019-06-19 04:15:30 +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
twinaphex
a6b3d6e8db
Silence some warnings
2019-06-19 00:34:28 +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
b62476da77
Revert "Turn wifi_driver_ctl into a static function"
...
This reverts commit 8a5ae0b6cf
.
2019-06-18 22:18:11 +02:00
twinaphex
8a5ae0b6cf
Turn wifi_driver_ctl into a static function
2019-06-18 22:14:34 +02: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
da1d03bcb0
Update retroarch.c
2019-06-18 02:34:14 +02:00
twinaphex
b08328897a
Cleanup
2019-06-18 01:05:29 +02:00
twinaphex
fd17e04bb1
Merg input_remote into retroarch.c
2019-06-18 01:03:33 +02:00
twinaphex
c827e1b67f
Turn into static function
2019-06-17 21:05:39 +02:00
twinaphex
e011a07901
Cleanup
2019-06-17 20:16:12 +02:00
twinaphex
ee37dd1953
Cleanup
2019-06-17 20:10:48 +02:00
twinaphex
7bbd927946
Merge wifi_driver.c and retroarch.c
2019-06-17 19:28:28 +02:00
twinaphex
f90665526a
Cleanups
2019-06-17 19:17:02 +02:00
twinaphex
491283cea1
UI Companion drivre and MIDI driver integrated into retroarch.c too
2019-06-17 19:15:35 +02:00
twinaphex
b9c33713b4
Merge input_driver.c with retroarch.c
2019-06-17 18:59:56 +02:00
twinaphex
79cadc9eaf
Move configuration global state to retroarch.c
2019-06-17 16:58:43 +02:00
twinaphex
f061941456
Integrate record_driver.c into retroarch.c
2019-06-17 16:23:46 +02:00
twinaphex
ee2745d1bd
Don't directly call global_get_ptr from inside retroarch.c
2019-06-17 15:37:34 +02:00
Twinaphex
2d6e56d049
Remove some unused variables
2019-06-17 15:30:31 +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
f88e6c75d5
Cleanup
2019-06-17 10:14:41 +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
5b6ba1acf9
Cleanups
2019-06-16 17:05:06 +02:00
twinaphex
db87e050d5
Merge movie.c into retroarch.c
2019-06-16 16:52:48 +02:00
twinaphex
e4b01642b9
Reimplement fullscreen toggle key
2019-06-16 16:20:43 +02:00
twinaphex
6581f4d968
Move some variables around
2019-06-16 16:06:37 +02:00
twinaphex
33d4d8b7c9
Update libretro-common
2019-06-14 13:13:49 +02:00
twinaphex
99240fe7c1
Cleanups
2019-06-14 05:08:04 +02:00
twinaphex
fa55047e2e
(config.features.h) Turn static const variables into macros
2019-06-13 22:34:24 +02:00
twinaphex
17cbd134d5
Reimplement take screenshot
2019-06-13 09:30:07 +02:00
twinaphex
53c91d6e56
More runloop cleanups - create HOTKEY_CHECK3
2019-06-09 08:48:59 +02:00
twinaphex
640fb3a5cb
command.c / retroarch.c cleanups
2019-06-09 08:35:16 +02:00
twinaphex
dc6de293ef
(runloop) Cleanups
2019-06-09 06:34:01 +02:00
twinaphex
5d301f321d
Refactor hotkey checks
2019-06-08 15:19:15 +02:00
twinaphex
548e1380d7
Cleanup - use HOTKEY_CHECK
2019-06-08 05:19:50 +02:00
twinaphex
bb828b7396
(retroarch.c) Create HOTKEY_CHECK
2019-06-08 05:17:14 +02:00
twinaphex
8bb74d0776
Added new hotkey AI Service and added requested
...
variables for OCR
2019-06-06 03:41:40 +02:00
Brad Parker
2e9df1be11
typo
2019-06-02 20:25:11 -04:00
twinaphex
5a4294359a
(config.def.h) Turn const variables into macros
2019-06-02 17:19:58 +02:00
twinaphex
aee137eb7b
(retroarch.c) Cleanups
2019-05-31 16:41:17 +02:00
twinaphex
90fab37a86
Get rid of RUNLOOP_STATE_SLEEP and reuse existing state
2019-05-31 16:38:17 +02:00
twinaphex
6048fd564d
(retroarch.c) Simplify some code
2019-05-31 15:29:52 +02:00
twinaphex
9df5b731f5
Fix mistake
2019-05-31 09:06:48 +02:00
twinaphex
281630bd4f
(retroarch.c) Cleanups
2019-05-31 07:02:44 +02:00
meleu
694bac565f
do not use old cheevos implementation
2019-05-29 14:26:22 -03:00
natinusala
4e74e52518
menu widgets: fix rounding error with timings
2019-05-27 09:59:41 +02:00
twinaphex
f88ec1e54e
(MSVC 2003) Fixup MSVC 2003 solutions; fixup targets that don't have
...
HAVE_NETPLAY defined
2019-05-27 04:04:27 +02:00
radius
370b9681b8
fix netplay paused spam
2019-05-26 22:39:46 +02:00
twinaphex
020b714113
Refactor task_screenshot.c
2019-05-22 05:54:35 +02:00
twinaphex
f117d763d6
Create path_stat and use it
2019-05-22 02:21:30 +02:00
twinaphex
d2d4e11169
Fix mistake
2019-05-21 05:43:49 +02:00
twinaphex
b86a9db553
Fix this
2019-05-21 05:37:21 +02:00
twinaphex
154319ba3d
Only copy these launch arguments on the first run - by fr500
2019-05-21 05:36:04 +02:00
radius
eef4ada025
fix #8725 again including:
...
- allow savestates on hardcore
- fix weird conditions happening due to having two implementations
- fix popup saying state was loaded when starting a game with achievements hardcore after a game with no achievements
- fix rewind not working when loading games with no achievements after loading games with achievements hardcore
2019-05-21 03:32:49 +02:00
twinaphex
f17655f073
Revert "attempt to fix issue described in #8725"
...
This reverts commit 90b0afdaa7
.
2019-05-21 03:32:18 +02:00
twinaphex
90b0afdaa7
attempt to fix issue described in #8725
2019-05-21 03:10:06 +02:00
radius
f393898825
cheevos, fix issue described in https://github.com/libretro/RetroArch/issues/8725#issuecomment-493130218
2019-05-19 00:37:48 +02:00
jdgleaver
23ca792966
Re-enable '--log-file' command line option
2019-05-17 17:19:13 +01:00
twinaphex
62f3046f0f
(localtime) Cleanups
2019-05-12 04:43:57 +02:00
plaidman
b7929b4ac7
check if lang code is null before processing
2019-05-11 13:45:23 -04:00
twinaphex
5a9c0da282
Rename config_init to rarch_config_init to avoid collision
...
with cores that might use this symbol name
2019-05-09 06:57:18 +02:00
Twinaphex
786a5bd9a8
Merge pull request #8693 from meleu/patch-5
...
add "Use Old Implementation" in the Achievements menu
2019-05-05 01:19:01 +02:00
meleu
22a956f663
replace 'cheevos_rcheevos_enable' by 'cheevos_old_enable'
2019-05-04 12:52:49 -03:00
natinusala
03e3e3f520
menu_widgets: notifications duration is now framerate independent
2019-05-04 16:36:40 +02:00
natinusala
636f2ddb28
menu_widgets: implement the user setting
2019-05-03 21:25:20 +02:00
twinaphex
4c3e0d44b8
Revert "Start using string_is_equal_memcmp and"
...
This reverts commit 26d6aee1eb
.
2019-04-29 04:04:33 +02:00
twinaphex
26d6aee1eb
Start using string_is_equal_memcmp and
...
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
twinaphex
415646111b
(Settings) Libretro log level should be available again
...
(Logging) SET_SUBSYSTEM_INFO and GET_VARIABLE should only
do verbose logging if libretro logging level is set to DEBUG
2019-04-28 01:55:49 +02:00
twinaphex
b5a7020366
Cleanups
2019-04-23 21:15:15 +02:00
twinaphex
f8881f7cbe
Cleanup retroarch_validate_game_options
2019-04-23 21:06:12 +02:00
twinaphex
64ee26baae
More cleanups/refactors
2019-04-22 04:41:16 +02:00
twinaphex
9bd38b7011
Small style nits/cleanups
2019-04-22 04:25:43 +02:00
twinaphex
31fc95a6cf
Style nits
2019-04-22 03:08:30 +02:00
twinaphex
33e5a92867
We should be able to rely on the return value of path_mkdir
...
instead of doing an additional negative path_is_directory check
afterwards
2019-04-22 02:33:12 +02:00
twinaphex
d281e3f889
(retroarch.c) Cleanups
2019-04-21 23:42:21 +02:00
twinaphex
7372bafb44
Remove RARCH_CTL_SET_LIBRETRO_PATH
2019-04-21 06:03:02 +02:00
twinaphex
5771a7a71d
Simplify some code
2019-04-21 05:24:06 +02:00
orbea
4bd3a54fbb
Fix some CXX_BUILD errors.
2019-04-20 07:08:22 -07:00
meleu
c2364096f3
Merge branch 'master' into runtime_rcheevos_switch
2019-04-19 21:50:00 -03:00
Brad Parker
ffb07f3076
win32: set default language to OS preferred language on first start
2019-04-16 00:42:29 -04: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
Twinaphex
2bab38e857
Merge pull request #8306 from CozmoP/options
...
WIP/PoC Qt: settings PoC
2019-04-14 05:44:02 +02:00
twinaphex
3199edcde2
(MSVC 2005) Buildfix
2019-04-08 20:48:47 +02:00