Commit Graph

10326 Commits

Author SHA1 Message Date
twinaphex 177ca956f1 Code de-duplication 2019-12-02 21:08:21 +01:00
twinaphex e13febc82b (menu cbs ok) Code de-duplication 2019-12-02 21:05:04 +01:00
twinaphex 04ee55f202 Add NOTE/TODO about globals 2019-12-02 20:52:23 +01:00
twinaphex ee6c2393c1 (menu_cbs_ok.c) Cut down on some code duplication 2019-12-02 20:47:50 +01:00
twinaphex 07f3abfda1 (madmonkey) Proposed fix for Mali GPUs 2019-12-02 16:28:35 +01:00
jdgleaver 3d52d7a8f6 (Manual Content Scanner) Add option to scan inside archives 2019-12-02 11:49:41 +00:00
twinaphex c3743a74f6 Refactor menu_cbs_sublabel.c 2019-12-02 07:20:01 +01:00
twinaphex e7d2e7ebcb Refactor menu_cbs_get_value.c 2019-12-02 06:47:51 +01:00
twinaphex 8551d175ab (menu_cbs_ok) Cleanups 2019-12-02 06:10:32 +01:00
twinaphex d0bce8bc9f Refactor menu_cbs_title 2019-12-02 05:50:32 +01:00
twinaphex c80d18c446 Refactor DEFERRED_RECORDING_SETTINGS_LIST 2019-12-02 02:33:09 +01:00
twinaphex 2a41f1fb99 Change type to enum - should silence C89 build errors 2019-12-02 01:21:42 +01:00
Twinaphex e57e4dbf57
Merge branch 'master' into deferred-push-refactor 2019-12-01 23:22:18 +01:00
Twinaphex 00ca7297f3
Merge pull request #9795 from jdgleaver/manual-scan
Add manual content scanner
2019-12-01 23:11:45 +01:00
twinaphex cfc2a15d41 Refactor the other entries as well 2019-12-01 22:57:18 +01:00
twinaphex e8f55e8b24 Refactor deferred push callbacks 2019-12-01 22:38:53 +01:00
Twinaphex c09c4299ba
Merge pull request #9803 from libretro/flowchart-controls
Change 'User' terminology to 'Port' for input binding stuff
2019-12-01 21:40:17 +01:00
jdgleaver 170397456c Add manual content scanner 2019-11-29 17:14:46 +00:00
Twinaphex c8adaaaab2
Merge pull request #9789 from jdgleaver/ozone-thumbnails
(Ozone) Use new 'menu_thumbnail' library for loading/rendering thumbnails
2019-11-28 18:06:06 +01:00
Barry Rowe 1e6e7a698f Added in accessibility. 2019-11-26 15:19:21 -08:00
jdgleaver 9170bca9b3 (Ozone) Use new 'menu_thumbnail' library for loading/rendering thumbnails 2019-11-25 13:14:25 +00:00
twinaphex 388879da38 Change 'User' terminology to 'Port' for input binding stuff 2019-11-24 20:11:49 +01:00
jdgleaver 4eec21b4d1 Fix 'Thumbnail Upscaling Threshold' setting drop-down list 2019-11-24 14:39:08 +00:00
jdgleaver b1d5542d77 (Menu) Ensure pointer input is handled correctly when showing message boxes 2019-11-22 15:10:28 +00:00
jdgleaver 34b744aff6 (GLUI) Enable pass-through of [RetroPad A]/[Keyboard Return key] when viewing fullscreen thumbnails 2019-11-21 12:45:03 +00:00
jdgleaver d392d90a6e (GLUI) Add fullscreen thumbnail viewer (#9758) 2019-11-20 19:09:02 +01:00
Twinaphex 53b7fb2ba2 Remove unused variables 2019-11-19 06:08:54 +01:00
Twinaphex 6a541125aa Silence two issues 2019-11-19 06:01:11 +01:00
twinaphex a46027bed7 Remove MENU_LABEL_ONLINE_UPDATER 2019-11-18 07:51:57 +01:00
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 aba96fbf03 (Menu) Small cleanups 2019-11-18 04:20:40 +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
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
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
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 bed9847b48 [VITA] Hijacking wrong positioning for UI elements. 2019-11-12 19:06:18 +01:00
Rinnegatamante 6b7673f806 [VITA] Fixing gl1 video driver crashes. 2019-11-12 15:37:37 +01:00
jdgleaver df6d65e061 (GLUI) Minor thumbnail improvements 2019-11-11 16:30:42 +00:00
Twinaphex 52db3779c7
Merge pull request #9706 from Jamiras/cheevos_unsupported
(cheevos) display Unofficial and Unsupported achievement states
2019-11-11 14:19:36 +01:00
Jamiras 84de1ce2f2 display Unofficial and Unsupported achievement states 2019-11-10 19:48:46 -07:00
twinaphex 08ce33eed0 Add HAVE_ONLINE_UPDATER 2019-11-11 00:22:03 +01:00
twinaphex cf586b7273 Hide Core Updater properly 2019-11-10 18:12:23 +01:00
twinaphex bc657778fe Add HAVE_UPDATE_CORES - by running ./configure --disable-update_cores
you can strip out the Online Core Updater
2019-11-10 15:55:39 +01:00
jdgleaver bba454207e (GLUI) Add dual thumbnail support 2019-11-08 16:45:46 +00:00
jdgleaver 6afd684ae5 (GLUI) Halt scrolling when pointer is pressed/stationary 2019-11-05 12:23:09 +00:00
Ömercan Kömür 82b31c12c1 Flux
New RGUI Theme
2019-11-02 17:33:51 +03: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 697d16dd01 (GLUI) Fix scroll position calculation 2019-11-01 17:04:49 +00:00
jdgleaver b8d6e1d2c3 (GLUI) Fix node height bug when showing thumbnails + set new default thumbnail view modes 2019-11-01 11:13:34 +00: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
twinaphex 7dbd46c978 Add missing header 2019-10-29 21:21:48 +01:00
Twinaphex b854201bc1
Merge pull request #9649 from BarryJRowe/master
AI Service overlay.
2019-10-29 20:53:57 +01:00
Barry Rowe d641e67876 AI Service overlay. 2019-10-28 16:48:05 -07:00
Tatsuya79 eb72061b27 Cutie, Virtual Boy themes for glui. 2019-10-29 00:24:34 +01:00
Twinaphex 640a2b8991
Merge pull request #9653 from jdgleaver/mali-rotation-fix
Fix menu rendering with Mali GPUs after changing video dimensions
2019-10-28 20:21:49 +01:00
jdgleaver 6b4d76fc26 (GLUI) Minor bug fixes (#9646) 2019-10-28 20:21:37 +01:00
jdgleaver c9b8164b0c Fix menu rendering with Mali GPUs after changing video dimensions 2019-10-28 14:42:48 +00:00
jdgleaver 45deb2c218 (GLUI) Improve tab icon colours for 'Dark Blue' theme (#9636) 2019-10-25 18:58:45 +02: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
jdgleaver 37d12c3859 (GLUI) Menu improvements (Round 2) 2019-10-18 17:56:43 +01:00
Tatsuya79 ed7c3dcff4 Add Ozone Dark theme to glui. 2019-10-17 18:14:48 +02:00
twinaphex 8e2be92c72 Fix crash when setting thumbnail directory 2019-10-17 01:07:19 +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
jdgleaver d6d0bb5e4e (GLUI) Add menu scaling workaround for Mac platforms (DPI requests currently cause crashes on Mac) 2019-10-11 13:31:00 +01: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 9fe72bfa7b Change this back to how it was before 2019-10-07 05:28:00 +02: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
twinaphex 8a06263ba6 Fix regression with 'Set Core Association' and leave a TODO/FIXME note 2019-10-04 17:41:03 +02:00
Twinaphex 811138221a Fix unused variable warning 2019-10-04 17:34:46 +02:00
twinaphex daa30b1dc8 Use old DPI scaling for now on desktop until we have devised a good solution 2019-10-04 17:27:14 +02:00
Twinaphex 419eb5a6c0 Remove unused variables 2019-10-04 16:06:34 +02:00
Twinaphex 32f7d73835
Merge pull request #9553 from jdgleaver/overlay-auto-rotate
Add option to automatically rotate overlays
2019-10-04 13:53:55 +02:00
jdgleaver 1df3e20bdd Add option to automatically rotate overlays 2019-10-04 12:15:57 +01:00
jdgleaver db030f6472 (GLUI) Add initial gesture support + bug fixes 2019-10-04 09:33:15 +01: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
twinaphex b80b9cd157 CXX_BUILD buildfix 2019-09-29 17:58:02 +02:00
FreeShippingParty 999887bda5 Add option to delete playlists 2019-09-29 10:48:46 -04:00
twinaphex b9a08520ff Move File Manager settings to Settings 2019-09-26 21:01:59 +02:00
jdgleaver 58ad81f063 Menu drop-down lists: Add proper titles, and remember last postion when navigating core options 2019-09-24 17:41:06 +01:00
Twinaphex 89ae74fba6 (MaterialUI) Fix handle float cast overflow 2019-09-24 11:38:47 +02:00
jdgleaver ef710442f1 (Ozone) Add option to toggle between static and scrolling content metadata 2019-09-23 15:33:20 +01:00
twinaphex 3307e65ad3 Fix FPS text in threaded video mode 2019-09-23 09:22:35 +02:00
twinaphex 01dc71f598 (menu_driver.c) Cleanups 2019-09-23 04:49:01 +02:00
twinaphex 17fb07cb85 (Menu) Simplify menu_entries_get_core_title 2019-09-23 04:44:22 +02:00
twinaphex 0314921434 (menu_cbs_deferred_push.c) Cleanups 2019-09-23 04:31:12 +02:00
twinaphex dde7c28730 (menu_shader.c) Cleanups 2019-09-23 04:27:03 +02:00
twinaphex 682b403a9c menu_content.c - This file is no longer necessary 2019-09-23 04:24:00 +02:00
twinaphex 08d3fe8c04 Cleanups 2019-09-23 04:19:52 +02:00
twinaphex 82259a086e Make action_scan_directory safer - fill_pathname_join now doesn't
have the same variable for arguments 1 and 2
2019-09-23 04:14:10 +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
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 d356f88fb5 Memory details can now be shown individually without FPS and
frame count
2019-09-22 03:21:36 +02:00
twinaphex 1ed38ddb2d Start using return values of fill_pathname_ functions 2019-09-21 00:22:40 +02:00
twinaphex 3b057d9605 Start using STRLCAT_CONST_INCR and STRLCPY_CONST 2019-09-20 23:33:17 +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 2a8798b729 Cleanups 2019-09-20 09:31:18 +02:00
twinaphex ec4bfd7827 Silence some warnings - statement unreachable etc. 2019-09-20 06:17:40 +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 43000d2e24 (Networking) Fix memory leak that could happen at exit after a network
operation has ran (menu_driver_data->core_buf gets allocated inside
cb_net_generic_menu and doesn't get freed until the function is ran
again
2019-09-20 04:08:03 +02: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 71cc43651a (Ozone) Fix regression with sidebar textures 2019-09-19 09:03:07 +02:00
twinaphex ab515daa0c Try to get rid of file_path_str 2019-09-18 18:12:57 +02:00
twinaphex 3a61cfe6ec Cleanup menu_displaylist_parse_content_information 2019-09-18 10:20:06 +02:00
twinaphex 6eaf19533b (sublabels) Optimizations 2019-09-18 09:37:32 +02:00
twinaphex 8f8a9863ad Optimize sublabel_playlist_entry by removing snprintf 2019-09-18 09:28:37 +02:00
twinaphex f663c64cd4 (MaterialUI/Ozone) Prevent more unnecessary strlcats 2019-09-18 06:43:01 +02:00
twinaphex a9ef8333eb Rewrite menu_entries_get_core_title 2019-09-18 06:35:21 +02:00
twinaphex 6d89bbfe61 (Menu animation) Avoid some strlcat usage here too 2019-09-18 05:54:32 +02:00
twinaphex b0a8f5d775 (menu displaylist) Some more cleanups 2019-09-18 05:40:06 +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 b6a6127509 Replace more snprintf usage 2019-09-17 07:30:29 +02:00
twinaphex 7d58bb9799 Avoid more snprintf usage 2019-09-17 06:34:00 +02:00
twinaphex 712547cb2b C89_BUILD fix 2019-09-17 03:59:59 +02:00
twinaphex d01ae6929d Don't use strlcat for basic concatenation of characters
except when absolutely necessary
2019-09-17 02:00:04 +02:00
twinaphex 4ea493c86c Turn cheat_manager_free into static function 2019-09-17 01:20:30 +02:00
Yoshi Sugawara ae6e2f5df5 (cheevos) create a local string var to set the sublabel attribute when calling rcheevos_get_description. This prevents an unintended pointer reassignment and can cause a crash on strlcpy on some platforms 2019-09-16 12:54:03 -07:00
twinaphex 86839db417 set_label_shader_watch_for_changes - simplify 2019-09-16 20:02:49 +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 c645d43598 'CXX_BUILD=1' build fix 2019-09-10 16:49:07 +01: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