Commit Graph

2943 Commits

Author SHA1 Message Date
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
twinaphex 26c6c34817 video_frame_info - remove more unused settings 2020-05-19 16:51:05 +02:00
twinaphex 3f98cbc52d Get rid of some unneeded variables in video_frame_info 2020-05-19 16:42:56 +02:00
Jamiras 6946f878ef disable hardcore when cheats are enabled 2020-05-16 08:01:24 -06:00
Joan Coll Cerdán fe42f6bb73 Changed the order of shader preset directories.
The Menu Config directory now takes precedence over the Video Shader
directory for the storage of shader preset overrides. With this, all
user overrides are grouped by default under the same path.
2020-05-13 19:54:08 +02:00
Joan Coll Cerdán f1f248dd11 Add fallback directories to shader presets.
Improves the management of shader presets by using the Menu Config directory
and the directory of the configuration file as alternate fallback directories
whenever the Video Shader directory is not writable.
2020-05-13 19:54:08 +02:00
Vladimir Serbinenko 7b351da006 Fix crash with null audio driver 2020-05-12 03:09:38 +02:00
twinaphex 6a4a522244 Cut down on some code duplication and turn
retroarch_validate_game_options static
2020-05-11 17:19:55 +02:00
twinaphex 81a623c2b6 Style nits 2020-05-11 16:49:31 +02:00
Twinaphex 2f3ef75bf6 Remove some unused variables and some style nits 2020-05-10 01:10:45 +02:00
twinaphex 3ad4b057f9 Go back to 1.8.4 netcode 2020-05-10 01:02:47 +02:00
barbudreadmon 7a3ddcd77d
(glcore) switch to glcore video driver when requested
fix #10486
2020-05-09 17:15:45 +02:00
jdgleaver 702bc18128 (3DS) Disable video filter if upscaled resolution exceeds hardware limits 2020-05-04 11:52:53 +01:00
jdgleaver 3f2ba2e791 Add option to mute audio when fast-forwarding 2020-05-01 12:19:31 +01:00
Karl Forshaw 5ed60cde04 Advise against using -s and -S variables on the command line.
Signed-off-by: Karl Forshaw <karlforshaw@gmail.com>
2020-04-29 13:39:12 +01:00
Autechre 39aae2872d
Merge pull request #10525 from libretro/set_gamepad_bitwise_fix
Added small fix to set_gamepad_input_override bit logic.
2020-04-27 20:28:54 +02:00
Barry Rowe d87fa1799e Added small fix to set_gamepad_input_override bit logic. 2020-04-27 10:16:11 -07:00
jdgleaver 9eb8472805 Only write config files to disk when parameters change 2020-04-27 17:06:35 +01:00
maksun b92ac7d439
[Retroarch] Tiny issue when displaying version
Just two lines to fix #10445
2020-04-23 19:48:51 +02:00
jdgleaver fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
jdgleaver 6ef5fa1aa5 More build fixes 2020-04-17 17:08:12 +01:00
jdgleaver ddc860d4b0 Build fixes 2020-04-17 16:42:37 +01:00
twinaphex 352519c91e Another builfdix 2020-04-17 16:32:10 +02:00
twinaphex f3b82dc998 Buildfix 2020-04-17 16:29:23 +02:00
twinaphex 9f3a2db44e Merge branch 'master' of https://github.com/libretro/RetroArch 2020-04-17 16:24:39 +02:00
Autechre 018a0baed6
Merge pull request #10401 from libretro/accessibility_menu_fixes
Accessibility menu fixes
2020-04-17 03:19:17 +02:00
jdgleaver 233456df47 Add optional save state compression 2020-04-15 15:48:41 +01:00
Barry Rowe 289be872f3 Added in auto-translate support, fixes for ozone and glui accessibility, and support for nvda and SAPI narration. 2020-04-13 17:46:08 -07:00
jdgleaver 223cae66c1 (Playlist Management) Add optional per-playlist alphabetical sorting 2020-04-10 17:07:49 +01:00
twinaphex a9154373fc Merge branch 'master' of https://github.com/libretro/RetroArch 2020-04-02 02:13:12 +02:00
Vladimir Serbinenko 2fb7ba22e5 PSL1GHT port
Working:

* packaging
* running cores
* switching cores
* gamepad including axis
* rgui
* audio
* video

Not working:

* OSD
* menus other than rgui
* shaders
* Graphical acceleration
* Proper signing
* ODE build
* rumble
* keyboard
* mouse

Not tested:

* A lot
2020-03-30 05:39:22 +02:00
twinaphex 92c472c227 Merge branch 'master' of https://github.com/libretro/RetroArch 2020-03-29 06:01:31 +02:00
twinaphex 4589fde775 Simplify video_context_driver_translate_aspect 2020-03-28 05:44:58 +01:00
twinaphex 19c68fad43 Take out cb_update_window_title and cb_get_metrics 2020-03-28 05:36:31 +01:00
valadaa48 6e4228b054 Add drm_go2_ctx for odroidgo2
- Revert odroidgo changes to drm_ctx
- Introduce new drm_go2_ctx specifically for odroidgo2 (and libgo2)
- Add hw_scaling option to mitigate builtin gl scaling/filtering and to
use libgo2 and rga's hw scaling and bicubic filtering via librga. The
quality of the image is improved by this and should be a bit faster.

Credits to CrashOverride for the initial libgo2 port and
commit to RA. And to natinusala for the initial cleanup/commit in the original
drm_ctx driver. NOirBRight for finding this setting and testing.
2020-03-28 03:30:28 +00:00
valadaa48 53fffbd670 Add "oga" graphics driver for odroid go advance
libgo2 improvements

- Expose rga scale mode as param for future use
- Cleanup whitespace
- Add option to disable managed surfaces and allow direct posting to drm
  driver

oga graphics driver

- Uses direct framebuffers in libgo2
- Bitmap font only supported for now
- Uses built-in bicubic filtering: graphics quality better than gl + bilinear
- Support for rotation
2020-03-22 23:35:22 -04:00
natinusala 997136c029 gfx_widgets: move libretro message widget into its own file 2020-03-17 17:16:21 +01:00
natinusala 7246d0d053 gfx_widgets: move generic message to its own file 2020-03-13 17:13:56 +01:00
twinaphex 7986561598 Rename menu widgets to display widgets 2020-03-13 03:58:33 +01:00
natinusala 375621394c gfx_widgets: move volume into its own file 2020-03-12 09:31:05 +01:00
jdgleaver 086c68bca7 Enable widget persistence across drivers_init()/driver_uninit() events 2020-03-11 11:47:13 +00:00
Twinaphex 2a0833378d
Merge pull request #10239 from parport0/master
(Menu) Add Menu Scroll Acceleration option
2020-03-10 21:33:51 +01:00
jdgleaver 3b3eaa1e24 Ensure proper detection of 'threaded video' state when calling 'drivers_init()' 2020-03-10 12:17:38 +00:00
parport0 1e315bb61b Rename PSP-style scroll to Menu scroll acceleration 2020-03-10 13:10:09 +01:00
twinaphex f4c5036c3c Get rid of video_frame_info dep for fonts 2020-03-10 03:24:59 +01:00
parport0 fb5f557d91 Add PSP-style menu scroll option 2020-03-09 14:34:51 +01:00
twinaphex 7c7eeff0fb Move display_server code into retroarch.c 2020-03-08 18:48:15 +01:00
Twinaphex 681443cc45
Merge pull request #10228 from phcoder/audiocb
Return failure on set_audio_callback without threads
2020-03-07 19:58:20 +01:00
Vladimir Serbinenko 000eaf712a Return failure on set_audio_callback without threads
Current code returns success even though it's actually a failure
2020-03-07 18:53:06 +01:00
twinaphex 4598f186a8 Get rid of video_frame_info dependency 2020-03-07 00:39:06 +01:00
twinaphex 4d7b627421 Get rid of video_info dependency for set_video_mode 2020-03-06 22:58:12 +01:00
twinaphex e20151a048 Get rid of video_info struct for swap_buffers too 2020-03-06 22:29:51 +01:00
twinaphex 68664fdf1d update_title - we don't need video_info 2020-03-06 22:11:44 +01:00
twinaphex 8b43e1b4ef Can get rid of IS_SHUTDOWN 2020-03-06 20:32:22 +01:00
twinaphex 1f553ac1c4 Get rid of menu_shader_set_modified - instead, add a single
'modified' variable to video_shader struct
2020-03-06 17:05:20 +01:00
twinaphex bdc999ca45 Settings cleanups 2020-03-06 03:53:10 +01:00
twinaphex 18a90d81d2 Setting needs to be re-set again 2020-03-06 02:28:37 +01:00
twinaphex 6ad38b4140 Revert "Try to avoid concurrent data access to"
This reverts commit 8fd43c0927.
2020-03-05 22:21:13 +01:00
twinaphex 8fd43c0927 Try to avoid concurrent data access to
video_driver_width/video_driver_height
2020-03-05 22:18:59 +01:00
Twinaphex 1c302f26b3 Prevent warning 2020-03-05 15:20:16 +01:00
jdgleaver 35977efe43 Prevent improper display of (old style) OSD text when widgets are enabled 2020-03-05 12:28:38 +00:00
twinaphex d592959be8 When settings struct gets modified, go through macros to set
the modified flag
2020-03-05 13:00:43 +01:00
twinaphex f87bd0c190 Settings cleanups - make sure things that modify the settings
struct go through the wrapper function so that the 'modified'
bit gets set
2020-03-05 12:22:58 +01:00
twinaphex 8bad0b6b7e Cleanup some comments 2020-03-04 23:22:51 +01:00
twinaphex a03d4485b0 Cleanup retroarch_validate_per_core_options 2020-03-04 22:41:58 +01:00
twinaphex c0e088ca07 Add TODO/FIXME 2020-03-04 22:30:17 +01:00
twinaphex bea4f8aad3 (menu_dialog.c) Cleanups 2020-03-04 22:21:18 +01:00
twinaphex 32e4aea068 Start making the other code safe that is dependent on menu driver
ident checking
2020-03-04 20:47:39 +01:00
jdgleaver 29f8189d0e Add independent widget scale override settings for fullscreen/windowed modes 2020-03-04 17:10:49 +00:00
twinaphex 09df109531 Silence warning 2020-03-03 00:53:43 +01:00
twinaphex b99501d5d7 Simplify netplay_driver_ctl 2020-03-01 18:22:58 +01:00
twinaphex 0c1568c4ab Merge netplay_frontend.c into retroarch.c -
This should be the last file we have to roll into retroarch.c
2020-03-01 18:02:55 +01:00
twinaphex 45b02df36b Put HAVE_NETWORKING ifdefs around this code 2020-03-01 17:41:46 +01:00
twinaphex 81ab6d575a Cleanups 2020-02-29 18:06:06 +01:00
twinaphex 0524d4ae49 (retroarch.c) Settings cleanups 2020-02-29 17:18:25 +01:00
twinaphex 63b7d74272 Cut down get_time_usec calls - pass current_time around instead 2020-02-29 16:52:56 +01:00
twinaphex b1fa971d35 Do check outside of rarch_perf_log 2020-02-29 08:05:49 +01:00
twinaphex 160d90f22a (performance counters) Get rid of other duplicate functions 2020-02-29 08:00:38 +01:00
twinaphex add0cedc48 * Reduce the amount of cpu_features_get_time_usec calls
* Put code behind menu ifdefs
2020-02-29 07:41:05 +01:00
twinaphex 55a1837494 menu_input_driver_toggle_on - turn function static 2020-02-27 15:34:47 +01:00
twinaphex 765f8d4c8c Cleanup menu_keys_pressed 2020-02-27 10:03:21 +01:00
twinaphex 602623dc50 Remove RARCH_CTL_CORE_OPTIONS_INTL_INIT 2020-02-27 08:51:03 +01:00
twinaphex fb223ac377 Refactor input_keys_pressed 2020-02-27 08:08:38 +01:00
twinaphex 26b3ccf2e5 Don't pass joypad_info by value 2020-02-27 07:33:14 +01:00
twinaphex b23863ae85 Reduce more cpu_features_get_time_usec calls 2020-02-26 08:17:51 +01:00
twinaphex d19dd12b30 Start calling cpu_features_get_time_usec less per frame iteration 2020-02-26 08:09:20 +01:00
twinaphex 795801b1f5 Reduce amount of calls to input_event_get_osk_ptr 2020-02-26 05:58:11 +01:00
twinaphex 01a65fa5ba Rename menu_osk.c to input_osk.c 2020-02-26 05:49:23 +01:00
twinaphex a7e4bfe479 Cleanups 2020-02-25 08:11:45 +01:00
twinaphex 8ae08cf23d (Gfx widgets) Put AI service overlay code behind HAVE_TRANSLATE
ifdefs
2020-02-23 11:03:38 +01:00
twinaphex 391a02fe45 Cleanups 2020-02-21 06:40:00 +01:00
twinaphex 2ec6d189ff Cleanups 2020-02-21 06:23:49 +01:00
twinaphex 23d521935f Cleanups 2020-02-21 03:31:04 +01:00
twinaphex 7f2d8742c2 Cleanups 2020-02-18 15:30:47 +01:00
twinaphex c1a5bf944a Cleanups 2020-02-18 13:26:43 +01:00
twinaphex 4224900f47 Fix memory leak 2020-02-18 02:02:22 +01:00
twinaphex 898044933a (MSVC 2005) Add HAVE_GFX_WIDGETS 2020-02-17 22:23:33 +01:00
twinaphex f4dd0f27ed MSVC2010 buildfix 2020-02-17 22:19:22 +01:00
twinaphex e3af337a78 Buildfix 2020-02-17 21:48:15 +01:00
twinaphex ebc335319e Cleanups 2020-02-17 21:47:09 +01:00
twinaphex 7c7d0f596a HAVE_MENU_WIDGETS now decoupled from HAVE_MENU 2020-02-17 21:28:42 +01:00
Twinaphex f7675bb48a
Merge pull request #10131 from jdgleaver/double-input-fix
Prevent double input when using 'return' key (hardware) to close on-screen keyboard
2020-02-17 16:43:26 +01:00
twinaphex 10d09eaed3 gfx_widgets_init - move content of error path to retroarch.c 2020-02-17 16:42:17 +01:00
twinaphex 4d148ff078 Roll gfx_widgets_context_destroy into gfx_widgets_free 2020-02-17 16:35:19 +01:00
jdgleaver b10d4e9412 Prevent double input when using 'return' key (hardware) to close on-screen keyboard 2020-02-17 15:13:18 +00:00
twinaphex 166c0c2311 Cleanups 2020-02-17 16:07:37 +01:00
twinaphex b00bf17153 Move menu_widgets to gfx/ and call it gfx_widgets 2020-02-17 01:54:07 +01:00
twinaphex b229f267e4 Rename menu_widgets to gfx_widgets 2020-02-17 01:43:40 +01:00
twinaphex 633277ddd0 Refactor menu_widgets_iterate 2020-02-16 23:38:24 +01:00
twinaphex 5d5200d20b (Menu widgets) Refactor 2020-02-16 23:34:49 +01:00
Twinaphex 481e970424
Merge pull request #10126 from hcvcastro/master
avoid crash when running retroarch
2020-02-16 22:27:01 +01:00
twinaphex ec302bc4fc video_set_nonblock_state - remove settings dependency 2020-02-16 22:26:07 +01:00
twinaphex 47af95469a (font_driver.c) Remove configuration.h dependency 2020-02-16 21:59:03 +01:00
Henry Castro 4ac25e09ce avoid crash when running retroarch
Avoid NULL deref when running in GNU/Linux Debian
2020-02-16 16:52:07 -04:00
twinaphex 26dea23b5d Add DEBUG ifdefs 2020-02-16 20:21:54 +01:00
twinaphex e7149effa7 (Menu widgets) Add HAVE_CHEEVOS ifdefs
(retroarch.c) command_reply is now still used regardless of HAVE_CHEEVOS
being defined or not
2020-02-16 18:11:50 +01:00
twinaphex bb2251a7b2 (display server) Cleanup 2020-02-16 17:34:26 +01:00
twinaphex 2f525187a1 (gfx_display.c) Get rid of more header includes 2020-02-16 17:18:13 +01:00
twinaphex b7ced5763b Get rid of header include 2020-02-16 16:54:58 +01:00
twinaphex 9a6ab81739 MOve gfx_display and gfx_animation to gfx/ 2020-02-16 15:26:58 +01:00
twinaphex c71469c715 Rename menu_display to gfx_display 2020-02-16 15:10:07 +01:00
twinaphex fc9edda0ef Turn menu_animation.c into gfx_animation.c 2020-02-16 14:01:34 +01:00
twinaphex 084bad5aaa Every menu driver can set its own callback 2020-02-16 13:40:18 +01:00
twinaphex 45a012eb71 Cleanups 2020-02-15 17:25:20 +01:00
twinaphex 980058ea4c Cleanup dir_init_shader 2020-02-15 15:43:26 +01:00
Twinaphex 1c031466fc
Merge pull request #9513 from guoyunhe/translation-update-script
Add translation update scripts to integrate with localization platforms
2020-02-15 02:39:31 +01:00
twinaphex d86eb46f15 Cleanups 2020-02-14 21:53:45 +01:00
Guo Yunhe 1b395e664f
Merge branch 'master' into translation-update-script 2020-02-14 21:06:03 +02:00
Twinaphex 136163ba4f
Merge pull request #10114 from jdgleaver/widget-scaling
(Menu Widgets) Add scaling
2020-02-14 18:53:43 +01:00
jdgleaver 23c9b86f64 (Menu Widgets) Enable scaling of widgets independently from menu scale 2020-02-14 17:10:39 +00:00
twinaphex 0278e78989 Replace strcmp with string_is_equal 2020-02-14 16:46:09 +01:00
twinaphex 3b977c8747 Cleanups 2020-02-14 16:32:31 +01:00
twinaphex 369348ebaf (Managers) Get rid of settings_t dependencies 2020-02-14 14:24:38 +01:00
twinaphex 3b2a3c1277 (led_driver) Take out settings_t dependency
(menu cbs sublabel) Add HAVE_MATERIALUI ifdefs
2020-02-14 14:05:35 +01:00
twinaphex de604a79ab dir_list_new_special - no more dependency on settings_t 2020-02-14 12:12:59 +01:00
twinaphex 2d274f1369 Move accessibility features to platform frontend driver 2020-02-14 00:17:55 +01:00
twinaphex 4467f811e0 ui_companion_driver_toggle - turn into static function 2020-02-13 22:33:09 +01:00
twinaphex 950f6bb752 (record_ffmpeg) No more settings_t dependency 2020-02-13 21:48:52 +01:00
twinaphex bf35c1faf5 Cleanup 2020-02-13 18:42:11 +01:00
jdgleaver e8a2a39d72 (Menu Widgets) Add scaling 2020-02-13 17:28:32 +00:00
twinaphex 7090de541a - Merge runahead/mylist.c into retroarch.c
- General cleanups
2020-02-13 17:26:11 +01:00
twinaphex b004202cbf Revert "Reduce dependency on settings in menu_widgets.c"
This reverts commit ec53a400a7.
2020-02-13 14:11:52 +01:00
twinaphex b7a17442d9 (menu_shader.c) Remove configuration.h dependency 2020-02-13 02:04:35 +01:00
twinaphex e93244e0cb Cleanups 2020-02-12 17:26:54 +01:00
twinaphex ec53a400a7 Reduce dependency on settings in menu_widgets.c 2020-02-12 17:06:53 +01:00
twinaphex bb0840956f (menu_osk) Cleanup - take out configuration.h dependencies 2020-02-12 16:45:50 +01:00
twinaphex dd01ae8ebc menu_animation.c - no more dependency on configuration.h 2020-02-12 16:31:15 +01:00
twinaphex bc5349061f Missing prototype 2020-02-10 20:39:53 +01:00
twinaphex 70e3ddb224 Cleanups 2020-02-10 17:19:49 +01:00
twinaphex 1fafdb2843 Style nits 2020-02-10 13:18:27 +01:00
twinaphex c142ee19ba Cleanups 2020-02-10 13:12:26 +01:00
twinaphex 0c6bb6660a Cleanups 2020-02-10 11:49:50 +01:00
Guo Yunhe a4bb8f130b
Merge branch 'master' into translation-update-script 2020-02-07 10:59:36 +02:00
twinaphex dce610747b Update audio resampler 2020-02-07 07:53:23 +01:00
eadmaster ed0a624b12
added GET_CONFIG_PARAM and SHOW_MSG network commands 2020-02-04 08:57:45 +01:00
twinaphex 3990254a7c Cleanups 2020-02-04 05:54:00 +01:00
twinaphex 2c2ab2a7b9 Revert "Cleanups"
This reverts commit 110dda6e48.
2020-02-04 04:49:25 +01:00
twinaphex 309dbacb67 Cleanup 2020-02-04 03:11:57 +01:00
twinaphex 110dda6e48 Cleanups 2020-02-04 03:10:58 +01:00
twinaphex 58457ef16c Cleanups 2020-02-04 02:57:16 +01:00
twinaphex 55e7c16dea Cleanups 2020-02-04 02:50:12 +01:00
twinaphex 51bc64559b Revert "(Config file) Don't save 'nul' entries in config file anymore -"
This reverts commit 4c6d46137c.
2020-02-04 01:02:40 +01:00
twinaphex 4c6d46137c (Config file) Don't save 'nul' entries in config file anymore -
config file size goes from 100KB to 20KB
2020-02-04 00:05:11 +01:00
twinaphex 712910dec0 Cleanups 2020-02-03 22:05:11 +01:00
twinaphex 8999235373 Cleanups 2020-02-03 21:45:55 +01:00
twinaphex 8c2fe0a9ae Cleanup 2020-02-03 21:17:17 +01:00
twinaphex e5b236898f Cleanup 2020-02-03 07:22:30 +01:00
twinaphex 6b0a62d6ff Null video driver should work now 2020-02-03 06:49:59 +01:00
twinaphex 5ceb73c1cf More casts 2020-02-03 00:29:34 +01:00
twinaphex 5f631b3499 Cast this 2020-02-03 00:24:24 +01:00
twinaphex bcfa6d7e0e Cleanup 2020-02-02 23:45:11 +01:00
twinaphex 2c37fb1f5e Add HAVE_CONFIGFILE ifdefs 2020-02-02 23:41:17 +01:00
twinaphex e0fdd8d39e Add back HAVE_CONFIGFILE ifdef - will strip out remaps and overrides
support as well
2020-02-02 21:27:38 +01:00
twinaphex cb48ae6989 Updates 2020-02-02 17:37:16 +01:00
twinaphex 564a4758de Cleanups 2020-02-02 03:45:42 +01:00
twinaphex 5bb084c32b Cleanups 2020-02-02 03:00:51 +01:00
twinaphex 97beb90b8f Remove unused RARCH_CTL_IS_BLOCK_CONFIG_READ 2020-02-02 02:26:54 +01:00
twinaphex 8eca1a0459 Refactor this 2020-02-02 02:16:19 +01:00
twinaphex 6b99e07043 Can remove retroarch_get_launch_arguments function now 2020-02-01 17:46:01 +01:00
twinaphex 85d64602ff Move retroarch_get_launch_arguments() function call outside
of frontend driver - should be called by Salamander too which
has no conception of RetroArch launch arguments
2020-02-01 17:42:18 +01:00
twinaphex e5ffeff36e Turn two more functions static 2020-02-01 17:24:27 +01:00
twinaphex bece92abb2 Turn command_set_shader private 2020-02-01 17:17:36 +01:00
twinaphex 64c515bac4 Turn while (true) into for (;;) for easier MSVC backwards compatibility 2020-02-01 04:15:22 +01:00
twinaphex ff6d79b2cc Get rid of more RARCH_CTL_ enums 2020-02-01 03:32:24 +01:00
twinaphex 96018412c0 Cleanups 2020-02-01 03:27:58 +01:00
twinaphex 2db0d1f518 Cleanups 2020-02-01 01:50:01 +01:00
twinaphex f0e889b552 Change prototype of video_driver_set_size 2020-01-31 15:06:50 +01:00
twinaphex 12da79730f Merge runahead/mem_util.c into retroarch.c 2020-01-31 02:32:49 +01:00
twinaphex 3fc8aa7071 Cleanup 2020-01-30 22:03:49 +01:00
twinaphex 8c76e82e2f Simplify copy_core_to_temp_file 2020-01-30 21:55:38 +01:00
twinaphex 5ef559f6d8 Simplify copy_core_to_temp_file 2020-01-30 21:45:43 +01:00
twinaphex 0421d463f8 JUst use strdup instead of strcpy_alloc 2020-01-30 21:26:54 +01:00
twinaphex bb3e7fad66 - Make strcpy_alloc a static function of mem_util.c
- Make sure we avoid strcpy as much as possible - preferring
to use strlcpy instead
2020-01-30 20:16:20 +01:00
twinaphex d7c2eba4fd Simplify get_temp_directory_alloc 2020-01-30 20:05:44 +01:00
twinaphex 5d428d471c Move logging code over to verbosity.c 2020-01-30 19:22:57 +01:00
twinaphex a934e13309 Move variables into function 2020-01-30 19:13:17 +01:00
twinaphex d631da7d11 Start taking settings dependencies out of rarch_log_file_init
function
2020-01-30 19:04:05 +01:00
twinaphex a034909ae9 Cleanups 2020-01-30 16:35:59 +01:00
twinaphex f785e4b045 Replace while (1) with for (;;) - avoids MSVC warnings 2020-01-30 16:15:52 +01:00
twinaphex 8870632918 Get rid of unused RARCH_CTL_SET_FRAME_TIME_LAST 2020-01-30 04:39:22 +01:00
twinaphex fe98aab910 Buildfix 2020-01-29 14:17:39 +01:00
twinaphex 260be59c9e C89_BUILD buildfix 2020-01-29 13:24:11 +01:00
twinaphex 2688805872 (retroarch.c) move variables to top 2020-01-29 03:48:09 +01:00
twinaphex ed84fd73a3 Cleanups 2020-01-29 03:46:25 +01:00
Twinaphex 255790b664
Merge pull request #10073 from eadmaster/patch-1
added GET_STATUS network command
2020-01-28 23:57:01 +01:00
eadmaster 491c0457a6
added detection of paused state 2020-01-28 21:40:56 +01:00
eadmaster 7e7429cadd
fixed comments style 2020-01-27 23:35:11 +01:00
twinaphex 4d36f0d356 Remove rarch_get_cpu_architecture_string - don't have two
functions that do more or less the same thing
2020-01-27 22:51:20 +01:00
eadmaster 7867b09a0e
added GET_STATUS network command (#9483)
will return a string with the name of the current core running, the content name and crc32
2020-01-27 20:10:35 +01:00
twinaphex 17cdbc305c Cleanups 2020-01-27 16:03:30 +01:00
twinaphex 571eafd149 Get rid of send debug info in a more safe way that won't mess
with people's existing configs
2020-01-25 15:58:22 +01:00
twinaphex 3f598a0f9c Revert "Get rid of send debug info - if we ever bring this back, needs to be"
This reverts commit c0482ff2ea.
2020-01-25 15:55:11 +01:00
twinaphex c0482ff2ea Get rid of send debug info - if we ever bring this back, needs to be
reimplemented according to new infra
2020-01-25 14:53:04 +01:00
Guo Yunhe 24aa0f7fe6
Merge branch 'master' into translation-update-script 2020-01-23 12:04:19 +02:00
jdgleaver 00397a33f0 (Disk Control Interface) Add support for saving/restoring last used disk in playlists + code overhaul 2020-01-22 17:09:12 +00:00
twinaphex f852209040 Silence some unused variable warnings on some targets 2020-01-19 06:04:37 +01:00
Twinaphex 506b524db0
Merge pull request #10027 from ToadKing/fix-mouse-capture
fix mouse capture hotkey not working
2020-01-19 04:14:23 +01:00
Toad King 7ca666a0e9 fix mouse capture hotkey not working
There's a normal binding for this set in your configs/`grab_mouse_toggle`, but
there's a second place where it's hardcoded to check the F11 key. Because F11
is the default key, both of these codepaths will run which immediately captures
and then uncaptures the mouse cursor, effectively breaking it.

Tested and this fixes the behavior on Linux and Emscripten
2020-01-18 12:49:08 -06:00
twinaphex a01e6652df Replace ZeroMemory with memset 2020-01-18 10:46:25 +01:00
jdgleaver a2e1d622e1 Add disk control interface API extension 2020-01-17 16:34:05 +00:00
Guo Yunhe c6139b7285
Merge branch 'master' into translation-update-script 2020-01-17 17:14:11 +02:00
twinaphex fc7dc3cef7 (Camera) Add stub null camera driver 2020-01-15 05:20:01 +01:00
jdgleaver 16c4035e1c DISABLE_MENU=1 build fix 2020-01-14 14:04:34 +00:00
jdgleaver b5eba22aaf Disk control interface improvements 2020-01-14 12:30:08 +00:00
twinaphex e4ef930b47 (Android) Prevent crash when Android device is minimized and you go back to
the app
2020-01-13 19:21:24 +01:00
twinaphex 7874d179da Simplify create_win32_process 2020-01-13 00:01:28 +01:00
twinaphex 341a4d50ea Buildfix 2020-01-12 23:56:08 +01:00
twinaphex b8328a9fdf (Accessibility) Cleanups 2020-01-12 22:04:31 +01:00
twinaphex 88ee7cbfa8 Add HAVE_ACCESSIBILITY switch 2020-01-12 21:33:00 +01:00
twinaphex b9c69e24a9 Cleanups 2020-01-11 05:06:38 +01:00
twinaphex 78e02bf3dd Avoid warnings when HAVE_RUNAHEAD is not defined 2020-01-11 05:02:46 +01:00
twinaphex 98a573033d Prevent another warning 2020-01-11 04:26:31 +01:00
twinaphex 99d5dba6ae Add signal.h check for linux/unix 2020-01-10 15:19:29 +01:00
twinaphex 38e3cc2087 Update CHANGES.md 2020-01-09 18:11:00 +01:00
twinaphex 617940fb8d Move midi_null driver to retroarch.c 2020-01-09 17:00:46 +01:00
natinusala b1ad6014f0 libnx: fix swkbd indefinitely showing up 2020-01-07 20:06:20 +01:00
twinaphex 665b98bd28 (CTR) Buildfix 2020-01-06 20:09:59 +01:00
twinaphex 203bea3fe6 (MIDI) Turn bunch of functions static
(Menu) Remove menu_display_null driver
2020-01-06 17:30:09 +01:00
twinaphex bbd1e6a6a5 Get rid of separate null midi driver file and display server file 2020-01-06 16:06:42 +01:00
twinaphex 3efa83a646 Get rid of record null file 2020-01-06 15:59:03 +01:00
twinaphex 1d2150cb45 Remove drivers_hid/null_hid.c 2020-01-06 15:52:35 +01:00
twinaphex 246863279a Get rid of null input and null joypad driver files 2020-01-06 15:28:11 +01:00
twinaphex a986b71947 Remove separate audio / video null driver files 2020-01-06 15:22:21 +01:00
twinaphex 5dcdee5faa Get rid of null camera file and null location file - and buildfix 2020-01-06 14:57:02 +01:00
twinaphex 8386c06e07 Fix issue #9368 on Linux - 'Show desktop menu on startup' does not
launch qt-ui
2020-01-06 14:48:41 +01:00
Guo Yunhe c4c8778017 Rebase 2020-01-04 21:56:20 +02:00
jovonna decd374c15 Initial port to dingux platform 2020-01-04 12:20:03 -05:00
twinaphex 9c6c10da22 (Playlist) Get rid of settings_t dependency 2020-01-04 12:04:00 +01:00
twinaphex 3667690027 Revert "Integer scale fix for windowed mode"
This reverts commit 4ec9fe5a57.
2020-01-03 13:56:44 +01:00
twinaphex c73daa6a1c (Discord) Remove settings_t dependency 2020-01-02 18:29:30 +01:00
twinaphex 6b6233944b Cleanups 2020-01-02 18:25:37 +01:00
twinaphex 05d71ebb67 Start reducing dependency on settings struct 2020-01-02 17:41:52 +01:00
twinaphex 19406af87f Cleanups 2020-01-02 17:17:18 +01:00
twinaphex fc4a5ad691 Revert "Configurable lobby URL"
This reverts commit cc0b7c42d1.
2020-01-02 15:30:50 +01:00
jdgleaver 195c9f6ab6 Ensure core info is always initialised when calling 'drivers_init()' 2020-01-02 09:49:05 +00:00
twinaphex cc0b7c42d1 Configurable lobby URL 2020-01-02 10:15:21 +01:00
twinaphex 4ec9fe5a57 Integer scale fix for windowed mode 2020-01-02 10:05:18 +01:00
twinaphex 55de2803a4 Turn some input functions static 2020-01-01 10:22:29 +01:00
twinaphex 4de34a53e7 Turn input_driver_grab_mouse/input_driver_ungrab_mouse static 2020-01-01 09:22:23 +01:00
twinaphex 1e45692f0b Create HAS_SET_SUBSYSTEMS for rarch_ctl 2019-12-30 07:46:33 +01:00
twinaphex 586f54a0f7 Fix C89_BUILD 2019-12-25 09:08:50 +01:00
Twinaphex e52daa8602 - use MIN macro instead of min for portability
- remove unused variable
2019-12-25 08:31:18 +01:00
twinaphex 65cddce865 (OSX/iOS) Forcibly disable Threaded Video until UIWindow/NSWindow
concurrency issues are fixed
2019-12-25 08:28:43 +01:00
twinaphex 538f0c534f Backport Added alternate Turbo-Mode 'Single Button' -
For systems supporting only a single button, the turbo-button will toggle firing that button without the need to hold it.
When holding the button turbo will be suspended and resumed when the button is released. Holding the button may have a different function to just tapping it, e.g. charging the beam in R-Type on C64/Amiga.
The original implementation in RA is named 'Classic' because I have no
idea where it originates from.
2019-12-25 07:13:01 +01:00
twinaphex 6eed40f80c More warning fixes for non-shader target platforms 2019-12-22 08:18:00 +01:00
twinaphex 3033491f3d Turn HAVE_EASTEREGG into HAVE_GONG 2019-12-22 03:08:02 +01:00
twinaphex 923c19356b (ffmpeg) - Fix CXX_BUILD errors - see
https://github.com/ZoneMinder/zoneminder/blob/master/src/zm_ffmpeg.h
(comment on av_err2str)
2019-12-19 20:43:59 +01:00
twinaphex 79ce997156 Fix potential bug with analog deadzones - should be fabs 2019-12-15 16:21:27 +01:00
Nikos Chantziaras 1617cd7e2a
Support DRC even when using a vsync swap interval higher than 1 2019-12-13 23:27:23 +02:00
rsn8887 42d02565af Fix radial analog deadzone scaling 2019-12-13 13:29:28 -06:00
Twinaphex 18d3eba614
Merge pull request #9842 from rsn8887/master
Implement proper analog button deadzone
2019-12-13 19:15:52 +01:00
Barry Rowe c6f55eeb94 Fixed a segfault and an issue with AI Service overlay's image mode. 2019-12-12 16:31:18 -08:00
rsn8887 745fb4b40c Implement proper analog button deadzone 2019-12-11 10:06:08 -06:00
Douglas Christman b67894586f (Menu) Analog stick controls menu even if autoconfig disabled
Fixes #9089 and #8192
2019-12-09 23:14:47 +08:00
Barry Rowe ec7faddd26 Fixed MacOSX defines for accessibility. 2019-12-08 11:12:16 -08:00
twinaphex b90bd91731 Bake out accessibility for iOS 2019-12-07 09:51:51 +01:00
Barry Rowe b01b4de91d Fixed narrator speed on mac. 2019-12-06 13:16:30 -08:00
driver1998 bfe167fae8 [UWP] Add ANGLE context 2019-12-06 13:24:18 +08:00
driver1998 7cbdd845ad [Win32] Add ANGLE context 2019-12-06 13:24:17 +08:00
Twinaphex e61fc4e427
Merge pull request #9822 from driver1998/uwp-fixes
Multiple UWP Fixes
2019-12-05 23:38:47 +01:00
Twinaphex 1ea82b8b5d
Merge pull request #9821 from BarryJRowe/master
Removed narrator for emscripten case.
2019-12-05 10:27:04 +01:00
driver1998 0f924bd083 [UWP] expand custom.ini to absolute path, prevent crashing 2019-12-05 16:32:38 +08:00
Barry Rowe d44d1537d9 Removed narrator for emscripten case. 2019-12-04 22:51:59 -08:00
Twinaphex 1392143d14
Merge pull request #9820 from BarryJRowe/master
Fix to audiomixer ifdef.
2019-12-05 07:47:40 +01:00
Barry Rowe ca03491e63 Fix to audiomixer. 2019-12-04 21:05:44 -08:00
twinaphex c1717fc028 Cleanups 2019-12-05 05:53:36 +01:00
twinaphex 49fb0d7909 Fix --disable-audiomixer 2019-12-05 05:48:26 +01:00
twinaphex 28e88c95ec Fix --disable-menu 2019-12-05 05:44:26 +01:00
Barry Rowe e1f8b66c05 More build fixes. 2019-12-04 20:11:02 -08:00
Barry Rowe 1223f74f5c Removed C99 styled literals. 2019-12-04 16:38:25 -08:00
twinaphex 8c2135f2bb Buildfix 2019-12-04 23:53:02 +01:00
Barry Rowe a8430acd66 Merge remote-tracking branch 'upstream/master' 2019-12-04 13:23:08 -08:00
Barry Rowe 3a67e072bb Added in fixes for accessibility feature. 2019-12-04 10:51:50 -08:00
twinaphex 72e6601702 C89 buildfix 2019-12-04 08:25:54 +01:00
twinaphex 8d9419128e Add TODO/FIXME comment 2019-12-04 07:35:05 +01:00
twinaphex e3bf70dc10 Fix Linux build 2019-12-04 07:33:33 +01:00
twinaphex 0647e0d2c2 (Cheevos) Turn strncpy functions into strlcpy
(Translation/Accessibility) Turn functions static
2019-12-04 06:21:16 +01:00
twinaphex 2f43a1b5f4 Remove unused variable 2019-12-04 05:20:52 +01:00
twinaphex 90008242eb Put this behind HAVE_TRANSLATE ifdef 2019-12-04 05:12:30 +01:00
twinaphex 43017cb65b Fix targets that don't have HAVE_NETWORKING 2019-12-04 05:10:56 +01:00
Twinaphex 2f17cbaef3
Merge pull request #9768 from BarryJRowe/master
Added in accessibility. (DO NOT MERGE)
2019-12-04 04:06:39 +01:00
Barry Rowe 1e6e7a698f Added in accessibility. 2019-11-26 15:19:21 -08:00
twinaphex 388879da38 Change 'User' terminology to 'Port' for input binding stuff 2019-11-24 20:11:49 +01:00
jdgleaver b1d5542d77 (Menu) Ensure pointer input is handled correctly when showing message boxes 2019-11-22 15:10:28 +00:00
Nikos Chantziaras 376598a6e0
Fix null pointer deref 2019-11-20 00:41:38 +02:00
twinaphex ed8e440b0d Revert "Move update_window_title to main thread - this should resolve some"
This reverts commit 442608981d.
2019-11-19 22:48:35 +01:00
twinaphex 442608981d Move update_window_title to main thread - this should resolve some
concurrency issues on OSX as well
2019-11-19 22:13:51 +01:00
Twinaphex 53b7fb2ba2 Remove unused variables 2019-11-19 06:08:54 +01:00
Nikos Chantziaras 33ab147514
Don't omit AR changes when not reinitting video in SET_SYSTEM_AV_INFO 2019-11-19 04:37:03 +02:00
twinaphex a68e9b5014 Start passing global struct to configuration.c functions 2019-11-18 07:32:01 +01:00
twinaphex 48cca00d91 Revert "(retroarch.c) Cleanups"
This reverts commit db9a067e64.
2019-11-18 06:43:30 +01:00
twinaphex 9555f70440 Cleanup some RARCH_CTL_ actions 2019-11-18 06:32:23 +01:00
twinaphex db9a067e64 (retroarch.c) Cleanups 2019-11-18 06:20:47 +01:00
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