Commit Graph

4006 Commits

Author SHA1 Message Date
twinaphex 24ca499570 Cleanups 2020-05-26 01:14:26 +02:00
twinaphex b70451d550 Start creating retroarch main state global struct 2020-05-26 00:01:59 +02:00
twinaphex 602d3d285c Revert "(glcore) switch to glcore video driver when requested"
This reverts commit 7a3ddcd77d.
2020-05-25 21:31:23 +02:00
Autechre 3db672a60d
Revert "Revert "Revert "(video) fix "Allow Cores to Switch the Video Driver OFF" behavior""" 2020-05-25 21:26:11 +02:00
Autechre 950bf29c27
Revert "Revert "(video) fix "Allow Cores to Switch the Video Driver OFF" behavior"" 2020-05-24 23:42:12 +02:00
Autechre d1f4279b8f
Revert "(video) fix "Allow Cores to Switch the Video Driver OFF" behavior" 2020-05-24 23:24:35 +02:00
twinaphex fa37234a49 Cut down on strlens 2020-05-24 21:23:52 +02:00
twinaphex 53beaee6e6 Cleanup 2020-05-24 18:28:27 +02:00
twinaphex 5b562c4c24 Style nits/cleanups 2020-05-24 18:21:30 +02:00
twinaphex 1a2fdffd5b Move variables to top 2020-05-24 18:02:47 +02:00
twinaphex 6591b53547 Cleanup 2020-05-23 04:23:03 +02:00
twinaphex 7d6c0417eb Silence warning 2020-05-23 04:17:12 +02:00
twinaphex 7cbb79277d Cleanup core_load_game function 2020-05-22 19:43:10 +02:00
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
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
twinaphex 11291cc703 Dehardcode program name string 2019-07-19 19:24:27 +02:00
twinaphex 9e39220390 Turn function static 2019-07-18 17:35:41 +02:00
twinaphex 41a2fabb4e Create config_file_new_from_path_to_string 2019-07-18 12:03:50 +02:00
twinaphex a6d6c21e52 Rename config_file_new_null to config_file_new_alloc 2019-07-17 19:50:32 +02:00
twinaphex 0c31437c24 Create config_file_new_null 2019-07-17 18:27:53 +02:00
twinaphex 751c2a1069 Fix issue with load_content_info 2019-07-17 06:00:24 +02:00
twinaphex 5682eee276 core options manager - use config_file_from_string 2019-07-16 19:45:59 +02:00
twinaphex 0257e01bee Refactor input_autoconfigure_connect - don't return
value - set input device name upon failure implicitly
2019-07-16 15:28:22 +02:00
twinaphex de8baf7bec Cleanups 2019-07-16 14:00:46 +02:00
twinaphex 31766b7245 Buildfix for targets that only define HAVE_RUNAHEAD and not
HAVE_DYNAMIC at the same time
2019-07-16 13:50:19 +02:00
twinaphex 61c49a025e input_state - cleanup 2019-07-16 12:47:55 +02:00
twinaphex 31426b00b9 Cleanup input_state 2019-07-16 11:43:35 +02:00
twinaphex 724f623c8a Refactor input_state_device - overlay code is not implemented
for every device - like MOUSE/POINTER
2019-07-16 11:22:47 +02:00
twinaphex 32add9c3c2 Refactor this 2019-07-16 10:52:33 +02:00
twinaphex 0862700577 Split up core_input_state_poll into two - one for late polling,
one for early/normal
2019-07-16 10:51:13 +02:00
twinaphex 60f77cd903 Change core_set_poll_type 2019-07-16 10:10:49 +02:00
twinaphex e53d4987b4 Combine copy_load_info.c into retroarch.c 2019-07-16 01:56:09 +02:00
twinaphex 0a674a9a04 Move frontend.c into retroarch.c 2019-07-15 22:13:55 +02:00
twinaphex 2f7050edef Remove ui companion null 2019-07-15 21:06:48 +02:00
twinaphex 45abbc6ac5 Cleanups 2019-07-15 20:18:37 +02:00
twinaphex f5dc1b653d More CXX_BUILD buildfixes 2019-07-15 08:24:43 +02:00
twinaphex dca848df52 Revert "Revert "(VFS) Add codepath for MSVC CDROM code""
This reverts commit 651774daf1.
2019-07-15 06:49:20 +02:00
twinaphex 651774daf1 Revert "(VFS) Add codepath for MSVC CDROM code"
This reverts commit 7fb8965416.
2019-07-15 06:48:25 +02:00
twinaphex 7fb8965416 (VFS) Add codepath for MSVC CDROM code 2019-07-15 06:30:57 +02:00
twinaphex 8914e289e1 Add missing forward declarations 2019-07-14 19:00:21 +02:00
twinaphex cd244371b9 Cleanups 2019-07-14 18:56:18 +02:00
twinaphex d80b85b158 Cleanups 2019-07-14 18:52:51 +02:00
twinaphex 162695956f Cleanups 2019-07-14 16:00:54 +02:00
twinaphex fdd8dd65ce Cleanups 2019-07-14 15:48:44 +02:00
jdgleaver 0476901ca5 Add ability to manually set default core option values when using the new v1 core options interface 2019-07-12 18:20:19 +01:00
jdgleaver 4f3adb8d2c An environment callback for selectively hiding core options 2019-07-12 17:12:03 +01:00
twinaphex b7a85d392f Silence warnings 2019-07-12 16:31:16 +02:00
Twinaphex e8501203fb
Merge pull request #9092 from jdgleaver/core-option-sublabels-v2
Core Options: Add sublabels + localisation support
2019-07-12 14:23:00 +02:00
jdgleaver bb8636862f Fix CXX_BUILD 2019-07-12 09:52:34 +01:00
benoa 61dee5f015 WII: Fix compilation 2019-07-11 20:30:58 +02:00
jdgleaver 380812f83e Core Options: Add sublabels + localisation support 2019-07-11 16:10:43 +01:00
twinaphex 4eaf987ede Cleanups 2019-07-11 13:46:34 +02:00
twinaphex bddfca940e Add HAVE_GDI switch 2019-07-11 13:18:38 +02:00
twinaphex 1d43384213 Small cleanups 2019-07-11 12:32:37 +02:00
twinaphex b2bf822f13 Add HAVE_AUDIOMIXER switch 2019-07-11 11:51:06 +02:00
twinaphex cd2b835f8c Fix for getting rid of warnings when compiling without libretrodb 2019-07-11 10:27:50 +02:00
twinaphex 663c82f97a Turn some functions static 2019-07-11 08:22:58 +02:00
twinaphex 69fb32cd68 Get rid of these two pointer functions 2019-07-11 04:28:49 +02:00
twinaphex 0a4bc116df Restore this code 2019-07-11 03:09:14 +02:00
twinaphex c8ea62fe54 (Cocoa/CocoaTouch) Comment this check out for Cocoa and CocoaTouch 2019-07-11 01:34:44 +02:00
twinaphex 1bfd4b8ae2 (Qt) Process events is already called in runloop_iterate - we
will take it out of Qt application run function and rely on
runloop_iterate's 'runloop_check_state' leaf function to call
Qt's event processing instead
2019-07-11 01:02:00 +02:00
twinaphex 75e512e22e Turn some functions static 2019-07-10 14:23:56 +02:00
twinaphex 92b0686a32 Turn this function static 2019-07-10 13:47:53 +02:00
twinaphex 212ff42ae0 (Gradle/Android Studio) Update
(Default threaded video setting) Remove
g_defaults.settings.threaded_video - could help Switch and Android
2019-07-10 12:21:18 +02:00
twinaphex 8f19dd8b12 (Discord/runloop) Cleanup 2019-07-10 11:13:21 +02:00
twinaphex 8f77962896 (VRR Runloop) Optimize audio driver set blocking/nonblocking state calls 2019-07-10 10:43:51 +02:00
twinaphex 6b26808e25 Get rid of more unnecessary functions 2019-07-10 10:40:11 +02:00
twinaphex abcfcca1d2 Merge dynamic.c into retroarch.c 2019-07-10 09:54:25 +02:00
twinaphex fa990849ba (Overlay) Cleanups 2019-07-10 07:07:28 +02:00
twinaphex fa2e1fb0c1 overlay_ptr is now a static global variable inside retroarch.c 2019-07-10 06:53:47 +02:00
twinaphex 09f5d2c95d Fix compilation when configuring with --disable-overlay 2019-07-10 05:39:50 +02:00
twinaphex d3f27c3a81 Turn some global variables static 2019-07-10 05:04:55 +02:00
twinaphex 94af95e1b9 Start refactoring this - overlay_ptr needs to become a static
global variable confined inside retroarch.c
2019-07-10 04:43:50 +02:00
twinaphex ca6d35585f Cleanups 2019-07-10 02:01:46 +02:00
twinaphex da54b9c3d9 Buildfix for systems without runahead 2019-07-09 23:45:30 +02:00
twinaphex 9158ad86a0 Cleanups;buildfix 2019-07-09 21:43:22 +02:00
twinaphex f71503a0d0 Move structs around 2019-07-09 21:17:29 +02:00
twinaphex 5cbcf25e8a (retroarch.c) Rearrange global variables top of file 2019-07-09 21:02:12 +02:00
twinaphex b5c4b2d618 Fix --disable-menu 2019-07-09 18:16:11 +02:00
twinaphex 8dd0680cbc Merge input_overlay.c into retroarch.c 2019-07-09 18:13:41 +02:00
Brad Parker 307cdad450 fix regression with slashes appearing in some strings 2019-07-09 11:28:27 -04:00
twinaphex cfbeed0c29 Cleanups 2019-07-09 17:07:28 +02:00
twinaphex cfd2f8e2af Rename camel case named variables 2019-07-09 16:52:34 +02:00
twinaphex 6ff25fea2b Move macros 2019-07-09 16:36:29 +02:00
twinaphex e9b1a49c42 Silence warnings 2019-07-09 09:36:46 +02:00
twinaphex 7ee547db0f Remove unused http server 2019-07-09 09:06:40 +02:00
twinaphex 24a859fa16 Move secondary_core to retroarch.c 2019-07-09 08:09:40 +02:00
twinaphex f0f5c32b51 Remove state tracker - legacy code - we can revisit this later
and integrate it in a way so that it scales across all drivers
2019-07-09 07:39:38 +02:00
twinaphex 5aebbdfddb input_state_internal - small cleanup for RETRO_DEVICE_JOYPAD 2019-07-09 07:02:48 +02:00
twinaphex 6e8797d2ef (core options) Simplifications 2019-07-09 03:53:32 +02:00
twinaphex 9f4e8688f3 Move core option manager into retroarch.c 2019-07-09 03:25:56 +02:00
twinaphex 001e4d9073 Simplify input_state_internal 2019-07-09 01:41:13 +02:00
twinaphex e4a8d2d0b6 bitmask won't be possible for keyboard or analog, so get rid
of it for those switch cases
2019-07-09 00:48:08 +02:00
twinaphex 85b82a8ecf Reimplement input_state_internal 2019-07-09 00:48:08 +02:00
Brad Parker 15d97dbaf3 cdrom: add disc dump option 2019-07-08 16:06:35 -04:00
twinaphex c4d443b5c5 Move bsv_movie_is_playback_off code outside of input_state_internal 2019-07-08 21:58:31 +02:00
twinaphex 7e6d8eb19a (input_state_internal) Refactor this code 2019-07-08 21:47:24 +02:00
twinaphex 0f9890c38e Move BSV playback code outside of input_state_internal 2019-07-08 21:28:48 +02:00
twinaphex 91babc2160 Rewrite bsv_movie_get_input 2019-07-08 21:05:55 +02:00
twinaphex bf3b46be77 (BSV) Cleanups 2019-07-08 20:52:55 +02:00
twinaphex b567bc7ead Revert "Remove BSV code - was obsolete and no longer working - input recording"
This reverts commit 7f731e390a.
2019-07-08 18:21:46 +02:00
twinaphex 7f731e390a Remove BSV code - was obsolete and no longer working - input recording
can be done in other ways instead of being held back by this old input
recording format - was decided along with Themaister that we want to
arrive at a codebase more easily maintained by all
2019-07-08 18:19:49 +02:00
twinaphex 7e6cb03f6b Revert "Remove RARCH_CTL_IS_DUMMY_CORE"
This reverts commit e032ef6b2e.
2019-07-08 17:57:28 +02:00
twinaphex e032ef6b2e Remove RARCH_CTL_IS_DUMMY_CORE 2019-07-08 17:53:10 +02:00
twinaphex 0f9abe5b26 (retroarch.c) Cleanups - rename variables using camel case naming,
other general cleanups etc.
2019-07-08 04:06:42 +02:00
twinaphex a33913c984 (retroarch.c) Cleanup 2019-07-08 02:29:52 +02:00
twinaphex 614674f436 Go through function pointer again 2019-07-08 00:28:15 +02:00
twinaphex 1f17dea0d8 (configuration.c) Cleanups 2019-07-04 17:29:29 +02:00
twinaphex fe958b46d7 Revert const ptr commit 2019-06-30 11:40:30 +02:00
twinaphex b64f9bd64b Revert "Start using const more"
This reverts commit c0789538d7.
2019-06-30 11:23:36 +02:00
twinaphex f4bf218f35 (Menu) We need to tell rarch_menu_running_finished whether we want
to exit RetroArch or not - to avoid certain crashes when trying to
access the settings pointer - which should already be freed at this
point
2019-06-30 11:23:18 +02:00
twinaphex c0789538d7 Start using const more 2019-06-26 14:31:05 +02:00
twinaphex 7fea26db4b (retroarch.c) Pointer cleanups 2019-06-26 08:24:33 +02:00
twinaphex 3b634b64fa Merge dirs.c into paths.c 2019-06-26 07:23:32 +02:00
twinaphex ca2fc9b8d8 Cleanups 2019-06-24 20:51:06 +02:00
LazyBumHorse 1f69f3960a fix d3d9 not rendering xmb and temporarily disable widgets due to segfault 2019-06-24 15:42:55 +02:00
twinaphex 0dcbb985be Move device masking to upper function 2019-06-24 02:20:42 +02:00
twinaphex 1e863b0f4d Optimal way of grabbing all button states in a bitmasked value -
should allow us to do only one function call to the RA input
driver's input state callback
2019-06-23 06:09:45 +02:00
twinaphex b0382d8f73 (Emscripten) Some buildfixes for platforms with no HAVE_NETWORKING support 2019-06-23 01:28:43 +02:00
twinaphex 4f7f5d2523 (Netplay) Netplay needs to call into video_frame_net 2019-06-22 21:05:35 +02:00
twinaphex a6a6597f2d video_driver_cached_frame - don't go through function pointer for
frame_cb - call video_driver_frame directly
2019-06-22 20:44:20 +02:00
twinaphex 74e4b05f5a Cleanups 2019-06-22 19:57:47 +02:00
twinaphex 4664e56ca3 Simplify core_run 2019-06-22 19:52:06 +02:00
Twinaphex 9180cc5ba2 Cleanup some warnings 2019-06-22 13:44:10 +02:00
Barry Rowe e9625b3ed9 AI Service feature. 2019-06-21 17:48:35 -07:00
twinaphex faef9413e3 (retroarch.c) Cleanups - remove static inline function and reduce
it in size
2019-06-21 13:27:12 +02:00
twinaphex a23928fb89 Split up input_state into input_state_internal - no longer
rely on recursion of function
2019-06-21 12:49:33 +02:00
twinaphex 6de62dc4b0 Buildfix --disable-menu 2019-06-21 12:21:43 +02:00
twinaphex 023d2cb9a9 (Libretro) implement new environment callback RETRO_ENVIRONMENT_GET_INPUT_BITMASKS 2019-06-21 11:21:07 +02:00
twinaphex 2626282757 Revert "Raise menu key repeat delay to account for slow input devices"
This reverts commit d0cde96bd4.
2019-06-21 07:19:44 +02:00
twinaphex 569dfdfbb4 Move this outside of keys_pressed functions 2019-06-21 07:09:07 +02:00
twinaphex 088a688402 Rename current_input to current_bits 2019-06-21 07:05:20 +02:00
twinaphex 98987239bb Cleanups 2019-06-21 07:01:21 +02:00
AlexanderR d0cde96bd4 Raise menu key repeat delay to account for slow input devices
Fixes duplicated key presses on NEC IR remotes.
2019-06-21 11:35:16 +07:00
twinaphex 644888ee1a Fix manual bind of menu toggle 2019-06-21 06:28:19 +02:00
twinaphex affa93bd98 Refactor menu_input_keys_pressed 2019-06-21 05:27:21 +02:00
twinaphex 6b9238198b Cleanups 2019-06-21 04:47:51 +02:00
twinaphex bc7ba4f5d2 Move menu_input.c into retroarch.c - now all of the input code
should be inside one place - giving us the opportunity to cleanup this
mess
2019-06-21 03:40:48 +02:00
twinaphex ef0cedd798 Create macro for input_menu_keys_pressed 2019-06-20 14:12:24 +02:00
twinaphex b07e2d0585 Simplify input_keys_pressed 2019-06-20 13:49:05 +02:00
twinaphex 3a8df35d4d (Input) Split for loops up into two - first check button keys,
then check the meta keys
2019-06-20 13:31:00 +02:00
twinaphex ce3f46adbd Get rid of RARCH_CTL_UNSET_KEY_EVENT and other cleanups 2019-06-20 12:51:29 +02:00
twinaphex c064d30250 Fix --disable-runahead switch 2019-06-20 10:20:48 +02:00
twinaphex 10c5331cc0 Move runahead dirty_input to retroarch.c - allows us
to make retro_ctx and current_core static
2019-06-20 10:08:32 +02:00
twinaphex d12e857644 video_driver_get_status is no longer necessary 2019-06-20 09:55:06 +02:00
twinaphex 6bc1802914 Move run_ahead.c to retroarch.c - most of the runloop
should now be self-contained in one file. Allows us to
turn more functions static, remove more extraneous functions
that just consisted of a single line (mostly getters/setters), etc.
2019-06-20 09:30:44 +02:00
twinaphex d50a6b6bd2 Add video_driver_has_focus 2019-06-20 06:26:29 +02:00
radius d865c5e4a6 add some copyright on files I contributed considerably just in case 2019-06-20 05:45:17 +02:00
twinaphex c46ba7f63b Turn more functions static 2019-06-20 04:58:52 +02:00
twinaphex 720424777b Turn function static 2019-06-20 04:50:55 +02:00
twinaphex 337e2110a1 Get rid of video_driver_cb_has_focus function pointer 2019-06-20 04:43:23 +02:00
twinaphex 129e73c588 turn lots of audio functions static 2019-06-20 04:29:08 +02:00
Twinaphex 47910871a2 OSX hits rarch_menu_running_finished while quitting at a point
in time where configuration_settings is NULL. For now, check first
if the settings pointer is NULL
2019-06-19 10:40:42 +02:00
twinaphex 4d8f5f4dde Merge core_impl.c into retroarch.c 2019-06-19 09:51:56 +02:00
twinaphex f7d24b7c10 Cleanup 2019-06-19 06:08:35 +02:00
twinaphex f461f32264 Buildfix 2019-06-19 05:52:16 +02:00
twinaphex 6d4ebfe9c5 Cleanups 2019-06-19 05:35:03 +02:00
twinaphex 3a984fc2e5 (GDI) Use video_info->userdata instead of querying video_driver_get_ptr
(retroarch.c) Simplify video_driver_get_ptr
2019-06-19 05:25:26 +02:00
twinaphex 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
Twinaphex d6dfa240c8 Some cleanups 2019-04-08 19:36:44 +02:00
natinusala f036ce442e menu widgets: reimplement slowmotion 2019-04-08 17:06:05 +02:00
natinusala 7a7f444e55 menu widgets: reimplement fast forward widget 2019-04-08 17:06:05 +02:00
natinusala 5667c73ebf menu widgets: reimplement rewind widget 2019-04-08 17:06:04 +02:00
jdgleaver 9fff07e589 (Menu Widgets) Fix text alignment issues with Vulkan and D3D video drivers 2019-04-08 13:35:35 +01:00
twinaphex 41eab46111 (C89) Buildfixes 2019-03-29 12:39:03 +01:00
jdgleaver 4086826e92 Log to file: ensure log directory is always created 2019-03-28 11:27:26 +00:00
CozmoP bd6fedc0f2 Qt: WIP settings dialog 2019-03-27 02:37:34 +01:00
jdgleaver 2c65068be0 More 'Log to File' Additions:
- Add optional timestamped log files

- Handle errors if log file cannot be opened

- Android: flush log file immediately

- 3DS: log to file tested and fully working

- Default log paths added for all platforms
2019-03-25 17:22:59 +00:00
Twinaphex 123cd67a6a
Merge pull request #8486 from huwpascoe/rxml
Re-enable RXML and purge libxml
2019-03-23 03:25:32 +01:00
jdgleaver 93506a0d18 Log to file improvements 2019-03-21 16:57:54 +00:00
meleu a5acd559d6 namespace both cheevos implementations & add a runtime setting to allow debugging 2019-03-19 21:13:10 -03:00
radius 8fd0aedc56 add log to file settings 2019-03-17 14:28:17 -05:00
Huw Pascoe 45069537fb Re-enable RXML and purge libxml
Fixed rxml to work with griffin.c
2019-03-17 03:04:35 +00:00
twinaphex 3691f4fabf Fix CXX_BUILD errors 2019-03-13 17:00:52 +01:00
twinaphex 6ba6f9e3ec (D3D9) Some buildfixes for C89 2019-03-11 17:07:49 +01:00
twinaphex 3ddbb0bc4a Add HAVE_NETWORKING ifdefs 2019-03-11 16:59:17 +01:00
Brad Parker 19ced73596 add hotkey to toggle netplay hosting 2019-03-09 17:48:03 -05:00
Brad Parker 4bb81bbb1b add F10 hotkey to send debug info, fix F3 hotkey for FPS toggle when inside menu 2019-03-09 16:03:17 -05:00
Brad Parker 99035dbb0a debuginfo: show firmware files that exist 2019-03-09 12:57:26 -05:00
Brad Parker 9279d06f93 Merge branch 'master' into send_debug 2019-03-07 19:23:41 -05:00
Brad Parker 10df615d14 add "Send Debug Info" option under Help 2019-03-07 19:17:54 -05:00
jdgleaver 2c8d7bf5ed Add optional 'aggregate' runtime logging 2019-03-07 12:28:21 +00:00
jdgleaver 7fd71c735f Runtime logging: Fix logging redirection bug when loading consecutive content 2019-03-06 12:24:35 +00:00
jdgleaver cfbec687e5 Make runtime independent of fast forward/slow motion 2019-03-04 15:30:12 +00:00
jdgleaver 8e74ff6122 Runtime logging fixes: ensure log is generated when runahead is enabled, and when closing cores 'internally' (RETRO_ENVIRONMENT_SHUTDOWN) 2019-03-04 11:33:19 +00:00
retro-wertz dcd76a0d2d [LOG] Fix alignment 2019-03-03 06:36:53 +08:00
jdgleaver 33c27606d3 Finalise integration of per-content runtime logs (runtime sublabels on all playlists, 'last played' timestamp added to playlist sublablels,
content_runtime.lpl retired)
2019-03-01 14:06:40 +00:00
twinaphex 5cce51ed8d Move runtime_file to RetroArch 2019-03-01 01:22:35 +01:00
Twinaphex 16b30d9ae8
Merge pull request #8377 from jdgleaver/persistent-runtime-log
Add persistent content runtime logging
2019-02-28 21:59:59 +01:00
twinaphex abdbeade7b Expand some comments 2019-02-28 21:54:46 +01:00
jdgleaver 38c54eaebe Add persistent content runtime logging 2019-02-27 16:20:59 +00:00
twinaphex ebae7ebc79 Input driver - Get rid of 'own driver' mechanism 2019-02-27 17:17:34 +01:00
twinaphex 829aedc6e2 (Video/Audio) Remove 'own driver' mechanism 2019-02-27 17:09:15 +01:00
twinaphex 712115ef9d (Wifi/Location/Camera) Get rid of 'own driver' mechanism 2019-02-27 17:02:33 +01:00
twinaphex e709fd1ac6 Merge driver.c and retroarch.c 2019-02-27 16:47:39 +01:00
twinaphex d1dbf6fbe1 * The menu is now able to run at higher refresh rates than 60Hz
* Also added a new environment callback that a core can use to
query the display refresh rate
2019-02-27 04:44:04 +01:00
natinusala 6b6f9ae678 menu: add press quit twice setting 2019-02-25 19:51:39 +01:00
Brad Parker e22148fed4 show cpu model name in log, implemented for x86/64 on windows/linux so far 2019-02-23 16:50:42 -05:00
Brad Parker 97b7512420 restore initial screen orientation on exit for x11/win32 2019-02-23 14:15:36 -05:00
natinusala 42325ea368 Reintroduce menu widgets, implement new runloop_msg_queue 2019-02-21 20:58:22 +01:00
jdgleaver 1d0cee5fe5 Only parse runtime playlist when loading content history playlist (+ bugfixes to original runtime logging) 2019-02-21 15:50:48 +00:00
jdgleaver 0b04312412 Add optional playlist sublabels (associated core + play time, where available) 2019-02-21 15:50:48 +00:00
natinusala f481c594e8 menu_animation: use milliseconds as a unit 2019-02-14 19:24:31 +01:00
Twinaphex 2ccc6534ee
Merge pull request #8259 from bparker06/playtime_log
Add option to track how long content has been running over time
2019-02-12 15:06:57 +01:00
Brad Parker 44c4be1863 add option to track how long content has been running over time 2019-02-12 00:32:01 -05:00
twinaphex d70d9d35f8 (record_driver.c) Simplifications 2019-02-12 06:04:52 +01:00
twinaphex a51acb8377 Buildfix 2019-02-12 04:03:10 +01:00
twinaphex ab182cbe20 Create optimized function - menu_animation_get_time 2019-02-09 00:18:27 +01:00
natinusala f3ff7f2a89 menu_animations: make animations menu independent 2019-02-08 20:02:45 +01:00
twinaphex 386657a366 (menu widgets backport) Re-commit task queue changes 2019-02-08 08:00:32 +01:00
twinaphex 7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
natinusala 8f3c77f719 ui_companion: fix status message 2019-02-07 11:49:07 +01:00
Twinaphex fa4494ff8b
Merge pull request #8203 from fr500/master
[discord] party & ask to join refinements
2019-02-07 05:06:30 +01:00
radius 671e90a415 [discord] party & ask to join refinements 2019-02-06 22:45:05 -05:00
Twinaphex 136193ab8d Buildfix 2019-02-07 04:09:08 +01:00
twinaphex cbfe33c579 Ifdef this 2019-02-06 23:38:54 +01:00
natinusala c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
Twinaphex 7fedabee4b
Merge pull request #8163 from orbea/cleanup
Cleanup
2019-02-04 23:19:05 +01:00
twinaphex ebce936557 Fix UWP builds 2019-02-04 23:14:20 +01:00
orbea 28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
twinaphex 6aca340927 (OSX) Add CoreAudio V3 driver from stuartcarnie 2019-01-31 23:14:56 +01:00
twinaphex 37102a8e16 * Header include optimization
* Silence warning with CXX_BUILD (retroarch.c)
2019-01-31 20:12:41 +01:00
Brad Parker 5ea97cccb9 win32: force video driver to gdi if no accelerated graphics driver is found 2019-01-31 09:48:10 -05:00
Rob Loach fa875692c3
Added menu toggle for 'Down+Select' 2019-01-28 11:43:57 -05:00
Brad Parker 90db5e7e27 Implement in-menu sound effects 2019-01-27 11:22:16 -05:00
twinaphex b13777e9fc Header cleanups 2019-01-20 03:16:58 +01:00
orbea 8787f46c59 Fix conflicting types.
Fixes conflicting types after PR https://github.com/libretro/RetroArch/pull/8006
2019-01-17 20:02:49 -08:00
orbea b3157c14e8 Fix wimp ui.
Fixes https://github.com/libretro/RetroArch/issues/8005
2019-01-14 00:37:52 -08:00
twinaphex f0994a0502 retroarch.c - some cleanups 2019-01-14 05:25:04 +01:00
twinaphex 7cb84245b7 Simplify runloop 2019-01-14 04:39:58 +01:00
twinaphex 5b88685448 Unroll this 2019-01-13 07:46:35 +01:00
orbea d86fe8d6e6 Don't disable the Qt frontend when started from the commandline.
Fixes https://github.com/libretro/RetroArch/issues/7962.
2019-01-12 09:40:05 -08:00
twinaphex 6048eba78a Move static variable around 2019-01-12 18:10:22 +01:00
twinaphex d95b4b70e7 Some cleanups to runloop - should not affect anything functionality-wise 2019-01-12 17:58:35 +01:00
twinaphex c98b2e2292 Buildfixes and more static code analysis warning fixes 2019-01-10 22:24:43 +01:00
twinaphex e13a142bae Wrap access to runloop_key_event 2019-01-10 02:49:25 +01:00
twinaphex 90ad541413 Typo fix 2019-01-10 02:35:35 +01:00
twinaphex d3f58bb65c Wrap all access of runloop_shutdown_initiated 2019-01-10 02:35:03 +01:00
orbea 7eead5c59f Fix crashes with '--disable-menu' and the Qt frontend.
When failing to load content in the companion ui when HAVE_MENU is not
defined RetroArch will crash in just about every input and video driver.
Even if several sanity checks are added the dummy core will immediately
exit.

Now it will print that it failed to load the core in the companion ui
and reinit the dummy core to match the behavior with the null menu
driver.
2019-01-09 10:02:32 -08:00
Twinaphex 40997473ed
Merge branch 'master' into orbis2 2019-01-08 20:18:08 +01:00
orbea bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex 93346fed6b Buildfix 2019-01-08 17:53:58 +01:00
orbea d37547e6fd menu: Fix quick menu toggle crash with the null menu driver. 2019-01-07 11:42:48 -08:00
Brad Parker 13ee5ccfdf init core info when menu is disabled, remove more menu dependance from Qt 2019-01-06 22:04:23 -05:00
orbea 5428d2a833 Fix warning with '--disable-rgui' and '--disable-easteregg'. (#7908)
Fixes:

retroarch.c: In function ‘runloop_check_state’:
retroarch.c:2593:20: warning: variable ‘seq’ set but not used [-Wunused-but-set-variable]
    static uint64_t seq              = 0;
                    ^~~
2019-01-06 17:21:15 -05:00
twinaphex 2686cf1498 Fix disable-rgui 2019-01-06 17:04:28 +01:00
Twinaphex d1a65f15cc
Merge pull request #7899 from orbea/command
Remove duplicate command.h includes.
2019-01-06 09:15:24 +01:00
Andrés 714631b38d Discord ask-to-join fixes (#7903)
* C89 Fix

* use strlcat instead

* declare i on top

* declare buf on top
2019-01-05 19:16:28 -05:00
Brad Parker bbfbefa9dd easter egg 2019-01-05 18:33:29 -05:00
orbea 2081346358 Remove duplicate command.h includes. 2019-01-05 13:55:07 -08:00
Twinaphex 90baac517d
Merge pull request #7732 from fr500/discord
WIP: Discord ask-to-join
2019-01-05 22:31:21 +01:00
radius ec53480a66 [discord] let's rewrite this to do the same but different 2019-01-05 15:11:58 -05:00
Francisco José García García 433ae4d7fc [ORBIS] Fix for loading content 2019-01-03 21:46:29 +01:00
radius 0b13cba4ea add drmingw's exchndl support 2018-12-30 12:12:55 -05:00
radius 325d85ed4b [discord] nasty hack to register the application with the current runtime args
basically saves the whole argv string to reuse it on game launch

Not working due to:
https://github.com/discordapp/discord-rpc/issues/240
https://github.com/discordapp/discord-rpc/issues/163
2018-12-28 17:16:14 -05:00
Brad Parker d41bb64d17 remove unused code 2018-12-20 09:00:48 -05:00
Brad Parker 458bb9fbb5 add option to toggle menu by holding down start button 2018-12-19 14:53:17 -05:00
radius a7e4d8359b fix fullscreen=>windowed when remember window positions is on 2018-12-11 19:34:12 -05:00
Tatsuya79 d52b38eadc Add FPS counter hotkey. 2018-11-29 13:12:11 +01:00
natinusala 9cad7135a9 libnx: implement focus gain and loss callbacks 2018-11-28 14:11:42 +01:00
twinaphex a25ec048d4 Fix library version string 2018-11-04 15:14:08 +01:00
twinaphex 51430e9e5f Add runloop_get_libretro_system_info 2018-10-30 08:21:32 +01:00
twinaphex 6c51c4458b Cleanups 2018-10-29 07:38:26 +01:00
twinaphex 0782c3c820 Cleanups 2018-10-11 03:26:39 +02:00
twinaphex 527228e571 Add L + R Menu toggle 2018-10-01 01:36:53 +02:00
twinaphex 4f2c108088 Add another toggle 2018-10-01 00:21:07 +02:00
twinaphex 519cd84265 Fix hotkeys for streaming toggle/recording toggle 2018-09-27 19:06:39 +02:00
twinaphex 67fdd53263 implement recording/streaming hotkeys 2018-09-27 18:58:41 +02:00
twinaphex 9dde33b5c1 Cleanups 2018-09-27 14:02:11 +02:00
twinaphex fb0c816110 Cleanups 2018-09-26 14:03:29 +02:00
twinaphex 7aea66677b Merge menu_input.c and menu_event.c 2018-09-25 16:46:15 +02:00
radius c07744564a prevent retroachievements cheating exploit
Revert "prevent retroachievements cheating exploit" and reimplement it in a better way

This reverts commit d323338caa4882925d184f5ee7a506bfa8c78c1e.
2018-09-22 11:43:34 -05:00
twinaphex cb8148878c Add hotkeys for 'Toggle Recording' / 'Toggle Streaming' 2018-09-18 08:52:09 +02:00
radius 1c85058e72 [recording] rename bsv recording from movie to input replay 2018-09-15 21:47:23 -05:00
radius 16bd85b118 [recording] refactor recording_is_enabled no need to use a pointer for all of this 2018-09-15 21:09:41 -05:00
radius 49214de125 [record] start whipping some sense into this feature 2018-09-15 17:49:39 -05:00
twinaphex 73e01b64ba Should fix non-HAVE_DISCORD path 2018-09-15 07:17:29 +02:00
radius 4d0729187f [discord] start getting ready for ask-to-join functionality, cleanup some of the mess 2018-09-12 01:45:27 -05:00
twinaphex df059c585f Implement RETRO_ENVIRONMENT_GET_FASTFORWARDING 2018-09-08 02:19:05 +02:00
Brad Parker b1dde87ce5 add --max-frames-ss and --max-frames-ss-path parameters for taking a screenshot after max_frames is reached 2018-08-18 23:09:40 -04:00
Dwedit f01894ebe4 Attach console before displaying Version information, Help, or Features. 2018-08-18 12:43:49 -05:00
twinaphex f9e8737476 Remove libui - we don't need it anymore now that we have the Qt desktop
UI
2018-08-16 21:34:20 +02:00
twinaphex 2cfae2a6e7 C89 buildfix 2018-08-11 00:15:32 +02:00
Tatsuya79 bd4d462170 VRR runloop Option. 2018-08-05 00:34:10 +02:00
twinaphex 5b9115c848 C89_BUILD fixes 2018-08-01 01:27:30 +02:00
twinaphex 89083fd093 C89 buildfixes 2018-07-28 22:11:56 +02:00
Sven 5f35249216 Implement robust cheat searching interface with rumble features 2018-07-25 19:19:14 -04:00
Dwedit fa00eda625 Relocation of Win32 Message Loop Fix is now tied to whether threaded video is enabled or not
Menu bar is removed if threaded video is enabled, due to code currently being unsafe when using threaded video.
2018-07-13 22:34:03 -05:00
twinaphex abc6eb7d8c Revert "Re-revert this - causes issues with toggling fullscreen with threaded"
This reverts commit 52a55695ce.
2018-07-14 00:22:52 +02:00
twinaphex 52a55695ce Re-revert this - causes issues with toggling fullscreen with threaded
video mode and GL driver
2018-07-14 00:10:21 +02:00
twinaphex 38a35e53fd Revert "Move Message loop call to right before `video_driver_get_status` call"
This reverts commit 838dcc8a5a.
2018-07-14 00:01:25 +02:00
Rob Loach 0f39ef4247
[#6955] Update hexspeak magic pointer code
Fixes #6955
2018-07-06 23:03:15 -04:00
Dwedit 838dcc8a5a Move Message loop call to right before `video_driver_get_status` call 2018-07-05 20:07:01 -05:00
David Walters 70eda90d03 more accurate rarch_timer 2018-06-29 21:12:46 -05:00
Stuart Carnie 411bcf8bdd feat(apple): Metal support for macOS
* includes rgui
* shader support

This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
twinaphex 0286829348 Start adding HAVE_MPV ifdefs 2018-06-20 04:29:31 +02:00
Gregor Richards 2c07561fc1 Fix compatibility between netplay and runahead
Unsurprisingly, netplay and runahead are wildly incompatible; both rely
on internal rewinding, without communicating this fact to each other.
Somewhat more surprisingly, netplay already has all the infrastructure
for negative input latency, as it's structurally the same as receiving
delayed input from a peer. This patch makes the two features
"compatible" by disabling runahead per se when netplay is active, and
using runahead's configuration to adjust netplay's own input latency
feature, which is now allowed to be negative. The effect is mostly the
same (modulo the second core support), and it doesn't confuse netplay
peers.
2018-05-30 22:01:02 -04:00
twinaphex ddbc0d53c0 Add Discord Enable option to Settings -> Privacy 2018-05-29 12:41:13 +02:00
twinaphex 1fb57857ea Add discord_is_inited 2018-05-29 11:06:43 +02:00
radius d5c2bc90c1 add discord files 2018-05-28 23:46:36 -05:00
radius f81ea09f20 add saving, deletion options for per-dir remaps 2018-05-13 23:17:44 -05:00
twinaphex 1a55d4309c Fix --disable-cheevos 2018-05-14 01:44:08 +02:00
radius aa86d78183 add quick menu action to pause / resume hardcore mode for current session 2018-05-13 13:40:30 -05:00
radius 1037093d45 cleanup cheevos hardcore conditions 2018-05-13 13:40:30 -05:00
radius 504317ac7e cheevos fixes, reenable menu entries if cheevos are disabled on the fly 2018-05-13 13:40:29 -05:00
Brad Parker a1aefc901c Qt WIMP GUI 2018-04-30 14:33:05 -04:00
meleu e57d0049f3
disable slow motion if cheevos enabled 2018-04-30 12:27:35 -03:00
twinaphex 91fcb49270 (Menu audio) Fix situation where a libretro core is running
in the background and menu audio is playing - we don't want
audio_driver_menu_sample called then
2018-04-29 01:05:04 +02:00
twinaphex b0ef193117 Add 'Enable menu audio' setting 2018-04-29 00:41:53 +02:00
twinaphex 773fc1ebad Create audio_driver_menu_sample 2018-04-29 00:06:54 +02:00
twinaphex ac511120d4 (retroarch.c) Cleanups 2018-04-10 07:19:27 +02:00
twinaphex 7b5a0bf706 Move clear operation outside of keys_pressed functions 2018-04-09 00:31:03 +02:00
twinaphex a82bb0ec94 Create special type input_bits_t 2018-04-08 20:21:12 +02:00
twinaphex c041470bb0 Add HAVE_RUNAHEAD ifdef 2018-03-29 15:38:22 +02:00
twinaphex 4372db491a Cleanup some warnings for C89_BUILD 2018-03-29 15:20:43 +02:00
Dwedit f5e0346fc2 Runahead system 2018-03-28 14:22:07 -05:00
Dwedit 86d24a0fc4 Fix invalid long command line options causing infinite loop on Windows (issue #6477) 2018-03-28 10:08:57 -05:00
Gregor Richards ea85727b3c Fix --appendconfig conflict with load order
I'd previously changed the load order of command line options to make
overrides work with less hassle. I didn't notice --appendconfig, which,
as a where-is-the-config-file option, needs to come before config file
loading. This fixes that.
2018-03-20 18:48:51 -04:00
Twinaphex 4552002945
Merge pull request #6375 from GregorR/override-load-order
Make command-line overrides (somewhat) clearer
2018-03-11 01:32:14 +01:00
Ryunam c5775fd73c Implement Slow motion toggle 2018-03-10 18:42:45 +01:00
Gregor Richards b33d29aecf Make command-line overrides (somewhat) clearer
This commit:

(1) Changes the order of command-line loading so that config loading
happens before command line overrides. This way, config loading does not
itself have to be concerned with being pre-overridden.

(2) Adds overrides to the data structures that configuration saving uses
to save configuration blocks of the same type, so that they can easily
be added in the future.

(3) Corrects some (all?) existing problems with command-line overrides
being ignored.
2018-03-09 17:23:34 -05:00
radius e9b7c7267e fix some potential crashes when a shader is not set in config 2018-02-07 21:26:01 -05:00
radius 37454f79a8 fix SHADER_NEXT/SHADER_PREV 2018-02-07 21:26:00 -05:00
radius c64d5556c1 readd shader to config, let's use a runtime check instead of overwritting the shader preset all the time 2018-02-07 21:25:59 -05:00
twinaphex 32888c1f17 Cleanup some allocations 2018-02-04 23:02:52 +01:00
aliaspider f896ba29d0 silence some warnings. 2018-01-30 18:07:12 +01:00
Brad Parker ba41d1bf84 use real timer to delay applying shader changes on watch notification 2018-01-26 20:27:29 -05:00
Brad Parker 2dfe14ce4d increase shader watch delay frames to 10 2018-01-25 20:53:05 -05:00
Brad Parker 9e347ec71f detect shader file changes on move and delete as well, and wait a few frames before re-applying changes 2018-01-25 19:09:55 -05:00
Brad Parker f087b150c9 Add quick menu option to watch shader files for changes and recompile automatically (Linux only for now) 2018-01-25 15:50:57 -05:00
Twinaphex 4a6a97be60
Merge pull request #5429 from GregorR/netplay-input-upgrades-1
Netplay input upgrades 1
2018-01-23 05:01:45 +01:00
twinaphex 897c1654ab Reduce usage of string_is_not_equal_fast 2018-01-17 01:03:48 +01:00
twinaphex 61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
radius 6eb089cb82 Revert "Fast forward state disable hard sync"
This reverts commit ea5045d50a.
2018-01-08 20:03:29 -05:00
Tatsuya79 ea5045d50a
Fast forward state disable hard sync 2018-01-08 12:02:37 +01:00
Gregor Richards 8d5a79fc69 Removing long-obsolete now-disfunctional "netplay flip players" feature 2018-01-05 14:27:02 -05:00
twinaphex 82d44e9ad3 Cut down on more HAVE_MENU ifdefs 2017-12-31 18:02:14 +01:00
Alcaro ec4b0f9089 What kind of bug farm is this filestream thingy 2017-12-29 15:32:07 +01:00
Twinaphex b6f9681373
Merge pull request #5931 from fr500/master
fix fullscreen cli option
2017-12-17 19:21:26 +01:00
radius a7f989fdb6 fix fullscreen toggle 2017-12-17 13:16:40 -05:00
twinaphex d169d51180 Revert "Rewrite menu toggle"
This reverts commit 144ca2cfd8.
2017-12-17 17:21:51 +01:00
twinaphex 0f906d0986 Revert "that's a dumb bug."
This reverts commit 69a630f8e0.
2017-12-17 17:06:02 +01:00
twinaphex 2fa03755eb Cleanups 2017-12-17 04:11:56 +01:00
twinaphex 144ca2cfd8 Rewrite menu toggle 2017-12-17 03:54:11 +01:00
Alcaro 69a630f8e0 that's a dumb bug. 2017-12-15 11:21:43 +01:00
twinaphex c7c4b723d6 Move path_file_exists to filestream and do away with filestream
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
twinaphex 53efad05c6 Cleanups 2017-12-05 13:15:15 +01:00
twinaphex f0c143766e Change to 256bit macros 2017-12-05 12:07:35 +01:00
twinaphex 6c09661a64 Move defines to retro_miscellaneous.h 2017-12-05 10:42:37 +01:00
twinaphex e94300a581 Get rid of a lot of RARCH_INPUT_STATE_BIT_ macros - replace them
with BIT128_ equivalents instead
2017-12-05 09:22:56 +01:00
twinaphex 00d57af005 C89_BUILD fixes 2017-11-26 22:53:42 +01:00
Twinaphex 679275857f Fix warnings 2017-11-25 05:55:48 +01:00
twinaphex cb16aac7ce Revert "Invoke MAPPER_INIT after CONTROLLERS_INIT"
This reverts commit fdf79e2e9b.
2017-11-24 22:18:36 +01:00
twinaphex fdf79e2e9b Invoke MAPPER_INIT after CONTROLLERS_INIT 2017-11-24 17:30:08 +01:00
David Walters 5be7921445 reimplement using retro_bits_t; pass by ref; raise bind limit to 256 2017-11-24 11:19:17 +00:00
David Walters b0e383d5f0 Extend input bind limit to 128 2017-11-23 23:04:09 +00:00
Rob Loach 8b360c9072
Fix Slow Motion message timing and priority 2017-11-18 11:54:24 -05:00
Rob Loach b73a8750e4
Fix coding style for fast forward message 2017-11-18 11:08:11 -05:00
Rob Loach 5a990841dc
Fix priority and timing of FPS and Fast Forward messages 2017-11-18 11:05:38 -05:00
Rob Loach 7f38177246
Revert "Revert "Display a "Fast forward." message""
This reverts commit f3c774a797.
2017-11-18 10:48:53 -05:00
Twinaphex f3c774a797
Revert "Display a "Fast forward." message" 2017-11-16 16:28:58 +01:00
Rob Loach 0e131044fe
Add a Fast Forward message to the user 2017-11-14 21:53:57 -05:00
twinaphex 67fea30406 Remove remaining references to HAVE_FBO 2017-11-13 08:55:41 +01:00
Brad Parker fc856c76a8 fix race condition reading OSD message in video driver 2017-10-29 23:28:02 -04:00
twinaphex 8238545bef Cleanups 2017-10-04 06:53:47 +02:00
twinaphex 702f1276d6 Silence warnings 2017-10-03 00:53:09 +02:00
twinaphex 3090f3ff3a (task_database.c) Rewrite char arrays 2017-09-29 20:47:54 +02:00
radius fe8a0657b4 add input_mapper scafolding 2017-09-11 00:20:20 -05:00
twinaphex 116d3ae09a rarch_game_specific_options - reduce stack usage 2017-09-09 06:31:51 +02:00
twinaphex a14c2101dd retroarch_validate_game_options - reduce stack usage 2017-09-09 06:21:27 +02:00
twinaphex c0207e9b56 Revert "Reduce size of variables"
This reverts commit 79f1166c6e.
2017-09-09 00:20:39 +02:00
twinaphex 79f1166c6e Reduce size of variables 2017-09-08 23:44:10 +02:00
twinaphex d0cf88ebc5 Cleanups 2017-09-08 06:08:05 +02:00
twinaphex e16371b8a5 Merge input_config.c and input_driver.c 2017-08-31 02:25:04 +02:00
Rob Loach f4283f6de0
Add HAVE_LIBUI define 2017-08-12 18:43:16 -04:00
Rob Loach ae5535c425
Merge branch 'master' of github.com:libretro/RetroArch into libui 2017-08-12 10:16:37 -04:00
radius 2db79242c9 remove remaps 2017-08-05 11:21:07 -05:00
radius 9862b75b4b allow specifying libretro device and analog dpad mode on remap files 2017-08-05 11:21:06 -05:00
Rob Loach 0996291d91
libui: Changes for LIBUI 2017-08-01 12:25:08 -04:00
Rob Loach 912068f850
Clean up the log output
References #1385
2017-07-04 21:46:22 -04:00
twinaphex 790fcd2264 Add test for libui 2017-07-03 09:45:09 +02:00
twinaphex e58eee37bc Cleanups 2017-06-28 05:44:59 +02:00
twinaphex b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
Charlton Head 4ae7718f1c add ; when !HAVE_MENU 2017-06-20 20:53:46 -05:00
twinaphex 6af5bd01bf Merge retro_stat and file_path 2017-06-16 15:00:11 +02:00
twinaphex 060753258a Combine input_driver.c and input_keyboard.c 2017-06-11 17:51:12 +02:00
twinaphex c14c4cd394 Use BIT64_SET 2017-06-11 16:45:55 +02:00
twinaphex d482739dfd Fix binding 2017-06-10 23:26:52 +02:00
hizzlekizzle 0319041ffb change --help text for --log-file option
--log-file seems to be one of the few CLI switches that doesn't accept both space and =. Instead, it will fail to launch if you use the '=', which is the suggested syntax in the --help text.
2017-06-10 15:39:59 -05:00
radius f2a8b11ef7 prevent these tasks to run more than once on shutdown 2017-05-31 00:34:01 -05:00
twinaphex bc7427732c Buildfix 2017-05-30 16:57:29 +02:00
twinaphex 3d4d9b09cf Comment this out 2017-05-30 01:47:49 +02:00
twinaphex 449483206f Revert "New attempt to fix memory leaks of struct retro_system_info"
This reverts commit a1d3dd69dd.
2017-05-30 01:44:49 +02:00
twinaphex a1d3dd69dd New attempt to fix memory leaks of struct retro_system_info
char variables
2017-05-29 22:24:10 +02:00
twinaphex 1cdd0e47cb Backport polling updates - mouse smoothness was broken in cores 2017-05-29 20:30:01 +02:00
twinaphex b4e16c243c Style nits 2017-05-29 14:58:30 +02:00
twinaphex 2fa401ef26 Remove #if 0 2017-05-29 14:54:25 +02:00
twinaphex 5521d58994 Only use runloop_get_system_info function outside retroarch.c 2017-05-29 05:38:33 +02:00
twinaphex 30047af7a3 Get rid of these strdup leaks 2017-05-29 04:39:12 +02:00
twinaphex a58cbf6e42 Call libretro_free_system_info from RARCH_CTL_PREINIT 2017-05-29 03:26:05 +02:00
twinaphex 3fbed8df27 (Menu) Menu driver no longer uses a duplicate system info
struct
2017-05-28 17:21:57 +02:00
twinaphex c74104f8c9 Get rid of RARCH_MENU_CTL_SYSTEM_INFO_* 2017-05-28 16:25:46 +02:00
twinaphex dbbcba41a5 Clean this mess up 2017-05-28 15:03:03 +02:00
twinaphex 11576f1d99 Cleanup 2017-05-27 03:43:53 +02:00
Jean-André Santoni 329447f51c Fix warning 2017-05-25 15:40:29 +02:00
twinaphex 4f678dfdfc Cleanups 2017-05-25 15:04:55 +02:00
twinaphex 80b5bcd16c Cut down on some code duplication 2017-05-24 02:02:01 +02:00
twinaphex a8b91ee910 Respect C89 rules 2017-05-21 23:55:53 +02:00
twinaphex 08521a02ba Move input code to runloop_check_state 2017-05-21 23:53:39 +02:00
twinaphex 954b95cc81 Cleanups 2017-05-21 22:43:40 +02:00
twinaphex d7de9facc3 Simplify input_keys_pressed 2017-05-21 22:31:15 +02:00
twinaphex 77d83b4782 Cleanups 2017-05-21 21:55:20 +02:00
twinaphex 8bf552dacd Move this code to retroarch.c 2017-05-21 21:42:13 +02:00
twinaphex f8f25602e8 Get rid of old_input variable 2017-05-21 21:24:01 +02:00
twinaphex a35e452ec3 Use trigger_input only for menu 2017-05-21 21:19:07 +02:00
twinaphex 68ecade37d Revert "Call button combo toggle for quick menu toggle from runloop_check_state"
This reverts commit 4d4b00f877.
2017-05-21 20:57:36 +02:00
twinaphex 4d4b00f877 Call button combo toggle for quick menu toggle from runloop_check_state 2017-05-21 20:53:33 +02:00
twinaphex 184b519f84 Cleanups 2017-05-21 20:43:55 +02:00
twinaphex 136a435c43 Fix keys while in binding mode 2017-05-21 20:42:46 +02:00
twinaphex c64c072b43 runloop_cmd_triggered no longer needed 2017-05-21 16:36:27 +02:00
twinaphex cae04ff5f2 Cleanups 2017-05-21 16:36:08 +02:00
twinaphex 1d6b24b545 Optimize pause checks 2017-05-21 16:31:14 +02:00
twinaphex aeddb18e31 Rewrite netplay checks 2017-05-21 14:18:10 +02:00
twinaphex 759b963c2f Rewrite menu toggle check 2017-05-21 13:54:17 +02:00
twinaphex d08b785f9d Rewrite quit key handling 2017-05-21 13:50:59 +02:00
twinaphex 24c7bcb196 Rewrite more code 2017-05-21 13:39:29 +02:00
twinaphex 1e02bd3455 Rewrite fast forward code 2017-05-21 13:32:36 +02:00
twinaphex d1b50acfee Rewrite check shader next/prev 2017-05-21 13:26:25 +02:00
twinaphex 45477658e1 Rewrite cheats 2017-05-21 13:17:48 +02:00
twinaphex f85ab1f535 Cleanups 2017-05-21 13:06:48 +02:00
twinaphex 66b1ad99d4 Rewrite RARCH_PAUSE_TOGGLE 2017-05-21 12:59:36 +02:00
twinaphex f847548178 Cleanup 2017-05-21 12:57:28 +02:00
twinaphex d61e5504a7 Get rid of static functions 2017-05-21 12:09:24 +02:00
twinaphex a19128422d Cleanup 2017-05-21 12:06:08 +02:00
twinaphex cd4c17624a Create check_reset 2017-05-21 12:00:03 +02:00
twinaphex 004a299b74 Create check_savestates 2017-05-21 11:52:36 +02:00
twinaphex be2fb7b10d Refactor savestate slot increase/decrease 2017-05-21 11:46:26 +02:00
twinaphex 999f7971ed Move macros 2017-05-21 11:36:47 +02:00
twinaphex 3ad2d593fb Cleanups 2017-05-21 10:37:39 +02:00
twinaphex a0924a414f Get rid of some unnecessary function callback wrapper functions 2017-05-21 09:30:32 +02:00
twinaphex e02cfe8cb0 Call core_poll at top of runloop_iterate only once 2017-05-20 22:55:34 +02:00
twinaphex 188d213c8d Cleanups 2017-05-20 19:24:21 +02:00
twinaphex 5f75ce3f12 Cleanups 2017-05-20 14:17:14 +02:00
twinaphex c1190551b2 Get rid of RUNLOOP_STATE_NONE 2017-05-20 14:14:27 +02:00
twinaphex 40a287a7c1 Turn function into static function 2017-05-20 11:34:51 +02:00
twinaphex 30d032ba5a Prevent some calls to menu_driver_is_alive() 2017-05-19 16:29:11 +02:00
twinaphex 21a58f13ec Revert this - seems to have come at a performance cost 2017-05-19 16:26:00 +02:00
twinaphex 59fb7700b8 Combine menu_driver.c and menu_display.c 2017-05-19 15:25:14 +02:00
twinaphex 65b740a5ff Use some local variables 2017-05-17 08:51:49 +02:00
twinaphex 54c526f1e2 Cache menu_driver_is_alive function call 2017-05-17 08:47:23 +02:00
twinaphex 204f0183e1 Header cleanups 2017-05-17 05:06:52 +02:00
twinaphex 126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
twinaphex 67610b8263 Update task_audio_mixer.c 2017-05-15 11:07:12 +02:00
twinaphex bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
twinaphex 06f3feec61 Cleanups 2017-05-15 04:39:09 +02:00
twinaphex 160c8167d6 Cleanups 2017-05-15 04:36:48 +02:00
twinaphex e2c7671e9f Create rarch_menu_running/rarch_menu_running_finished 2017-05-15 04:31:40 +02:00
twinaphex c898ef1d6d Attempt to copy over audio mixer data 2017-05-15 01:28:46 +02:00
twinaphex b4e3a22fe6 Update 2017-05-14 23:59:06 +02:00
twinaphex 949a5c76fe Cleanup 2017-05-14 23:58:48 +02:00
twinaphex ec96fe89e9 Add callback function 2017-05-14 23:30:45 +02:00
twinaphex 3afd2497d2 Add test 2017-05-14 23:27:03 +02:00
twinaphex a7d09733a6 Get rid of rarch_ctl/runloop_ctl calls from menu_display.c 2017-05-13 20:00:51 +02:00
twinaphex 45a648b042 Cleanups 2017-05-13 18:51:16 +02:00
twinaphex d87e1c57d6 Cleanups 2017-05-13 18:20:14 +02:00
twinaphex e7061a8d2a Cleanups 2017-05-12 03:45:49 +02:00
twinaphex fa4a8b8bbd Cleanups 2017-05-12 03:39:37 +02:00
twinaphex 2ce9d71553 Start cutting down on runloop_ctl actions 2017-05-11 09:20:35 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex 0eec872442 Kill some rarch_ctl actions 2017-05-08 03:59:02 +02:00
twinaphex 9605c01c49 Rename command_event_quit to retroarch_main_quit 2017-05-08 03:54:51 +02:00
twinaphex e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex 5c024f1cd8 Fix memory leak 2017-04-28 21:47:26 +02:00
twinaphex 05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex 7bbd20b31d Move int settings 2017-04-28 19:12:48 +02:00
twinaphex ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex 0e1406f3f1 Go through configuration_ wrapper functions 2017-04-27 23:34:47 +02:00
twinaphex 3ec5816259 Rewrite RUNLOOP_CTL_SYSTEM_INFO_GET 2017-04-23 16:41:26 +02:00
twinaphex 6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
Zoran Vuckovic 129151d5fc add wasapi audio driver 2017-04-11 00:24:37 +02:00
twinaphex 8c89ec158c Update copyrights 2017-03-22 03:09:18 +01:00
twinaphex 58c08c0c02 Cleanups 2017-02-27 09:33:20 +01:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex 19bf048b68 Add log message 2017-02-26 06:44:35 +01:00
twinaphex e2b3c72b9d Add ifdef around this 2017-01-29 05:06:14 +01:00
Twinaphex 2596de53ec Merge pull request #4523 from fr500/master
add support for no content cores
2017-01-29 04:51:50 +01:00
radius ca926f0a50 fix saving for contentless cores 2017-01-28 22:48:51 -05:00
Alcaro 1ad8a72635 Make sure this shows up in --verbose logs 2017-01-28 18:03:02 +01:00
twinaphex 018cb7ebe6 Add another parameter to content_get_status 2017-01-25 15:51:57 +01:00
twinaphex 361bd471de Create content_get_status 2017-01-25 15:44:21 +01:00
Alcaro 6ff36461b4 Fix #4493 in a less incompatible way 2017-01-25 00:34:58 +01:00
twinaphex 0d5b3b9273 Create menu_driver_is_alive 2017-01-23 00:37:52 +01:00
twinaphex 05d455a8ce Cleanups 2017-01-17 20:07:41 +01:00
twinaphex aa59b33931 Use input_config_set_device 2017-01-17 19:59:33 +01:00
twinaphex c3f16de4d4 Use HAVE_COMMAND ifdef here 2017-01-17 15:37:40 +01:00
twinaphex cb64f28950 Create drivers_init 2017-01-16 22:04:57 +01:00
twinaphex 77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
Twinaphex 76c4a4f7a0 Merge pull request #4279 from sethk/macos_cleanup
macOS cleanup
2016-12-19 23:15:10 +01:00
Gregor Richards f7f6590156 Goodbye delay_frames! stateless_mode is the new delay_frames=0 2016-12-18 19:28:43 -05:00
Gregor Richards 9b2270f5d4 Say goodbye to spectator mode (for now) 2016-12-18 19:28:42 -05:00
Seth Kingsley b690fb2abc Use native getopt_long() on macOS 2016-12-17 16:56:40 -08:00
twinaphex 96ffd8e025 Revert "Remove HAVE_COMPRESSION ifdefs in file_path.c"
This reverts commit 4103b70833.
2016-12-17 12:55:38 +01:00
twinaphex 4103b70833 Remove HAVE_COMPRESSION ifdefs in file_path.c 2016-12-17 12:20:49 +01:00
Gregor Richards 22798e26c7 delay_frames naming consistency
Unifying all of the various inconsistent names of delay_frames into a
single name: delay_frames.
2016-12-01 13:34:37 -05:00
Diego Viola 59c99a59e7 Fix typo 2016-11-29 11:23:43 -02:00
twinaphex 46f3e1878e Add more translatable strings 2016-11-08 15:17:02 +01:00
twinaphex 70cbecd9f8 Reduce char variable sizes 2016-10-27 10:33:50 +02:00
twinaphex f017593501 Reduce size of some char variables and get rid of some implicit memsets 2016-10-27 09:44:20 +02:00
twinaphex 62c80085a6 Cleanup some labels 2016-10-23 00:35:40 +02:00
twinaphex c3ab8800f4 Prevent implicit memsets 2016-10-21 05:57:40 +02:00
Henri Gomez 4b6f93f6eb ASIMD also in retroarch.c 2016-10-18 17:39:02 +02:00
Higor Eurípedes 330a8d7594 Make thread local storage optional 2016-10-17 21:24:03 -03:00
Higor Eurípedes dd36cff174 (retroarch.c) Add RARCH_CTL_IS_MAIN_THREAD 2016-10-17 20:50:19 -03:00
twinaphex 2a139b7d72 Add frontend_driver_attach_console/frontend_driver_detach_console 2016-10-09 17:15:50 +02:00
Gregor Richards 3953018547 Clarifications to Netplay menu and removing obsolete setting
This commit:
 * Reorders the Netplay settings menu to put more useful options at the
   top.
 * Renames the swap_input setting from "Swap Netplay Input", which is
   meaningless and confusing, to "Netplay P2 Uses C1", which is oddly
   truncated but at least true.
 * Removes the is_client setting altogether, as that's no longer how
   client vs. server mode is determined (each are separate options when
   enabling Netplay)
2016-10-03 17:28:20 -04:00
twinaphex 8e0d947dd5 Rename current_core_explicitly_set 2016-10-03 16:42:08 +02:00
Twinaphex 8963db204d Merge pull request #3721 from GregorR/netplay-overrides
Making netplay-related settings overrides behave consistently
2016-10-03 16:11:51 +02:00
twinaphex 25f27c3f4c Get rid of path_get_content 2016-10-03 15:39:57 +02:00
Gregor Richards 4f489fb793 Making netplay-related settings overrides behave consistently 2016-10-03 08:31:21 -04:00
twinaphex 94e245315b Create dir_set function 2016-10-03 08:20:33 +02:00
Gregor Richards e41ac34561 Get rid of global->netplay
Moved settings values into settings->netplay, and global->netplay.enable
is moved into netplay itself, and is no longer a configuration value
whatsoever, as that conflicts with the behavior of the netplay menu.
2016-10-02 22:13:34 -04:00
twinaphex f100dde751 (Wii) Buildfixes 2016-10-01 09:52:07 +02:00
twinaphex d376ea0c9d Merge fixes 2016-10-01 08:24:02 +02:00
twinaphex 8f163e6972 Revert "Move global->name to paths.c"
This reverts commit 6ee7b733aa.
2016-10-01 08:18:23 +02:00
twinaphex 243dc139d2 Revert "Create path server and add to paths.c"
This reverts commit 00a1e3716a.
2016-10-01 08:17:44 +02:00
twinaphex 7d20224ff0 Revert "Move path settings to paths.c"
This reverts commit 3a7e9a7052.
2016-10-01 08:17:13 +02:00
twinaphex 2583390d31 Revert "Create dir_set"
This reverts commit d973e528f6.
2016-10-01 08:16:07 +02:00
twinaphex 4567fdef52 Take out libretro_device from global struct 2016-10-01 06:22:57 +02:00
twinaphex 2dcc5b8e43 Add LIBRETRO_DEVICE to unset/set/is functions for override settings 2016-10-01 06:14:30 +02:00
twinaphex edc3fa9024 Add to is_set 2016-10-01 06:06:07 +02:00
twinaphex 67432fde57 Add void * param to is_set 2016-10-01 06:05:08 +02:00
twinaphex 107a962171 Add RARCH_OVERRIDE_SETTING_LIBRETRO_DEVICE 2016-10-01 06:02:18 +02:00
twinaphex 3592b35573 Add second param to override_set 2016-10-01 05:51:03 +02:00
twinaphex 5ff13df40f Move global->record to record_driver.c 2016-10-01 00:47:05 +02:00
twinaphex d973e528f6 Create dir_set 2016-09-30 07:15:30 +02:00
twinaphex 3a7e9a7052 Move path settings to paths.c 2016-09-30 06:33:57 +02:00
twinaphex 00a1e3716a Create path server and add to paths.c 2016-09-30 06:22:56 +02:00
twinaphex 6ee7b733aa Move global->name to paths.c 2016-09-30 06:11:11 +02:00
twinaphex 1266c0609a Create path_is_empty 2016-09-30 04:43:16 +02:00
twinaphex 228886062b Create path_clear 2016-09-30 04:31:19 +02:00
twinaphex 1cf45d785f Turn path_set_names into static function 2016-09-30 04:19:57 +02:00
twinaphex e98b55fe3f Group some ifdefs together 2016-09-29 21:10:35 +02:00
twinaphex 9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
twinaphex 3d098839ca Update path_get 2016-09-29 08:46:41 +02:00
twinaphex 0b1270458c Update path_set 2016-09-29 07:49:54 +02:00
twinaphex 7e1a61570a Add more functionality to path_set 2016-09-29 07:46:21 +02:00
twinaphex 199731fc84 Create path_set 2016-09-29 07:36:09 +02:00
twinaphex 89505fa011 Get rid of global->patch 2016-09-29 05:46:31 +02:00
twinaphex 538aec6386 Add more RARCH_CTL_ actions 2016-09-29 05:36:21 +02:00
twinaphex 90af64769d Get rid of global->sram 2016-09-28 07:27:39 +02:00
twinaphex 0104302e18 Add new RARCH_CTL calls 2016-09-28 07:23:14 +02:00
twinaphex 5bce79369a Get rid of global->sram.use, turn it into static boolean
variable inside rarch_ctl
2016-09-28 07:17:34 +02:00
twinaphex a1488ae34f Move subsystem path to paths.c 2016-09-25 15:49:09 +02:00
twinaphex 2d11ea71cc Move runloop_fullpath to paths.c 2016-09-23 03:39:44 +02:00
twinaphex 2277428f52 Move more global->savefiles usage to task_save.c 2016-09-19 04:09:27 +02:00
twinaphex 082476f7b2 Move code to paths.c 2016-09-19 03:03:31 +02:00
twinaphex 5c97d5b46b Move global->name.base to paths.c 2016-09-17 19:41:27 +02:00
twinaphex 4d317ba5d7 Update dirs.c 2016-09-17 14:49:35 +02:00
twinaphex d03b6df573 retroarch.c - cleanup 2016-09-17 14:23:44 +02:00
twinaphex ef02fb8a96 Refactor append config code 2016-09-17 14:14:58 +02:00
twinaphex 0aa2cf5019 Create path_set_config and path_is_config_empty 2016-09-17 13:04:12 +02:00
twinaphex ec45dbaf0c Move retroarch_path_is_media_type to paths.c 2016-09-17 12:56:19 +02:00
twinaphex b89def5d8f Rename config_get/config_set functions 2016-09-17 12:51:44 +02:00
twinaphex 1dd28bdf9f Move retroarch_set_pathnames/retroarch_fill_pathnames 2016-09-17 12:25:26 +02:00
twinaphex d8b5e3c1ec Move more code to paths.c 2016-09-17 12:22:51 +02:00
twinaphex 0b0314d4ff Move more functions to paths.c 2016-09-17 12:19:17 +02:00
twinaphex 069dbce5c5 Add more functions to paths.c 2016-09-17 12:16:11 +02:00
twinaphex 005b86eb5d Create paths.c 2016-09-17 12:10:46 +02:00
Gregor Richards 2a0202ccf5 Making Netplay check frequency configurable. 2016-09-15 23:06:32 -04:00
twinaphex 49d5210256 Should make Start Core work on statically linked RA now 2016-09-12 08:37:40 +02:00
twinaphex 6b66377ed6 retroarch.c - set default values 2016-09-11 20:04:41 +02:00
twinaphex 16fea8d26d Create retroarch_main_init_media 2016-09-11 19:57:06 +02:00
twinaphex bece01093d Cleanups - retroarch_main_init 2016-09-11 19:53:34 +02:00
twinaphex b93ef046a7 Header include cleanups 2016-09-11 16:31:23 +02:00
twinaphex 5aaebcfa62 Header include cleanups 2016-09-08 06:07:43 +02:00
twinaphex 8320466824 Add HAVE_CONFIG_H ifdefs 2016-09-06 23:52:33 +02:00
Brad Parker e64a3c4956 associate more media extensions with ffmpeg 2016-09-06 12:37:08 -04:00
twinaphex c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00
twinaphex f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex b6daaed566 Rename git_version.c to version_git.h, create separate
version.h file
2016-09-01 17:49:28 +02:00
twinaphex b0a8f72724 More translated strings 2016-08-22 13:11:40 +02:00
twinaphex aa2af0b61f Refactor has_set settings 2016-08-01 21:51:23 +02:00
twinaphex ef7ce5beee Create RARCH_OVERRIDE_SETTING_VERBOSITY 2016-08-01 20:54:16 +02:00
twinaphex 01de39bf0b Cleanups 2016-08-01 20:48:02 +02:00
twinaphex ba32586d1a Rewrite has_set.libretro 2016-08-01 20:47:19 +02:00
twinaphex 6fb39e4f7f Iterate and unset override settings in retroarch_parse_input 2016-08-01 20:43:26 +02:00
twinaphex 39aba8e36f Create override setting functions 2016-08-01 20:41:42 +02:00
twinaphex 45d7b7b459 Create retroarch_override_setting_is_set 2016-08-01 20:39:21 +02:00
twinaphex 3402c0d420 When building without menu support, if we pass no arguments to
retroarch at the commandline, show the help message instead of
outright crashing
2016-08-01 18:35:56 +02:00
Andre Leiradella 292335b84c Added an embedded HTTP server to RetroArch; Mapped the /mmaps URI to a JSON-based RESTful API to retrieve memory maps 2016-07-31 22:45:01 +01:00
twinaphex 2be127c04a Start wrapping settings->path.libretro 2016-07-24 11:12:26 +02:00
twinaphex 7f9168ff18 Cleanups 2016-07-19 06:33:56 +02:00
Sebastien Ronsse 21a82e3622 retroarch: Refactor retroarch_main_init core initialization failure handling 2016-07-19 14:27:46 +10:00
twinaphex 88c767fee9 When a core returns false in retro_load_game, it should still
let us stay inside the menu
2016-07-19 06:20:19 +02:00
twinaphex 296c869b4c Prevent null pointer dereference 2016-07-12 20:51:45 +02:00
twinaphex dc4275b673 Should autosave state now at exit 2016-07-01 06:55:44 +02:00
twinaphex 5f71ecc1d1 Create fill_pathname_join_special_ext 2016-06-30 04:59:57 +02:00
twinaphex 08f26fafbd Create FILE_PATH_OPT_EXTENSION 2016-06-29 18:45:12 +02:00
twinaphex 7a745c3f70 Use string_is_empty 2016-06-28 11:02:51 +02:00
twinaphex 5045a0faff Add optional logging 2016-06-28 04:23:57 +02:00
twinaphex 64c85771b2 Create FILE_PATH_STR extensions 2016-06-28 01:10:58 +02:00
twinaphex a6a0960f77 Cleanup 2016-06-27 07:48:22 +02:00
Sebastien Ronsse 95ad02e742 retroarch: Fix core type detection when cores are excplicitely set 2016-06-27 14:13:09 +10:00
twinaphex f6bbe69096 Use string_is_empty 2016-06-26 10:33:46 +02:00
twinaphex 961daf8067 Cleanup 2016-06-26 10:27:44 +02:00
Twinaphex 88cc0ce8bb Remove unused variables 2016-06-26 10:17:25 +02:00
twinaphex 016983c9eb Add FILE_PATH_RTC_EXTENSION 2016-06-26 10:15:25 +02:00
twinaphex fcc238d310 Expand file_path_str 2016-06-26 09:56:55 +02:00
twinaphex b86274aa95 Cleanup 2016-06-25 07:41:10 +02:00
twinaphex 35ea096db7 Move hash around 2016-06-20 18:30:45 +02:00
twinaphex a585017208 Rename MENU_FILE_ to FILE_TYPE_ 2016-06-20 15:50:37 +02:00
twinaphex 450e1f4746 Rename menu_hash_to_file_type 2016-06-20 15:33:22 +02:00
twinaphex 7d93f63e6a Move menu_hash_to_file_type to msg_hash 2016-06-20 06:44:05 +02:00
twinaphex f764980eb8 Indenting nits 2016-06-20 04:51:36 +02:00
twinaphex 46cdea48c2 Add more translatable strings 2016-06-20 03:54:42 +02:00
twinaphex 284f8cfd23 Remove menu_hash_ files 2016-06-20 03:35:09 +02:00
twinaphex 8c75bc7618 Cleanups 2016-06-18 02:20:13 +02:00
twinaphex 0c87175a61 Remove unused variables 2016-06-11 22:19:40 +02:00
twinaphex 6f8b6a22b7 Creat APPLICATION_SPECIAL_DIRECTORY_CONFIG 2016-06-11 21:55:55 +02:00
twinaphex 1d3d07ad7d Cleanup 2016-06-05 19:39:57 +02:00
twinaphex 5004113ce1 Cleanup 2016-06-05 18:27:31 +02:00
radius f8274800fb fix savefile bug when launching from the commandline 2016-06-05 11:21:16 -05:00
twinaphex 5b52098c54 Reimplement verbosity 2016-05-31 04:42:04 +02:00
twinaphex 954aaa3fc6 More preparatory work for net retropad core 2016-05-27 21:16:25 +02:00
twinaphex c16cae7ef9 Create retroarch_set_current_core_type 2016-05-27 19:26:45 +02:00
twinaphex 1c868ffaa2 Cleanups 2016-05-27 17:27:38 +02:00
twinaphex 49f050b386 Move config_replace to configuration.c 2016-05-27 16:42:20 +02:00
Andrés bf04b798fe Merge pull request #3037 from leiradel/cheevos
added all console ids; added fixup for pce; fixed mmap matching
2016-05-26 22:14:31 -05:00
Andre Leiradella d791da9507 undefined debug macros 2016-05-27 00:06:03 -03:00
twinaphex dd03076976 Remove config_realloc 2016-05-27 05:05:27 +02:00
twinaphex 03ded43280 Prevent explicit null dereferenced warnings 2016-05-26 18:09:46 +02:00
radius 73c78947b0 fix set_paths_redirect edge case 2016-05-24 23:06:20 -05:00
radius 08c136aab2 fix a logging error 2016-05-24 21:41:53 -05:00
Sebastien Ronsse 07b3a081c0 retroarch: Fix savefile directory memory leak 2016-05-24 09:41:00 +10:00
twinaphex 09b10943b2 retroarch_get_current_savefile_dir - prevent memory leak 2016-05-23 14:42:22 +02:00
radius dbb8cf7e32 AUTOSAVE should happen before loading the dummy core, not after 2016-05-20 17:36:55 -05:00
twinaphex ce240dd47f Move async job code to retroarch.c 2016-05-17 14:40:04 +02:00
twinaphex fcf2decb2e Remove persist argument 2016-05-17 09:07:41 +02:00
twinaphex e10270d459 Delete runloop_prepare_dummy 2016-05-16 17:19:16 +02:00
twinaphex c0e447a3af Get rid of ununused variable 2016-05-16 08:46:06 +02:00
twinaphex c1633a8695 Add jpeg to retroarch_print_features 2016-05-14 16:40:09 +02:00
twinaphex 8b9cabf41d Show VFPv3/VFPv4 2016-05-14 13:37:07 +02:00
twinaphex df3b090d7a Revert "Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info"
This reverts commit 35bf38e05c.
2016-05-12 09:37:21 +02:00
twinaphex 35bf38e05c Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info 2016-05-12 09:25:52 +02:00
twinaphex c1bfe795f8 Create runloop_prepare_dummy 2016-05-12 09:04:31 +02:00
twinaphex 367150b487 Cleanups 2016-05-11 21:48:30 +02:00
twinaphex 1abe81b222 Create retroarch_replace_config 2016-05-11 21:44:52 +02:00
twinaphex cf3f8d587c Cleanup 2016-05-11 20:53:28 +02:00
twinaphex a082198d4b Change retroarch_main_init 2016-05-11 20:50:34 +02:00
twinaphex 0e972b9804 Rename rarch_git_version to retroarch_git_version 2016-05-11 20:44:24 +02:00
twinaphex 7ebfe1b66d Create retroarch_set_pathnames 2016-05-11 04:32:29 +02:00
twinaphex 030513bcee Create retroarch_fill_pathnames 2016-05-11 04:29:01 +02:00
twinaphex 95a6428915 RARCH_CTL_FORCE_QUIT is the same as RARCH_CTL_QUIT 2016-05-11 04:24:27 +02:00
twinaphex b9df6f52f5 Kill off a bunch of RARCH_CTL_LOAD_CONTENT enums 2016-05-11 04:22:22 +02:00
twinaphex 9aed52ac65 Move performance.c to libretro-common/features/features_cpu.c 2016-05-10 20:31:27 +02:00
twinaphex 35ea37b37f Revert "Move cpu_features to libretro-common"
This reverts commit 2b8ff3bf38.
2016-05-10 09:32:24 +02:00
twinaphex 2b8ff3bf38 Move cpu_features to libretro-common 2016-05-10 09:27:29 +02:00
twinaphex 0d371def5c Refactor performance.c code 2016-05-10 09:17:04 +02:00
twinaphex f15f28ce02 Refactor some command code 2016-05-09 21:23:53 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex 523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex 3c74031c2f Rename rarch_cmd to command 2016-05-09 20:10:08 +02:00
twinaphex 6ae20f2016 Create managers/ dir - move cheats.c and state_manager.c to it 2016-05-09 18:20:52 +02:00
twinaphex b72f7001de (retroarch.c) Rename functions 2016-05-09 07:24:28 +02:00
twinaphex f8a7154557 Rename rarch_ functions 2016-05-09 07:09:26 +02:00
twinaphex 807b5c6325 Get rid of audio_driver_ctl 2016-05-08 18:24:25 +02:00
Hans-Kristian Arntzen d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
twinaphex e165954395 Rename libretro_version_1 to core_impl 2016-05-08 05:29:10 +02:00
twinaphex 5c269d38a1 (content.c) Remove content_ctl 2016-05-08 05:17:31 +02:00
twinaphex ae9ea8f2db (MSVC) Buildfixes 2016-05-08 04:04:50 +02:00
twinaphex 80a453bad1 De-ioctlify command.c 2016-05-08 00:25:04 +02:00
twinaphex 895783d854 Move some variables 2016-04-28 20:49:13 +02:00
twinaphex 7dffc6286b Internally change directory settings 2016-04-28 19:26:02 +02:00
twinaphex 94c042f686 (driver.c) Cleanups 2016-04-10 16:40:36 +02:00
twinaphex 695a93e071 Cleanups 2016-04-10 15:52:06 +02:00
twinaphex 6e3416b990 Add RARCH_CTL_{USERNAME} 2016-04-06 01:58:11 +02:00
twinaphex 43860e384a Fixes crash on Close Content on Android.
Bizarre usage of -L argument caused it along with --menu
2016-04-05 23:22:33 +02:00
twinaphex c536e0fbdc (iOS) argv needs to always be non-NULL 2016-04-05 20:53:02 +02:00
Twinaphex 90b1db7178 (iOS) Gets past the crash at startup if argv is NULL 2016-04-02 01:05:24 +02:00
Twinaphex b454192a43 Merge pull request #2822 from libretro/staging
Vulkan: Another stab at cleaning up implicit menu vs. loading content handling
2016-03-26 20:20:11 +01:00
Hans-Kristian Arntzen b96d365968 Only set CORE_TYPE_PLAIN for non-directory -L.
Fixes crash on Android startup which uses -L <core-dir> CLI argument.

-L can also set core directory, even though it's not supposed to
be used anymore.

Also, on Android, the cores directory might not be populated, so ignore
arguments which are not valid.
2016-03-25 23:57:11 +01:00
twinaphex e41127459e Rename 'filestream' functions 2016-03-24 04:09:25 +01:00
Hans-Kristian Arntzen 23c8150b6e Reintroduce new parse_input scheme.
This reverts commit 2323cef8d1.
2016-03-23 00:29:52 +01:00
twinaphex 2323cef8d1 Revert "Attempt properly handling CLI options ..."
This reverts commit 6f8a1e8ab2.
2016-03-22 21:42:30 +01:00
twinaphex ab1c4d0c4d Header include cleanups 2016-03-22 03:49:05 +01:00
twinaphex 4c14267f5b Create core_type.h 2016-03-22 02:56:06 +01:00
Hans-Kristian Arntzen 6f8a1e8ab2 Attempt properly handling CLI options ... 2016-03-21 17:59:40 +01:00
Twinaphex 2c8b558dac Revert "Fix "retroarch --verbose"." 2016-03-21 17:21:17 +01:00
Hans-Kristian Arntzen fd443082a7 Fix "retroarch --verbose".
We want to go straight to menu in this case, so make a special case
for this fairly common pattern.
2016-03-21 17:11:39 +01:00
twinaphex 3720cf87e7 Rename retro_file to file_stream 2016-03-20 16:29:14 +01:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex 97981c7a9d Header cleanups 2016-03-20 04:44:29 +01:00
twinaphex 91d14cbb62 Revert "Create RARCH_NETPLAY_CTL_IS_ENABLED, RARCH_NETPLAY_CTL_SET_ENABLE,"
This reverts commit 1a978b0f3c.
2016-03-18 00:32:02 +01:00
twinaphex 1a978b0f3c Create RARCH_NETPLAY_CTL_IS_ENABLED, RARCH_NETPLAY_CTL_SET_ENABLE,
and RARCH_NETPLAY_CTL_USNET_ENABLE
2016-03-14 15:03:42 +01:00
radius 761ece0f3c set SAVE directory correctly when using content dir on cores that don't use the SRAM interface 2016-03-10 17:36:46 -05:00
twinaphex 2d158b809c Cleanups 2016-03-04 19:29:22 +01:00
twinaphex 81e13aa2c1 (command.c) Cut down on some functions 2016-03-04 17:35:44 +01:00
twinaphex 6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
radius 66a8e08252 remove saving remapping, use the automated method instead 2016-02-21 13:55:04 -05:00
twinaphex d4daf25c2a Remove stdin stub paths 2016-02-17 07:15:51 +01:00
twinaphex d78787d70e Add feature to print_features 2016-02-17 01:55:35 +01:00
twinaphex bebf9abfb2 Fix RARCH_CTL_UNSET_STDIN_CLAIMED 2016-02-16 05:19:04 +01:00
twinaphex 9097727452 Revert "Fix RARCH_CTL_UNSET_STDIN_CLAIMED"
This reverts commit 25787c2ce6.
2016-02-16 05:16:44 +01:00
twinaphex 25787c2ce6 Fix RARCH_CTL_UNSET_STDIN_CLAIMED 2016-02-16 05:09:57 +01:00
twinaphex 4aa36501fb Call RARCH_CTL_VERIFY_STDIN_PATHS 2016-02-15 21:30:11 +01:00
twinaphex d3a9b04223 Add back stdin features - pt. 1 2016-02-15 21:27:14 +01:00
twinaphex 33f0f72adc Cleanups 2016-02-10 04:30:33 +01:00
twinaphex 31112e937b Move task_queue.c to libretro-common 2016-02-09 18:11:11 +01:00
twinaphex 4210ee197b Rename tasks.c to task_queue.c 2016-02-09 17:55:15 +01:00
twinaphex 0378463130 Remove configuration.h dependencies from tasks.c 2016-02-09 17:41:30 +01:00
radius 14cd4af752 don't create directories when checking for game options, only create when the user selects the menu entry 2016-02-08 00:07:41 -05:00
twinaphex 26737dbf49 N/A 2016-02-07 13:33:56 +01:00
twinaphex 1b2cf74e12 Add more ways to gracefully fail during content loading 2016-02-07 13:08:14 +01:00
twinaphex ab64daf5aa Cleanups 2016-02-05 13:51:30 +01:00
Twinaphex a120ab1084 Cleanup RARCH_CTL_DEINIT 2016-02-04 20:26:36 +01:00
twinaphex b646b548ff Create menu_content_ctl 2016-02-04 14:51:01 +01:00
twinaphex d764c51eae Style nits 2016-02-03 17:07:45 +01:00
twinaphex f70a082626 Create event_cmd_exec - get rid of libretro_private.h 2016-02-03 16:58:06 +01:00
twinaphex 8670c2e405 Create RARCH_CTL_MAIN_INIT and RARCH_CTL_MAIN_DEINIT 2016-01-30 05:03:15 +01:00
twinaphex 912b62dca9 Create RARCH_CTL_SET_PATHS 2016-01-29 11:00:01 +01:00
twinaphex a5e8615091 Create TASK_CTL_INIT 2016-01-28 09:52:28 +01:00
twinaphex 4e8ad770e6 Cleanups 2016-01-27 19:56:14 +01:00
twinaphex d1b53a14a1 Create RARCH_CTL_SET_SRAM_ENABLE 2016-01-27 19:53:07 +01:00
twinaphex 8fe012afe4 Modify RARCH_CTL_SET_PATHS_REDIRECT 2016-01-27 19:48:27 +01:00
twinaphex 3728240162 Move some code 2016-01-27 19:45:54 +01:00
twinaphex 3b38e2fe4c Move this above init_libretro_sym 2016-01-27 19:30:13 +01:00
twinaphex 1e044f38ad Move RARCH_CTL_INIT_SYSTEM_AV_INFO to libretro_version_1.c 2016-01-27 08:21:41 +01:00
twinaphex 6a7b2aed5c Simplifications 2016-01-27 08:17:12 +01:00
twinaphex 392fee9023 Create CORE_CTL_VERIFY_API_VERSION 2016-01-27 08:13:54 +01:00
twinaphex 76f068f852 Simplify RARCH_CTL_VERIFY_API_VERSION 2016-01-27 08:11:42 +01:00
twinaphex 5016ebd344 Create CORE_CTL_RETRO_GET_SYSTEM_AV_INFO 2016-01-27 03:40:02 +01:00
twinaphex 317dda00ea Respect 80-char width limit 2016-01-26 05:38:40 +01:00
twinaphex 390b209cba Cleanups 2016-01-26 02:31:10 +01:00
twinaphex 2a9b2d7759 Cut down on duplicated code surrounding game options files 2016-01-26 02:24:59 +01:00
twinaphex fd94cbdefe Move rarch_main_init_wrap to frontend.c and turn it into
a static function
2016-01-25 05:45:37 +01:00
twinaphex 854937483d Move rarch_playlist_load_content to menu_content.c 2016-01-25 05:43:27 +01:00
twinaphex 4630d625f1 Move rarch_defer_core to menu_content.c and rename it
menu_content_defer_core
2016-01-25 05:38:22 +01:00
twinaphex 4381370f35 menu_content_load - cleanup 2016-01-25 05:31:21 +01:00
twinaphex 22bf74ff37 Start moving code to menu_content.c 2016-01-25 04:44:54 +01:00
twinaphex 78395c449b rarch_defer_core: cleanups 2016-01-25 03:52:41 +01:00
twinaphex 11f7735965 Create RARCH_CTL_INIT_SYSTEM_AV_INFO 2016-01-22 15:43:40 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex 454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +01:00
twinaphex da2ce48fb2 Silence warning 2016-01-20 03:44:01 +01:00
twinaphex 6c5b2ff0b5 Turn corrent_core_type into static variable 2016-01-20 03:15:50 +01:00
twinaphex 3190d8aba2 Create RARCH_CTL_IS_PLAIN_CORE 2016-01-20 03:10:52 +01:00
twinaphex 1eac61e9a0 Create RARCH_CTL_IS_DUMMY_CORE 2016-01-19 23:44:32 +01:00
twinaphex 01d58f8681 Create RARCH_CTL_IS_INITED, RARCH_CTL_SET_INITED, RARCH_CTL_UNSET_INITED 2016-01-19 23:26:47 +01:00
twinaphex 5643b7d3d8 Add CONTENT_CTL_DOES_NOT_NEED_CONTENT and CONTENT_CTL_SET_DOES_NOT_NEED_CONTENT 2016-01-19 23:15:19 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex 08e73ea144 Non_HAVE_MEN codepath fixes - courtesy of Karlton
t # Please enter the commit message for your changes. Lines starting
2016-01-02 02:54:20 +01:00
twinaphex a93cda3aef Move current_savestate_dir to set_paths_redirect as local variable 2015-12-26 09:56:53 +01:00
twinaphex 91f61afa16 Start using string_is_empty 2015-12-26 07:07:01 +01:00
ctult cebb95b0e3 a bit of static analysis
possible memory leaks and null pointer dereferences
2015-12-24 23:04:15 -07:00
twinaphex ab9c52e03e Remove unused local variables 2015-12-11 13:29:15 +01:00