Commit Graph

1617 Commits

Author SHA1 Message Date
twinaphex 88d4ae6790 Buildfix for Android - this header should not be done as a system
header include
2019-11-18 06:48:15 +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
Rémi 34125a6d14 Remove // comments 2019-11-17 20:46:51 +01:00
Rémi 154c2d388d Fix CI compilation issues 2019-11-17 20:18:42 +01:00
Rémi e3a8e28edc Using MAX macro. 2019-11-17 18:34:19 +01:00
Rémi 1c9d0dbf48 Refactoring (still trying to fix CI compilation issue) 2019-11-17 18:03:57 +01:00
Rémi 756b4636f6 Update Aspect Ratio (1:1 PAR and Custom) when rotating from menu 2019-11-17 17:22:10 +01:00
Twinaphex b6aa9f2fd1
Revert "Refactor RetroArch input polling settings" 2019-11-17 16:45:40 +01:00
Rémi 09a9b7d254 CI compilation issue 2019-11-17 16:26:29 +01:00
Rémi a28e57e42d Fixing Integer Scaling for Custom Viewport (when rotating) 2019-11-17 13:21:50 +01: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
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
jdgleaver df6d65e061 (GLUI) Minor thumbnail improvements 2019-11-11 16:30:42 +00:00
jdgleaver bba454207e (GLUI) Add dual thumbnail support 2019-11-08 16:45:46 +00:00
Twinaphex 044851f608
Merge pull request #9616 from fpscan/master
New XMB Menu Color Theme: Sunbeam
2019-11-02 12:07:35 +01:00
jdgleaver c356969c3a (GLUI) Add initial thumbnail support 2019-10-31 17:25:55 +00:00
Ömercan Kömür 7021a4909e
Merge branch 'master' into master 2019-10-31 04:22:33 +03:00
Tatsuya79 eb72061b27 Cutie, Virtual Boy themes for glui. 2019-10-29 00:24:34 +01:00
jdgleaver 1194b29c12 (GLUI) Navigation bar improvements (#9635) 2019-10-25 18:28:36 +02:00
jdgleaver 3734ccbcc0 (GLUI) Menu improvements (Round 3) 2019-10-23 15:46:28 +01:00
twinaphex d51b32f662 Implement AI Service Pause 2019-10-19 20:53:17 +02:00
Ömercan Kömür ef464d9785 New XMB Menu Color Theme: Sunbeam 2019-10-19 14:50:58 +03:00
twinaphex 73c853def4 Add setting 'Driver Switch Enable' - not hooked up yet 2019-10-18 23:03:29 +02:00
Tatsuya79 ed7c3dcff4 Add Ozone Dark theme to glui. 2019-10-17 18:14:48 +02:00
jdgleaver 10d652a9f7 (GLUI) Menu improvements (round 1) 2019-10-16 17:17:49 +01: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 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
twinaphex fb6a2ef746 Turn menu_horizontal_animation into macro and actually use it for
default value
2019-10-05 19:11:59 +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
jdgleaver 1df3e20bdd Add option to automatically rotate overlays 2019-10-04 12:15:57 +01:00
jdgleaver ef710442f1 (Ozone) Add option to toggle between static and scrolling content metadata 2019-09-23 15:33:20 +01: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
twinaphex 3b057d9605 Start using STRLCAT_CONST_INCR and STRLCPY_CONST 2019-09-20 23:33:17 +02:00
twinaphex 2a8798b729 Cleanups 2019-09-20 09:31:18 +02:00
twinaphex 7173efe10f (Network/Relay Server Location) RetroArch crashed when pressing
left while Relay Server Location entry was selected - index offset
would set itself to -1 and cause a buffer overflow
2019-09-20 04:14:32 +02:00
twinaphex b6a6127509 Replace more snprintf usage 2019-09-17 07:30:29 +02:00
benoa 744fac6777 Wii: Add wiimote lightgun support 2019-09-15 00:46:02 +02:00
Twinaphex f004666674
Merge pull request #9456 from jdgleaver/date-format
Menu time/date: Add 12-hour versions of all formats + clean ups
2019-09-10 17:58:11 +02:00
jdgleaver a0fd9d21d2 Enable customisation of runtime 'last played' display format 2019-09-10 16:14:38 +01:00
jdgleaver 25006cadfe Menu time/date: Add 12-hour versions of all formats + clean ups 2019-09-09 14:06:49 +01:00
meepingsnesroms 85f46b9899 Remove unfinished translation files 2019-09-08 20:14:23 -07:00
LazyBumHorse 886d538c48 implement video_shader_delay setting (in ms), which delays auto-shaders 2019-08-27 16:01:48 +02:00
Twinaphex 1091193ed5
Revert "[Switch] Really fix splitting/joining JoyCons via single option" 2019-08-26 14:22:58 +02:00
rsn8887 8c0c0e3eae [Switch] Really fix splitting/joining JoyCons via single option 2019-08-24 21:08:35 -05:00
twinaphex 94e2d646be Add Frame Time Counter settings 2019-08-24 18:18:24 +02:00
twinaphex e80f57310d Don't hide this behind advanced settings anymore 2019-08-23 21:57:44 +02:00
twinaphex 9ba2936f9a Add label for AI Service Mode 2019-08-23 20:00:33 +02:00
twinaphex af775fb032 Enable playlist sublabels by default - should have minimal file I/O
overhead - maybe a slight dip from fullspeed/60fps to 59.90/59.10fps at
worse when flicking through playlist entries for the first time (it's
cached after first viewing) - after 1.7.8 we can further micro optimize
this
2019-08-23 17:33:59 +02:00
twinaphex c990b29c09 Enable content runtime log by default 2019-08-23 17:10:56 +02:00
jdgleaver c27149bb67 (RGUI) Make particle effects framerate independent + add animation speed setting 2019-08-23 12:22:30 +01: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
twinaphex f23172ba81 Ability to hide every setting category now 2019-08-23 03:06:38 +02:00
twinaphex 09ac01afd2 Buildfix 2019-08-23 00:46:06 +02:00
twinaphex 2a70b3533c Don't use itoa - not available on OSX 2019-08-22 23:37:23 +02:00
twinaphex 32029731c0 Hook up remaining languages 2019-08-22 22:20:31 +02:00
twinaphex eca2f0a663 Start adding translation language names 2019-08-22 21:15:07 +02:00
twinaphex 5b71939848 Add target_lang/source_lang options 2019-08-22 19:39:00 +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
twinaphex a612e7a4c3 Hook up AI Service settings 2019-08-22 07:07:34 +02:00
twinaphex fea7694027 Add AI Service settings 2019-08-21 20:43:32 +02:00
twinaphex f6c451fafe Enable ticker smooth by default 2019-08-21 18:52:08 +02:00
jdgleaver 8569e65c18 Add optional smooth scrolling menu ticker text 2019-08-21 17:01:20 +01:00
twinaphex b19d83c1e4 Set default values for some settings 2019-08-21 03:18:11 +02:00
twinaphex 039daf3374 Ability to hide 'Input Settings' 2019-08-21 00:27:40 +02:00
twinaphex 7bce5783aa Add User Interface -> Views -> Settings 2019-08-21 00:04:34 +02:00
twinaphex ab5e5d3a80 Add Quick Menu -> Views ->'Show Resume/Restart/Close content' 2019-08-20 18:08:44 +02:00
twinaphex c38b8bee45 Cleanups 2019-08-20 05:03:12 +02:00
twinaphex 9ece732348 (Menu settings) Turn function static and some style nits 2019-08-20 03:44:17 +02:00
twinaphex afc7f9ae12 (menu setting) Cleanups 2019-08-20 03:32:53 +02:00
twinaphex cc86a78740 change_handler gets called every frame, so make this as
efficient as possible
2019-08-20 03:26:17 +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 ad71451432 Add frontend log level setting 2019-08-20 01:18:26 +02:00
twinaphex eff7cb467e Don't hide 'Show Quit RetroArch' for regular RetroArch 2019-08-20 01:07:16 +02:00
twinaphex d30b2ecaca Merge menu_input_dialog.c into retroarch.c 2019-08-15 01:08:34 +02:00
twinaphex 6a4207fe55 (Menu setting) 'Quit Press Twice' - set default value 2019-08-12 12:12:16 +02:00
Ryunam af42417734 Add toggle to enable / disable playlist name truncation in Ozone 2019-08-09 18:01:47 +02:00
jdgleaver 6ead35b37c (Menu) Prevent undefined behaviour when failing to load shaders 2019-08-08 17:02:32 +01: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
orbea e13ec54dc6 Fix --disable-overlay. 2019-07-21 10:26:42 -07:00
Twinaphex bc47daba5e
Merge pull request #9151 from Tatsuya79/master
Show/Hide disc options.
2019-07-21 14:16:12 +02:00
twinaphex 1fe213de8c (Qt/companion UI) Driver check for ui_companion_driver comes too early inside
of menu_setting.c - have to move the check to menu_displaylist.c
instead - this fixes 'User Interface' in Qt desktop menu - was
crashing
2019-07-21 14:10:51 +02:00
Tatsuya79 ab3ea0f3f3 Show/Hide disc options. 2019-07-21 12:16:16 +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 eebfa11528 Show UI menubar setting 2019-07-19 20:00:31 +02:00
twinaphex f9a2a79f5d Rename const variables to macros 2019-07-19 13:30:11 +02:00
twinaphex 433a27b76a (config.def.h) Turn more into macros 2019-07-19 13:20:13 +02:00
twinaphex fdf28e5259 Turn more default values into macros 2019-07-19 13:14:29 +02:00
twinaphex 60f77cd903 Change core_set_poll_type 2019-07-16 10:10:49 +02:00
twinaphex b7a85d392f Silence warnings 2019-07-12 16:31:16 +02:00
twinaphex b2bf822f13 Add HAVE_AUDIOMIXER switch 2019-07-11 11:51:06 +02:00
twinaphex 84bf51acee Take out HAVE_CDROM include ut of vfs/vfs_implementation.h 2019-07-10 22:53:38 +02:00
Brad Parker 7016d8b51f cdrom: only show load/dump menu options if a drive is present on the system 2019-07-09 12:43:33 -04:00
jdgleaver 248432ebcf Add option to remain in menu after saving/loading states 2019-07-05 13:27:16 +01:00