twinaphex
0aa9bd9c22
(retroarch.c) Cleanups - start getting rid of driver_find_ident
...
functions
2019-11-18 06:06:59 +01:00
Twinaphex
2a72d90e8a
Merge pull request #9715 from realnc/no-video-reinit
...
Do not reinit video driver on SET_SYSTEM_AV_INFO unless needed
2019-11-18 00:41:30 +01:00
Twinaphex
9c0028c1d1
Merge pull request #9739 from Jamiras/cheevos_init_load_state
...
(cheevos) prevent loading state while achievements are still being fetched from server
2019-11-17 23:16:21 +01:00
Twinaphex
53d18cf95e
Merge pull request #9713 from Rinnegatamante/vitagl
...
Added gl1 video driver support to Vita build
2019-11-17 23:14:29 +01:00
twinaphex
63e437d58f
Rename get_rotation to retroarch_get_rotation
2019-11-17 22:58:52 +01:00
Twinaphex
ddd9fbf6ae
Merge pull request #9734 from Aethyrion/rotation_fixing
...
Rotation fixing
2019-11-17 22:53:12 +01:00
twinaphex
934697b0da
Buildfix for no menu
2019-11-17 22:42:15 +01:00
twinaphex
cbe68cbf88
Turn the find_handle/find_ident functions static
2019-11-17 22:31:57 +01:00
twinaphex
f9bc57bcf8
Merge list_special.c into retroarch.c
2019-11-17 21:07:56 +01:00
twinaphex
8c799f978b
Merge paths.c - this is one of the last file we merge - not long after this
...
we can start splitting up retroarch.c into several files
2019-11-17 21:00:15 +01:00
Rémi
154c2d388d
Fix CI compilation issues
2019-11-17 20:18:42 +01:00
Nikos Chantziaras
e8c027cbc3
Do not reinit video driver on SET_SYSTEM_AV_INFO unless needed
...
Video reinit causes the core to freeze momentarily, freezing audio and
flashing the window. Cores like dosbox-svn need to change fps quite often
(some DOS games even change fps mid-gameplay) and the video reinit becomes
very annoying.
Change this to not reinit the video driver unless CRT SwitchRes is enabled
or a max width/height change was requested.
2019-11-17 20:29:42 +02:00
Rémi
1c9d0dbf48
Refactoring (still trying to fix CI compilation issue)
2019-11-17 18:03:57 +01:00
Jamiras
939770929f
hardcore mode is not dependent on having achievement data
2019-11-17 09:36:39 -07:00
Twinaphex
b6aa9f2fd1
Revert "Refactor RetroArch input polling settings"
2019-11-17 16:45:40 +01:00
Rémi
f804e0738f
Fix Integer Scaling when rotating
2019-11-17 13:52:28 +01:00
Rémi
a28e57e42d
Fixing Integer Scaling for Custom Viewport (when rotating)
2019-11-17 13:21:50 +01:00
Rémi
7088281b52
Fixing 1:1 PAR for 270 degree rotation
2019-11-16 23:18:56 +01:00
Rémi
ba183cf7a6
Refactoring (get_rotation)
2019-11-16 23:03:15 +01:00
Rémi
9df755bdb4
Fixing 1:1 PAR aspect ratio when video rotated
2019-11-16 22:13:12 +01:00
Twinaphex
0d284c42bc
Merge pull request #9714 from rz5/master
...
Refactor RetroArch input polling settings
2019-11-15 17:18:30 +01:00
jdgleaver
7eefec6945
(GLUI) Navigation improvements
2019-11-15 14:53:00 +00:00
rz5
82898ea194
Cast arg to rarch_set_in_put from what it is to enum rarch_poll_type.
...
Might fix building under clang 6.0
2019-11-15 00:47:46 +00:00
Rinnegatamante
d7572399cc
[VITA] Make (for now) vita2d renderer the default one.
2019-11-13 09:05:57 +01:00
rz5
2678789bd8
Refactor RetroArch input polling settings
...
* Refactored the way RetroArch sets the input state/poll callbacks, hopefully it's clearer now.
* The unnamed enum of poll type behaviors in core.h was moved to retroarch.h and is now named rarch_poll_type.
It represents polling behaviors implemented specifically by RetroArch.
First element starts at 1 to match the data encoding of RETRO_ENVIRONMENT_POLL_TYPE_OVERRIDE.
* Created rarch_set_input_cbs - sets different input state/poll callbacks based on a
rarch_poll_type parameter.
* Replaced the static variable core_poll_type_override in retroarch.c with a poll_type_lock flag
inside global_t's menu struct;
RETRO_ENVIRONMENT_POLL_TYPE_OVERRIDE will now call rarch_set_input_cbs and set poll_type_lock,
which blocks the user from changing behaviors from the menu.
* To follow the RETRO_ENVIRONMENT_POLL_TYPE_OVERRIDE spec, we now set poll_type_lock and call
rarch_set_input_cbs after calling unload_game.
* core_set/unset_netplay_callbacks will now set/unset poll_type_lock, preventing the
poll type from being changed by the user;
* The MENU_ENUM_LABEL_INPUT_POLL_TYPE_BEHAVIOR action will now call rarch_set_input_cbs if poll_type_lock
isn't set, which means poll type is changed on-the-fly.
2019-11-13 00:11:05 +00:00
Rinnegatamante
f3ca57e6f0
[VITA] Add vita video driver context.
2019-11-12 16:33:36 +01:00
twinaphex
455982da91
Silence warning
2019-11-09 18:01:13 +01:00
twinaphex
0c83d2a7cf
(Libnx) RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT - return false for libnx
2019-11-09 17:29:49 +01:00
twinaphex
dbd1e70410
RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT - turn this off for now
...
for Switch
2019-11-09 17:16:29 +01:00
Barry Rowe
a247ee14cd
Added fix for ai service overlay still showing when opening the menu.
2019-11-06 09:52:26 -08:00
jdgleaver
6afd684ae5
(GLUI) Halt scrolling when pointer is pressed/stationary
2019-11-05 12:23:09 +00:00
Barry Rowe
d641e67876
AI Service overlay.
2019-10-28 16:48:05 -07:00
rz5
a723a833a8
(video_driver_frame) Cache frame before converting 0RGB1555 ( #9629 )
...
* (video_driver_frame) Don't convert 0RGB1555 when menu is active
Fixes the color cycling that happens when the menu is up and the core's internal pixel format is 0RGB1555.
This happened because video_driver_scaler would keep converting from 0RGB1555 to RGB565, even when the core was paused.
* Update retroarch.c
* Update retroarch.c
2019-10-25 02:15:07 +02:00
Rinnegatamante
24c798f550
Implement the driver switch enable setting.
2019-10-18 23:39:13 +02:00
Rinnegatamante
3cfde6cc45
Re-initializing menu display driver even when widgets are not supported.
2019-10-18 19:58:37 +02:00
jdgleaver
37d12c3859
(GLUI) Menu improvements (Round 2)
2019-10-18 17:56:43 +01:00
Rinnegatamante
011078f991
Fix for cached driver not restoring back to old one with vulkan override.
2019-10-16 14:31:56 +02:00
Twinaphex
4ac264b1d0
Merge pull request #9591 from Rinnegatamante/videodrivers2
...
Graceful switching between videodrivers #2 .
2019-10-15 22:49:17 +02:00
Rinnegatamante
4d9fb951df
Make code C90 compliant.
2019-10-15 19:31:27 +02:00
orbea
14308e0b98
Remove redundant conditionals.
...
HAVE_NETWORK_CMD should never be true when HAVE_NETWORKING is
false.
2019-10-15 08:15:37 -07:00
orbea
70fd455b13
qb: Fix --disable-networking.
...
Fixes https://github.com/libretro/RetroArch/issues/9580 .
2019-10-15 07:37:24 -07:00
Rinnegatamante
839747f420
Added RETRO_ENVIRONMENT_GET_PREFERRED_HW_RENDER.
2019-10-15 14:53:10 +02:00
Twinaphex
92272fe01e
Merge pull request #9556 from ToKe79/lakka_wifi_ap
...
[Lakka] Wi-Fi Access Point in RetroArch Settings
2019-10-12 14:52:12 +02:00
Twinaphex
5340387164
Merge pull request #9584 from jdgleaver/menu-scaling
...
(GLUI) Menu scaling improvements
2019-10-12 14:46:36 +02:00
Twinaphex
7bed40d17b
Merge pull request #9547 from Rinnegatamante/videodrivers
...
Graceful switch between video drivers.
2019-10-12 14:21:33 +02:00
Rinnegatamante
ff726d212c
Fix for video driver config overwrite when video driver was forced by core on exit.
2019-10-11 15:15:18 +02:00
Joe Osborn
ef0eba5c5f
Fix BSV recording/playback
...
Inputs are 16-bit numbers, but the file writing routines were called with just one byte lengths. This change fixes BSV recording and playback for me.
2019-10-11 07:37:58 -04:00
Rinnegatamante
77d185ba8b
Fix video submenu not updating when a driver swap happens.
...
Thanks to jdgleaver for this.
2019-10-11 13:05:32 +02:00
jdgleaver
e47e055508
(GLUI) Menu scaling improvements
2019-10-10 10:01:46 +01:00
Barry Rowe
778571e3d0
Added in fix for bmp returns to ai service. Added in label passing to
...
ai service call.
2019-10-09 12:41:31 -07:00
natinusala
e394b439a8
osd: fix fast forward indicator
2019-10-08 10:42:13 +02:00
Rob Loach
c41e2218f7
Fix minus character
2019-10-07 22:16:50 -04:00
Rob Loach
f7dba5d331
Fix window title missing space
2019-10-07 22:15:07 -04:00
twinaphex
0da68dacf5
Silence unused variable warning
2019-10-05 19:01:05 +02:00
twinaphex
7e9e330e99
Add another HAVE_AUDIOMIXER ifdef - use string_is_equal instead
...
of strcmp
2019-10-05 18:50:28 +02:00
twinaphex
221df13250
Cleanups/warning fixes - compilation fix for OSX PPC
2019-10-05 18:38:17 +02:00
Tomas Kelemen (vudiq)
7b4c4efd11
Wi-Fi Access Point in RetroArch Settings
...
Adds an option to start wireless access point directly from RetroArch
settings menu (Services submenu). This wireless access point can be then
used for local netplay. If not defined in a specific config file
(LAKKA_LOCALAP_PATH), the arbitrary values for SSID/PassKey of the
created access point are LakkaAccessPoint/RetroArch. The menu/option is
added only in case when compiling with HAVE_LAKKA.
2019-10-05 13:18:15 +02:00
Rinnegatamante
b6e6b78843
Properly changing video driver name in settings when a core forces one.
2019-10-04 19:45:49 +02:00
Twinaphex
419eb5a6c0
Remove unused variables
2019-10-04 16:06:34 +02:00
jdgleaver
1df3e20bdd
Add option to automatically rotate overlays
2019-10-04 12:15:57 +01:00
Rinnegatamante
453781af9c
Graceful switch between video drivers.
2019-10-03 17:45:59 +02:00
jdgleaver
ece9851afb
(Menu Input) Re-work pointer 'swipe' detection
2019-10-01 13:00:59 +01:00
jdgleaver
3057c31798
(Menu Input) Add mouse/touchscreen gesture support + full gesture support for XMB
2019-09-30 16:55:41 +01:00
Ryan 'Swingflip' Hamlin
8fff917341
add platform specific to classics
2019-09-29 21:44:58 +01:00
twinaphex
f4467d6595
Combine RARCH_LOG/RARCH_ERR messages
2019-09-24 08:24:19 +02:00
benoa
2bd71b55bc
Wii/GC: free memory instead of used memory
2019-09-23 16:09:53 +02:00
Twinaphex
80b62fc635
Merge pull request #9501 from justinweiss/always-define-runtime-shader-preset
...
Ensure {set,unset}_runtime_shader_preset are always defined
2019-09-23 11:10:34 +02:00
twinaphex
3307e65ad3
Fix FPS text in threaded video mode
2019-09-23 09:22:35 +02:00
twinaphex
85d9eeb50d
Should fix CXX_BUILD
2019-09-23 04:40:18 +02:00
twinaphex
d045484788
Cleanups of some strings
2019-09-23 02:41:19 +02:00
twinaphex
b94b9e2adb
Go back to plain strlcpy/strlcat - probably best to look at
...
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
Justin Weiss
621c79dd3c
Ensure {set,unset}_runtime_shader_preset are always defined
...
These functions are used elsewhere, so they need to be defined. (Or we
could guard every place they're called instead)
2019-09-22 14:39:27 -07:00
twinaphex
882a66b49a
C89_BUILD buildfix
2019-09-22 21:59:17 +02:00
twinaphex
920a20f060
(GX) Silence more warnings
2019-09-22 11:35:09 +02:00
Barry Rowe
4e155dbc8e
Added in rpng string streaming to ai service.
2019-09-21 23:57:59 -07:00
twinaphex
c7fd375120
Create video_driver_display_userdata_{set/get}
2019-09-22 07:35:05 +02:00
Twinaphex
c2b26a3cd9
Remove unused variable
2019-09-22 04:40:01 +02:00
twinaphex
ed29c6f59c
Start going for consistent memory representation - instead of
...
'memory used' needs to become 'memory free'
2019-09-22 03:57:59 +02:00
twinaphex
111d666f85
Fix space
2019-09-22 03:30:04 +02:00
twinaphex
d356f88fb5
Memory details can now be shown individually without FPS and
...
frame count
2019-09-22 03:21:36 +02:00
LazyBumHorse
c81d363a6e
fix name of retroarch log file
2019-09-21 12:12:45 +02:00
twinaphex
302e2fdc53
Move show memory details outside of the video context driver and
...
into retroarch.c - avoid lots of code duplication
2019-09-21 07:49:33 +02:00
twinaphex
2f0a5f48aa
Corect small log string
2019-09-20 23:36:29 +02:00
twinaphex
3b057d9605
Start using STRLCAT_CONST_INCR and STRLCPY_CONST
2019-09-20 23:33:17 +02:00
twinaphex
76f4cf5cc5
Start using STRLCAT_CONST/STRLCAT_CONST_INCR/STRLCPY_CONST
2019-09-20 20:39:34 +02:00
Twinaphex
3da84396b6
Remove unused variables
2019-09-20 17:34:35 +02:00
Twinaphex
bcb7e14d0f
Merge pull request #9490 from jdgleaver/horiz-mouse-wheel-fix
...
Improve horizontal mouse wheel (tilt) navigation
2019-09-20 16:16:50 +02:00
jdgleaver
eb72a2e7d2
Improve horizontal mouse wheel (tilt) navigation
2019-09-20 14:16:21 +01:00
jdgleaver
dacf9e327a
(RGUI) Ensure display is always refreshed when pointer input is active
2019-09-20 11:04:31 +01:00
twinaphex
db624a7c99
Start cleaning up the rather messy manual assignment
2019-09-20 02:03:26 +02:00
jdgleaver
8655038601
Overhaul menu mouse/touchscreen input handling
2019-09-19 16:53:22 +01:00
twinaphex
e7eb0e2b3e
Combine two RARCH_LOGs into one
2019-09-19 09:00:05 +02:00
twinaphex
33353d5cd9
Fix C89_BUILD buildfix
2019-09-19 07:07:03 +02:00
twinaphex
4eac009c27
Buffer more before we send text to be logged to stderr/stdout
...
and the logger interface for help/features/startup
2019-09-19 05:50:26 +02:00
twinaphex
1027762db5
Remove some trivial string_is_equal calls during parsing of buttons
...
in config_file
2019-09-18 18:22:31 +02:00
twinaphex
ab515daa0c
Try to get rid of file_path_str
2019-09-18 18:12:57 +02:00
twinaphex
922680851a
(features_cpu) noticed that the buffer wasn't actually being used,
...
so it can go
2019-09-18 08:37:35 +02:00
twinaphex
ed77d46cc9
Cut down on some strlcat usage where not necessary
2019-09-18 04:58:52 +02:00
twinaphex
8fa6230426
Cleanups
2019-09-18 02:16:47 +02:00
twinaphex
b28c405377
Backport and rebase initial FPGA port that was done in 2017 (port
...
done for Z-Turn board) - has some outstanding issues such as
very slow framebuffer software rendering output that needs to
be overcome before this becomes usable - community help needed
2019-09-17 08:16:50 +02:00
twinaphex
7d58bb9799
Avoid more snprintf usage
2019-09-17 06:34:00 +02:00
Brad Parker
c7c7d0988e
initial network video driver, sends raw frames over TCP
2019-09-17 04:18:44 +02:00
twinaphex
25f232616b
input_config_get_bind_string_joyaxis - replace snprintf
2019-09-17 01:25:39 +02:00
twinaphex
b9e8e95498
use fill_pathname_join_delim at key places instead of snprintf
2019-09-16 19:58:56 +02:00
twinaphex
150f4f0f4b
More efficient way of adding delimiting characters - proper spacing
...
as well in title bar
2019-09-16 19:20:03 +02:00
twinaphex
66794d2166
Rewrite input_config_set_device_path
2019-09-16 18:41:46 +02:00
Twinaphex
753be84ae0
(Apple) Silence some warnings
2019-09-14 17:15:30 +02:00
twinaphex
27ada9b7b2
Buildfixes for --disable-menu
2019-09-14 07:24:26 +02:00
meepingsnesroms
85f46b9899
Remove unfinished translation files
2019-09-08 20:14:23 -07:00
twinaphex
dec30677d9
Should fix analog remap issues
2019-09-05 20:43:54 +02:00
jdgleaver
dc55720641
(Favourites) Fix 'remove entry' deleting wrong item
2019-08-30 15:43:17 +01:00
LazyBumHorse
00299cf283
fix unnecessarily loading shaders in main menu for good
2019-08-30 15:30:43 +02:00
twinaphex
718d65d95d
Take this out - too unsafe - fixes D3D12 driver
2019-08-29 12:30:56 +02:00
twinaphex
cb8107a154
remove video_context_driver_init_image_buffer
2019-08-29 11:26:28 +02:00
twinaphex
ca5e51f116
Remove video_context_driver_make_current
2019-08-29 11:13:17 +02:00
Twinaphex
f6092ebc27
Merge pull request #9386 from LazyBumHorse/contentless
...
fix shader loading and saving in content-less cores
2019-08-29 01:19:20 +02:00
twinaphex
d406fee72e
Remove video_context_driver_suppress_screensaver
2019-08-28 22:52:41 +02:00
twinaphex
c50cc7b010
Remove video_context_driver_show_mouse
2019-08-28 21:36:58 +02:00
twinaphex
fa3b927ece
Get rid of video_context_driver_get_proc_address
2019-08-28 21:26:43 +02:00
LazyBumHorse
e97a31a46c
fix shader loading and saving in content-less cores
2019-08-28 21:15:37 +02:00
twinaphex
88720b540e
Get rid of video_context_driver_swap_interval
2019-08-28 21:12:51 +02:00
LazyBumHorse
2c028964c9
fix video_driver_get_ident for thread wrapper
2019-08-28 09:43:22 +02:00
twinaphex
46806ff736
Hopefully finally shuts ASAN up
2019-08-28 07:55:10 +02:00
twinaphex
a602975c72
Another attempted fix
2019-08-28 07:50:51 +02:00
twinaphex
7653ced3b3
See if this finally silences the ASAN runtime errors
2019-08-28 07:44:58 +02:00
twinaphex
88dabc7260
Prevent these two runtime errors with ASAN
2019-08-28 07:37:49 +02:00
LazyBumHorse
886d538c48
implement video_shader_delay setting (in ms), which delays auto-shaders
2019-08-27 16:01:48 +02:00
twinaphex
2cad33b19e
(AI Service) Set japanese to 'ja'
2019-08-26 23:58:57 +02:00
twinaphex
59571b5aa4
Guard against aspect ratio index being out of bounds
2019-08-25 08:10:30 +02:00
twinaphex
8780541de9
(Win32) Add deferred menu context reset - menu should properly rescale now
...
when we do a Win32 window resize
2019-08-24 20:03:09 +02:00
twinaphex
42f2d0ffa4
Add private environment callback - only used by Flycast
...
(RetroArch-specific, for threaded rendering)
2019-08-24 19:25:03 +02:00
twinaphex
94e2d646be
Add Frame Time Counter settings
2019-08-24 18:18:24 +02:00
twinaphex
f8fb2bf3dc
Reset A/V counter when loading/saving a state - will be made
...
configurable through settings
2019-08-24 17:22:52 +02:00
LazyBumHorse
9b71340959
finish up shader menu changes, add 'remove presets' to Qt
2019-08-24 16:43:52 +02:00
twinaphex
b6c92d5a66
Do video driver monitor reset after fastforwarding; helps prevent
...
the building up of big frametime deviations
2019-08-24 09:17:54 +02:00
twinaphex
297f2b3050
Cover edge case - if this would return false, this would not be
...
set to false, and as a result, Load Core would not show
2019-08-24 08:15:57 +02:00
twinaphex
d492f1acaf
Hide 'Load Core' when a core is already loaded and the libretro
...
core has started running its runloop
2019-08-24 06:37:10 +02:00
Twinaphex
f7cda5f753
Merge pull request #9336 from LazyBumHorse/preset_reference
...
save unmodified auto-shaders as a reference instead of a copy
2019-08-23 03:38:04 +02:00
Barry Rowe
ccc073d506
Added in fixes for translation.
2019-08-22 18:24:26 -07:00
Twinaphex
e1260b2186
Remove unused variables
2019-08-22 23:40:14 +02:00
twinaphex
40ad1319c4
Buildfix
2019-08-22 23:31:33 +02:00
twinaphex
94308efcd8
First separator needs to be '?', then it becomes '&'
2019-08-22 23:24:44 +02:00
twinaphex
2c063cb1c9
(Translation) Add "?mode=fast" first when we set either language
...
and/or target language
2019-08-22 23:18:10 +02:00
twinaphex
fa1f98dbac
Append target_lang and source_lang to AI service URL when the
...
settings are set
2019-08-22 22:55:04 +02:00
LazyBumHorse
a882901e39
save unmodified auto-shaders as a reference instead of a copy, see:
...
- implement #reference directive for auto-shaders
- replace usual preset saving and loading functions with video_shader_read_preset() and video_shader_write_preset()
- apply saved presets automatically for console menus
- move auto-shader saving logic from menus into menu_shader.c menu_shader_manager_save_auto_preset()
- refactor menu_shader_manager_save_preset() into menu_shader_manager_save_preset_internal()
2019-08-22 16:57:28 +02:00
jdgleaver
84dac7745e
Make smooth ticker text scroll speed resolution independent
2019-08-22 11:49:05 +01:00
twinaphex
565d2351d1
Fixes hotkeys not properly working when gamepads are mapped to
...
a different logical port from their physical one
2019-08-22 02:50:17 +02:00
twinaphex
90266a2a6a
Cleanups
2019-08-21 22:48:19 +02:00
twinaphex
bd87e7fc17
Merge translation_service.c into retroarch.c
2019-08-21 22:40:47 +02:00
twinaphex
5481166156
(Vita) Buildfix
2019-08-21 08:02:56 +02:00
twinaphex
01bd4c22ad
Avoid warning
2019-08-20 23:14:16 +02:00
twinaphex
12698f561f
(Discord) Call Discord_RunCallbacks directly
2019-08-20 20:24:41 +02:00
twinaphex
b059119213
Simplify input_keys_pressed
2019-08-20 20:11:57 +02:00
twinaphex
5752ea58f3
Use button masks for menu_input_keys_pressed
2019-08-20 18:59:23 +02:00
twinaphex
c1f961b94e
Start turning the two input functions closer together
2019-08-20 18:46:01 +02:00
twinaphex
75c7b2a29a
Simplify menu_input_keys_pressed
2019-08-20 18:25:52 +02:00
twinaphex
ab5e5d3a80
Add Quick Menu -> Views ->'Show Resume/Restart/Close content'
2019-08-20 18:08:44 +02:00
twinaphex
230b4b95dc
Cleanups
2019-08-20 16:57:07 +02:00
twinaphex
72bde77ef0
Ability to set FPS update interval (new setting - fps_update_interval)
2019-08-20 03:05:52 +02:00
twinaphex
73663104b3
Add separate setting for Frontend Logging Level
2019-08-20 01:34:40 +02:00
Twinaphex
7c16b9e836
Get rid of unused variables
2019-08-18 20:51:43 +02:00
twinaphex
b13ee8485f
Start passing shader pointer to menu_shader.c functions
2019-08-18 16:59:09 +02:00
twinaphex
c963b3be6a
menu_display_toggle_reason was never used, get rid of it
2019-08-18 16:41:01 +02:00
LazyBumHorse
39c02664a8
fixes "Save Shader Preset As" dialog immediately popping up again on linux
2019-08-18 15:15:47 +02:00
twinaphex
52f8bef386
Buildfix for non-shader builds
2019-08-18 00:48:56 +02:00
LazyBumHorse
be20b9c283
implement global shader presets
2019-08-17 22:11:17 +02:00
Twinaphex
5e2e1c82c5
Merge pull request #9315 from LazyBumHorse/set-shader
...
add --set-shader and overhaul shader loading logic
2019-08-17 16:32:42 +02:00
LazyBumHorse
719555bae1
Overhaul shader loading logic, add --set-shader CLI option
2019-08-17 15:20:51 +02:00
twinaphex
c69c972942
(Menu) Cleanups
2019-08-16 15:17:33 +02:00
twinaphex
a5f6c8f94d
Cleanups
2019-08-15 17:44:02 +02:00
twinaphex
bc46b1c802
Cleanups
2019-08-15 16:17:49 +02:00
twinaphex
8db00a17af
(Menu widgets) Checks were wrong - should be correct now
2019-08-15 16:09:18 +02:00
twinaphex
edaf8eb702
menu_widgets_volume_update_and_show always returns true
2019-08-15 15:46:16 +02:00
twinaphex
6c775ef170
These functions always return true
2019-08-15 15:42:24 +02:00
twinaphex
57df6dda82
(Menu widgets) Some architectural cleanups -
...
* Don't have all these manual setters
* Don't copy over the FPS text, instead make use
of video_info->fps_text
* Boolean checks always returned true anyway, so
avoid unnecessary conditional checks
2019-08-15 15:13:07 +02:00
twinaphex
a500219d8c
Move menu_widgets_ready to retroarch.c
2019-08-15 14:56:38 +02:00
twinaphex
6c671faed6
Start preparing for menu_widgets_ready to be moved to retroarch.c
2019-08-15 14:20:51 +02:00
twinaphex
b4676e3591
Cleanups
2019-08-15 12:57:54 +02:00
twinaphex
df8a024b82
Cleanups
2019-08-15 12:30:27 +02:00
twinaphex
16ceb54557
Simplifications
2019-08-15 12:13:14 +02:00
twinaphex
b4375e3da0
Cleanups
2019-08-15 01:21:25 +02:00
twinaphex
80230a8181
Cleanups
2019-08-15 01:15:39 +02:00
twinaphex
e54e8c4a1f
Cleanups
2019-08-15 01:14:25 +02:00
twinaphex
d30b2ecaca
Merge menu_input_dialog.c into retroarch.c
2019-08-15 01:08:34 +02:00
Adrien Moulin
a545499496
Midi: fix SysEx handling
...
We need to clear the event status after each message. Otherwise, after a SysEx message the first byte of the next event will incorrectly inherit its delta_time.
This causes a delay of several seconds in nearly every MT-32 games which uses a lot of long SysEx.
2019-08-14 21:34:28 +02:00
twinaphex
0092aa84d3
Fix OSK input regression
2019-08-14 17:55:29 +02:00
Twinaphex
9271f73dd2
Merge pull request #9304 from rsn8887/master
...
Allow auto save states also in cores that support no content
2019-08-14 17:30:55 +02:00
twinaphex
295e6f8e14
Move menu_input_dialog_keyboard_display to retroarch.c
2019-08-14 16:52:26 +02:00
rsn8887
2cc84bb99e
Allow auto save states also in cores that support no content
...
as long as some content is loaded
2019-08-13 21:44:54 -05:00
twinaphex
890008491c
Cleanups
2019-08-14 02:49:54 +02:00
twinaphex
7d10c1a9ff
(menu widgets) No longer use video_driver_get_size
2019-08-13 16:47:56 +02:00
twinaphex
022b22a4cd
Pass video_driver_width and video_driver_height
...
to menu driver render callback function so that
we don't have to call video_driver_get_size anymore
2019-08-13 12:50:24 +02:00
Twinaphex
6065f71bb2
Buildfix for C89_BUILD
2019-08-12 23:07:49 +02:00
twinaphex
cf812b2e80
Revert "Prevent input_driver_poll from being called more than once per"
...
This reverts commit 15513c7752
.
2019-08-12 21:33:47 +02:00
twinaphex
3ae447420e
Cleanups
2019-08-12 19:33:50 +02:00
twinaphex
7c78e0ad1e
menu_event_kb_set no longer needed
2019-08-12 18:14:47 +02:00
twinaphex
a9002b444e
Have to put this back
2019-08-12 18:09:56 +02:00
twinaphex
f7aebf02c8
No longer need input_driver_input_state
2019-08-12 18:00:31 +02:00
twinaphex
39a6dce7da
Optimization
2019-08-12 17:51:41 +02:00
twinaphex
95505ae5c5
input_keys_pressed - use bitmasks
2019-08-12 17:48:55 +02:00
twinaphex
f117b22a46
Cleanups
2019-08-12 17:37:17 +02:00
twinaphex
b2e57db8c2
input_overlay_key_pressed - start getting rid of it
2019-08-12 17:13:29 +02:00
twinaphex
0405cf40d0
Cleanups
2019-08-12 17:09:26 +02:00
twinaphex
a4947780d9
Potential buildfix
2019-08-12 14:10:09 +02:00
twinaphex
524f202231
Turn two functions static
2019-08-12 13:04:08 +02:00
twinaphex
a45c9b6eb4
Duplicate aspect ratio code that was being ran twice
2019-08-12 12:52:40 +02:00
Twinaphex
39a876a083
(Apple OSX Metal) Define HAVE_NO_BUILTIN_ZLIB
2019-08-12 12:05:52 +02:00
twinaphex
f6d0de0ed5
Cleanups
2019-08-12 11:43:43 +02:00
twinaphex
54be49d88e
More accurate framerate OSD
2019-08-12 11:36:49 +02:00
twinaphex
302cc16b57
Cleanups
2019-08-12 10:45:16 +02:00
twinaphex
15513c7752
Prevent input_driver_poll from being called more than once per
...
frame - would only regularly happen when 'pause when menu activated'
was turned off and we went to the menu, and maybe a slight few
times inside specific cores, but nothing major
2019-08-12 10:27:57 +02:00
twinaphex
3c9a3de8bc
Refactor runloop_check_state
2019-08-11 20:04:41 +02:00
twinaphex
ca3a80091a
Cleanup runloop_iterate
...
NOTE/CHECK: Hopefully wiiu is unaffected by the change
in sleeping
2019-08-11 19:39:48 +02:00
twinaphex
e4e86d027e
Don't call runloop_get_system_info from within retroarch.c
2019-08-11 19:21:44 +02:00
twinaphex
8647bbc36f
Attempt to fix WiiU build
2019-08-11 14:48:32 +02:00
twinaphex
ab293b9900
Add HAVE_THREADS ifdefs
2019-08-11 12:53:21 +02:00
twinaphex
2b6613c137
Accidentally removed this
2019-08-10 20:09:33 +02:00
twinaphex
a0f9f47e89
Cleanup savestate code
2019-08-10 20:06:38 +02:00
twinaphex
8ac794d4af
Simplify fastforwarding code
2019-08-10 19:59:33 +02:00
twinaphex
9b4fe343f3
Fix --disable-menu
2019-08-10 17:47:09 +02:00
twinaphex
baf8c71545
Cleanups
2019-08-10 14:23:00 +02:00
twinaphex
41c6345381
Cleanups
2019-08-10 14:14:20 +02:00
twinaphex
e3ba467932
Refactor rarch_core_runtime_tick
2019-08-10 14:12:21 +02:00
twinaphex
23456bfc94
Create update_savestate_slot
2019-08-10 13:43:23 +02:00
twinaphex
602fd3b520
Call set_nonblocking state with false argument directly
2019-08-10 13:35:07 +02:00
twinaphex
c1b3869db5
Buildfix
2019-08-10 13:21:36 +02:00
twinaphex
7505251b40
Cleanups
2019-08-10 13:16:15 +02:00
twinaphex
562ea77613
menu_event_kb_set else path is being called every frame, so at
...
least make it fast
2019-08-10 07:13:21 +02:00
twinaphex
1de946a1b7
Optimize fastforwarding runtime check - menu widgets function
...
was being called every frame unnecessarily
2019-08-10 06:25:50 +02:00
twinaphex
60932b18ad
All these functions can be made static
2019-08-10 04:52:33 +02:00
twinaphex
5cac6dddfb
See if this is what is behind the performance regression
2019-08-10 02:21:30 +02:00
twinaphex
7c9de7ec0f
Turn rarch_core_runtime_tick into static function
2019-08-09 22:02:29 +02:00
twinaphex
7900faa419
Move menu_display_libretro to retroarch.c
2019-08-09 21:59:58 +02:00
twinaphex
e51b93993b
Move menu_driver_is_binding_state to retroarch.c
2019-08-09 21:41:10 +02:00
twinaphex
b0f088d5fd
Move menu_driver_is_alive to retroarch.c
2019-08-09 21:31:51 +02:00
twinaphex
3ff237e278
Cleanups
2019-08-09 16:26:58 +02:00
twinaphex
a643f9e07e
Refactor/reimplement mapper
2019-08-09 16:17:30 +02:00
twinaphex
05187f1a8c
Cleanups
2019-08-09 13:28:40 +02:00
twinaphex
4d860c4d16
Move menu_driver_render to retroarch.c
2019-08-09 12:54:08 +02:00
twinaphex
881ef63b63
Cleanups
2019-08-09 11:43:35 +02:00
twinaphex
1cd281fb37
Cleanups when compiling with --disable-networking
2019-08-04 08:32:18 +02:00
twinaphex
7f59161156
Cleanup
2019-08-03 09:49:48 +02:00
twinaphex
7508cd5a73
Cleanups
2019-08-03 09:37:22 +02:00
twinaphex
f111ad893b
Cleanup
2019-08-03 08:45:50 +02:00
twinaphex
c82693037f
Cleanups
2019-08-02 21:15:54 +02:00
twinaphex
e04e8948f5
Combine two RARCH_LOGs
2019-08-02 21:09:05 +02:00
Twinaphex
55202294e0
Merge pull request #9108 from p-sam/libnx-audren-driver
...
(Switch) Libnx audren based audio driver
2019-08-02 19:10:21 +02:00
p-sam
badda24c12
(Switch) audren based audio drivers (libnx only)
2019-08-02 17:01:36 +00:00
twinaphex
70e54b2763
Get rid of unnecessary functions
2019-08-02 18:25:21 +02:00
twinaphex
9517f69a0a
Cleanup core_option_manager_flush
2019-08-02 18:17:38 +02:00
twinaphex
7a2d09b4bf
Cleanups/rewrites
2019-08-02 17:41:26 +02:00
jdgleaver
2fc8f5b0bf
Add option to save core options per-core
2019-08-02 15:44:51 +01:00
jdgleaver
9617856c5c
Remove favourites init/deinit from command event, and replace with seperate functions in retroarch.h/.c
2019-07-31 11:32:19 +01:00
jdgleaver
5220dc9084
Add independent 'favourites' playlist size setting
2019-07-30 17:13:04 +01:00
twinaphex
01d0ed5c3e
config_load_remap - cleanups
2019-07-30 03:05:12 +02:00
twinaphex
b5c39a6e5e
Cleanup input_config_get_device_count
2019-07-29 20:10:42 +02:00
twinaphex
68a9fe0db9
Optimize GET_VARIABLE
2019-07-29 09:27:16 +02:00
twinaphex
d28cadef01
Cleanups; turn more functions into static functions
2019-07-27 04:13:33 +02:00
twinaphex
65b4c2595e
Update set keyboard mapping code for input driver
2019-07-27 02:21:24 +02:00
twinaphex
d80dee882f
Remove two RARCH_LOG lines
2019-07-27 00:42:08 +02:00
twinaphex
b5d11db53b
(XAudio2) Device index selection now works for old
...
pre-XAudio 2.8 codepath
2019-07-26 17:16:24 +02:00
twinaphex
453cc3dcbd
(video context driver) has_Windowed can be degraded to a simple
...
boolean variable
2019-07-26 06:23:20 +02:00
Twinaphex
3f366ae4ab
Cleanup unused variables
2019-07-25 00:49:44 +02:00
Twinaphex
52ef1af14e
Merge pull request #9137 from LazyBumHorse/realpath
...
replace realpath() by custom code which does not resolve symlinks
2019-07-24 22:20:38 +02:00
jdgleaver
92ae369045
When saving core option overrides, only include settings for the current core
2019-07-24 17:07:58 +01:00
twinaphex
69104602e9
Fix --disable-overlay
2019-07-24 17:58:47 +02:00
twinaphex
c03f8bfcbe
Cleanups
2019-07-24 17:01:26 +02:00
twinaphex
d4f7a4a17a
Cleanups
2019-07-24 16:51:23 +02:00
twinaphex
741a119574
Cleanups
2019-07-24 16:41:45 +02:00
twinaphex
d36f6d8a1d
Turn more functions static
2019-07-24 15:02:40 +02:00
OsirizX
37595a9ef1
Fix for Remote RetroPad input
...
This commit fixes processing of Remote RetroPad input. None of the remote inputs are being executed both in menu and in game. This is due to the way current key binds are being detected which block processing of any remote input.
It's been tested using Remote RetroPad core on Android including digital dpad and analog control input.
2019-07-24 01:15:13 -07:00
twinaphex
879debb60f
(retroarch.c) Rearrange variables
2019-07-23 23:50:13 +02:00
twinaphex
fb91df562c
Cleanups
2019-07-22 21:25:43 +02:00
twinaphex
45d94efdf4
Cleanups
2019-07-22 21:22:52 +02:00
twinaphex
12823821ff
CMD_EVENT_AUDIO_SET_NONBLOCKING_STATE - no longer necessary
2019-07-22 21:10:42 +02:00
twinaphex
5eb5930838
Cleanups
2019-07-22 20:31:53 +02:00
twinaphex
2e76deb3a0
Cleanups
2019-07-22 19:58:48 +02:00
twinaphex
36a48cd7f9
Turn rarch_environment_cb into static function
2019-07-22 19:44:42 +02:00
twinaphex
12cc7b3213
Turn function static
2019-07-22 19:10:27 +02:00
twinaphex
cedf3dfe8e
Cleanups
2019-07-22 19:06:31 +02:00
twinaphex
17c399eca0
Cleanups
2019-07-22 18:30:43 +02:00
twinaphex
d27cdf90e2
The intent of command_event became muddied over time - it
...
should only be used for user-facing operations, not anything internal
to RetroArch that we don't want exposed to the outside through
bindable commands
2019-07-22 18:10:16 +02:00
twinaphex
ee4bee2e7f
Don't go through config_get_ptr
2019-07-22 16:54:45 +02:00
twinaphex
8438c9650a
Last file to merge into retroarch.c - from here, we
...
can start refactoring things to split things off into tasks
that are not crucial to the main runloop
2019-07-22 16:46:33 +02:00
twinaphex
7d3fa9a84d
Fix some includes
2019-07-22 15:42:35 +02:00
LazyBumHorse
6285c05948
add resolve_symlinks parameter to path_resolve_realpath() and cleanup playlist_resolve_path()
2019-07-22 13:44:35 +02:00
orbea
e13ec54dc6
Fix --disable-overlay.
2019-07-21 10:26:42 -07:00
twinaphex
9b4c50a017
Cleanups
2019-07-21 14:47:24 +02:00
twinaphex
9bde8ca3e5
Remove unused functions
2019-07-21 14:34:33 +02:00
twinaphex
b6b22a9a32
More shader refactors - make sure we can compile entirely
...
without shader support if HAVE_CG, HAVE_GLSL, HAVE_SLANG
and HAVE_HLSL are all not defined
2019-07-21 00:34:07 +02:00
twinaphex
1e08b2a5de
Fixes keyboard processing regression
2019-07-20 20:12:41 +02:00
twinaphex
691dbb40a8
driver_update_system_av_info - refactor
2019-07-20 18:32:35 +02:00
twinaphex
a0060182e3
Add more ifdefs covering HAVE_THREADS and HAVE_AUDIOMIXER
2019-07-20 16:09:39 +02:00
twinaphex
9868b4acdb
Style nits
2019-07-20 15:43:12 +02:00
twinaphex
7fe0662918
Cleanups
2019-07-20 12:51:52 +02:00
twinaphex
d905986a52
Rename functions - change rarch_ prefix to retroarch_
2019-07-20 12:43:43 +02:00
twinaphex
16dde76a68
Cleanups
2019-07-20 12:34:49 +02:00
twinaphex
430fc16f61
Cleanups
2019-07-20 12:28:50 +02:00
twinaphex
65a777855f
Cleanups
2019-07-20 00:34:47 +02:00
twinaphex
f787e77c25
Revert "Dehardcode program name string"
...
This reverts commit 11291cc703
.
2019-07-19 19:39:51 +02:00