Commit Graph

9816 Commits

Author SHA1 Message Date
Dwedit dac332a123 explicitly enter signed chars and avoid undefined behavior 2019-05-21 21:08:13 -05:00
Dwedit f8002218cd attempt to fix narrowing char compiler error 2019-05-21 20:56:52 -05:00
twinaphex eed2ea7a99 string_is_empty check is already being done by path_is_valid/file stat
path cb function
2019-05-22 03:05:31 +02:00
Dwedit 1faaf68d9d UTF-8 Fix favoring MSVC 2010-2013.
MSVC 2015 and 2017 projects: Add /utf-8 switch
Makefile.griffin: Add -utf-8 switch to MSVC 2015 builds
Makefile.msvc: Add -utf-8 switch to MSVC 2017 builds
intl/msg_hash files: Added BOM and MSVC 2010-2013 pragmas
menu_cbs.c: Replace Euro character with raw bytes
menu_osk_utf8_pages.h: Replace pragma with MSVC 2010-2013 version range
shaderparamsdialog.cpp: Add BOM and MSVC 2010-2013 pragma
2019-05-21 18:02:25 -05:00
twinaphex 9220248c32 Remove double entry 2019-05-21 17:23:28 +02:00
twinaphex 5eea93497c Remove these ifdefs - we now have a better way of hiding this setting -
this setting should be shown if frontend_driver_has_fork() returns true
2019-05-21 04:28:58 +02:00
radius 95dbb040b0 add restart menu option
add sublabels

Add .gitlab-ci.yml

Update .gitlab-ci.yml
2019-05-21 04:25:34 +02:00
jdgleaver 98889e1652 Ensure that displayed thumbnails are always refreshed correctly after selecting 'Download Thumbnails' from quick menu 2019-05-20 16:09:59 +01:00
jdgleaver dde0160468 (XMB/Ozone) Ensure old thumbnails are cleared when selecting playlist entry with 'broken' thumbnails 2019-05-20 12:23:55 +01:00
twinaphex 9b31c91165 Fix Stream Quality setting 2019-05-20 05:00:23 +02:00
twinaphex 0db4b2d039 Revert "backup cores to download dir before updating"
This reverts commit 3638ecd71a.
2019-05-20 04:28:52 +02:00
radius 3638ecd71a backup cores to download dir before updating 2019-05-20 04:28:27 +02:00
twinaphex 71bd327325 Don't need this 2019-05-20 02:23:35 +02:00
M4xw 3834d29fcb Revert "Simplify menu_displaylist_parse_cores"
This reverts commit 269a95b0bf.
2019-05-19 23:51:07 +02:00
twinaphex f6f9d8e9d4 (Load Core) Ignore zip files; was erroring out for some people 2019-05-19 01:40:06 +02:00
Twinaphex d0707437c9 Remove some unused variables 2019-05-18 21:26:29 +02:00
twinaphex e6ca330337 (menu) turn these into macros 2019-05-18 21:20:36 +02:00
twinaphex b065e0d299 Turn some more functions static 2019-05-18 21:13:36 +02:00
twinaphex ba3ee2192a Cleanups 2019-05-18 21:07:04 +02:00
twinaphex 59c502d0f4 menu_entries_get_last_stack - don't pass enum_idx to it if we
aren't going to use it
2019-05-18 19:25:35 +02:00
twinaphex 6af0b8c693 menu_entries_get_title - cleanups 2019-05-18 19:16:23 +02:00
twinaphex ffe1ee4636 Don't use return value of menu_entries_get_title 2019-05-18 19:10:10 +02:00
twinaphex bb6a42f8f0 (menu_entries) Create action_title_cache 2019-05-18 08:21:14 +02:00
twinaphex bf03395040 Cleanups 2019-05-18 08:00:21 +02:00
twinaphex ce191672f1 (menu_cbs_title.c) Cleanups 2019-05-18 04:07:37 +02:00
twinaphex 0fedbe837c (Menu sublabels) Add sublabel showing the license 2019-05-18 03:42:21 +02:00
twinaphex 68d7411edf (menu entries) Add sublabel_cache - this should prevent
unnecessary function calls if the contents of a sublabel
don't change over time
2019-05-18 03:29:33 +02:00
jdgleaver 23ca792966 Re-enable '--log-file' command line option 2019-05-17 17:19:13 +01:00
jdgleaver f0bbfb4094 Fix history playlist navigation after running content 2019-05-17 14:23:00 +01:00
Twinaphex 542f761daf
Merge pull request #8797 from jdgleaver/menu-nav-fix
(menu_driver) Prevent spurious navigation events when invoking MENU_NAVIGATION_CTL_CLEAR
2019-05-17 14:37:21 +02:00
Twinaphex 4db95d7681
Merge pull request #8798 from CozmoP/dir
Qt: path selector fixes
2019-05-17 14:03:08 +02:00
CozmoP 17fcd880e9 Qt: path selector fixes 2019-05-17 14:22:25 +02:00
jdgleaver 77c2ceeff4 (menu_driver) Prevent spurious navigation events when invoking MENU_NAVIGATION_CTL_CLEAR 2019-05-17 11:44:57 +01:00
jdgleaver 05c8694e1c Add 'Download Thumbnails' option to quick menu 2019-05-16 14:34:01 +01:00
jdgleaver c6aa1b5e6f (RGUI) Fix thumbnail updates after loading a 'broken' thumbnail image 2019-05-15 12:57:23 +01:00
twinaphex 269a95b0bf Simplify menu_displaylist_parse_cores 2019-05-15 13:09:31 +02:00
jdgleaver 154957505c Add playlist-based thumbnail downloader 2019-05-14 16:26:16 +01:00
twinaphex 7ea74548b1 Reduce duration of easing out bounce otherwise we get glitches 2019-05-14 14:52:40 +02:00
radius 35910e8785 fix #8725 2019-05-14 07:58:29 +02:00
twinaphex d6fe0ceab2 (Ozone) Fix regressions on OSX - menu_input_mouse_state
cannot be called in ozone_init - menu driver init function
too early for mouse input calls
2019-05-14 04:17:04 +02:00
twinaphex 6730d05918 (XMB) Animation settings - Main Menu opening/closing, Horizontal
highlight, Move up/down
2019-05-13 09:44:52 +02:00
twinaphex ea6f818784 (file_list) Directly access member variables instead of going through small
functions
2019-05-13 04:27:03 +02:00
twinaphex 63d9d4e2d3 (menu entries) Cleanups 2019-05-13 04:05:11 +02:00
twinaphex c729748276 Cleanups 2019-05-13 03:36:59 +02:00
Twinaphex fbec6b84e8
Merge pull request #8529 from huwpascoe/mame_overlay
video_layout (mame artwork)
2019-05-13 00:42:26 +02:00
twinaphex af527746bb Cleanups 2019-05-12 20:53:01 +02:00
twinaphex 48142476aa (XMB) Cleanup 2019-05-12 18:07:37 +02:00
twinaphex 5c5c1ee84d (XMB) Cleanups 2019-05-12 17:44:40 +02:00
twinaphex 71feec72b4 Cleanup xmb_list_open_new 2019-05-12 07:26:53 +02:00
twinaphex 8cf34c3fe6 (XMB) Add some comments 2019-05-12 07:12:41 +02:00
twinaphex 62f3046f0f (localtime) Cleanups 2019-05-12 04:43:57 +02:00
plaidman 5eb2f7962d update CPU clock profiles and battery info for lakka-switch 2019-05-11 13:42:53 -04:00
natinusala c83b86b7c2 menu_widgets: add libretro message widget, have RETRO_ENVIRONMENT_SET_MESSAGE use it 2019-05-11 17:24:00 +02:00
Huw Pascoe 078cdd269f video_layout menus 2019-05-11 09:58:47 +01:00
Nathan S edb37ccf70 menu widgets: cleanup fix and draw above overlay for gl and vulkan (#8732)
* menu_widgets: cleanup properly all widgets when loading or closing content

* gl: draw menu widgets above overlay

* vulkan: draw menu widgets above overlay

* vulkan: draw OSD above overlay

* menu_widgets: better cleanup
2019-05-11 06:26:40 +02:00
twinaphex 74388d8490 Remove string_concat 2019-05-10 18:05:58 +02:00
jdgleaver 10ef7dd561 Load content runtime data 'on demand' (#8717)
* Load content runtime data 'on demand'

* Fix LGTM warning
2019-05-09 08:24:06 -05:00
twinaphex 7530436918 Better way to check if there is a resolution list - should
hide this entry on Android
2019-05-07 00:32:07 +02:00
Nathan S 775c272029 Menu widgets stuff + vulkan sanity check (#8710)
* task_screenshot: fix hang with menu widgets

* word_wrap: add max_lines parameter

* vulkan: better instance creation sanity check
2019-05-06 21:10:57 +02:00
meleu e8c9a272ee having a badge file is enough to show it in popup (#8709) 2019-05-06 19:14:24 +02:00
twinaphex 705851b147 Add 'Scan without Core Match' 2019-05-05 21:54:49 +02:00
twinaphex aaff9d6d55 (Lakka) SD_FLAG_LAKKA_ADVANCED should only be honored by Lakka 2019-05-05 21:21:43 +02:00
twinaphex 18fd85de24 Add easy way to enable/disable shaders 2019-05-05 20:52:09 +02:00
twinaphex 14bd37415b (MaterialUI) Add more menu category setting icons 2019-05-05 17:31:29 +02:00
twinaphex 0b426b2022 This should hide the CRT SwitchRes option on systems
where it's not supported
2019-05-05 16:33:25 +02:00
jdgleaver 087eb939a5 (RGUI) Fix typo in 'rain' particle effect initialisation 2019-05-05 14:29:24 +01:00
twinaphex a0b2d97ca3 Hide 'Take Screenshot' for video drivers that don't support
taking screenshots yet
2019-05-05 13:46:26 +02:00
twinaphex 8094e02823 (MaterialUI) Add checkmark 2019-05-05 04:12:16 +02:00
Twinaphex f5879dfad7
Merge pull request #8695 from orbea/c89
Fix C89_BUILD=1 with clang.
2019-05-05 01:19:14 +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
natinusala a381c2180d menu_widgets: implement generic message widget, have shaders selection use it 2019-05-04 23:21:17 +02:00
natinusala 872e8ffb99 Fix multiple CXX warning 2019-05-04 22:24:59 +02:00
orbea ab7cc305e5 Fix C89_BUILD=1 with clang. 2019-05-04 09:27:12 -07:00
meleu 22a956f663 replace 'cheevos_rcheevos_enable' by 'cheevos_old_enable' 2019-05-04 12:52:49 -03:00
twinaphex 8a92ad7dbf Fix C89_BUILD 2019-05-04 15:58:32 +02:00
twinaphex 17b4cdb60a Merge branch 'rgui-d3d-colours' of git://github.com/jdgleaver/RetroArch 2019-05-04 14:56:41 +02:00
jdgleaver 0ce40be87e (RGUI) Try again - D3D10/11/12 actually seem to use bgra4444 2019-05-04 13:53:37 +01:00
natinusala 619ea2e627 menu_widgets: fix C4018 warnings 2019-05-04 14:48:41 +02:00
jdgleaver ee2f66bbd3 (RGUI) Fix trivial build warnings 2019-05-04 13:37:28 +01:00
twinaphex 990c2c405b (menu_widgets) C89_BUILD fix 2019-05-04 14:07:09 +02:00
jdgleaver d8d4fefb48 (RGUI) Fix colours when using D3D10/11/12 gfx drivers 2019-05-04 13:01:02 +01:00
natinusala 636f2ddb28 menu_widgets: implement the user setting 2019-05-03 21:25:20 +02:00
Twinaphex 1d1cc87c4f
Merge pull request #8677 from jdgleaver/rgui-performance
(RGUI) Further performance optimisations
2019-05-03 19:48:17 +02:00
Twinaphex 27712d648a
Merge pull request #8681 from meleu/patch-5
minor fixes for cheevos-new
2019-05-03 19:33:47 +02:00
jdgleaver 6bb5dea1d4 Add TODO/FIXME comment 2019-05-03 17:03:00 +01:00
jdgleaver 4502b58ab3 For platforms without HAVE_THREADS, don't automatically resume content when saving/loading states 2019-05-03 16:32:48 +01:00
jdgleaver d8eb6819b0 (menu_thumbnail_path) Use content directory name as fallback for 'db_name' in history and favorites playlists 2019-05-03 14:03:18 +01:00
twinaphex b7e7f6a651 (Menu widgets) Add menu widgets setting 2019-05-03 13:58:33 +02:00
jdgleaver 2424049fdf (RGUI) Further performance optimisations 2019-05-03 11:26:02 +01:00
meleu 7b47787887
handle hardcore mode toggle for cheevos-new 2019-05-03 01:59:05 -03:00
Twinaphex a162613a16
Merge pull request #8674 from jdgleaver/history-duplicates
Prevent duplicate content history entries (+ general sanitisation of playlist searching)
2019-05-02 17:30:22 +02:00
twinaphex c205e59f57 (menu entries) Cleanups 2019-05-02 16:21:12 +02:00
jdgleaver 05e0a6c8d2 Prevent duplicate content history entries (+ general sanitisation of playlist searching) 2019-05-02 09:58:37 +01:00
Twinaphex 7cc7a6df75
Merge pull request #8671 from alfrix/new_batt_icons
Ozone extra battery icons
2019-05-01 21:19:42 +02:00
Alfredo Monclus ff578de39e Ozone extra battery icons 2019-05-01 14:31:55 -03:00
Twinaphex c8cf92ee5d
Merge pull request #8669 from alfrix/new_batt_icons
XMB extra battery icons
2019-05-01 18:51:49 +02:00
alfrix 19f3be21c2 XMB extra battery icons 2019-05-01 13:42:00 -03:00
natinusala a253fac207 menu_widgets: fix screenshot notification data race 2019-05-01 15:46:57 +02:00
natinusala 486f438cc3 task_database: reimplement task progression 2019-05-01 15:13:41 +02:00
Twinaphex c59fbbd2f2
Merge pull request #8667 from jdgleaver/menu-datetime
Optimise menu_display_timedate()
2019-05-01 12:57:23 +02:00
twinaphex f0f8e8a208 Cleanup menu_entries_get_last_stack 2019-05-01 12:44:51 +02:00
twinaphex d170f99c03 (menu_entries.c) Simplify code 2019-05-01 12:32:49 +02:00
jdgleaver 2e68a634a2 Optimise menu_display_timedate() 2019-05-01 10:58:40 +01:00
twinaphex c9f98fce2f (menu_entries.c) Turn some static functions into macros 2019-05-01 11:48:44 +02:00
twinaphex 9ee33a6a1d (Menu) Merge menu_entry into menu_entries.c 2019-05-01 11:41:13 +02:00
twinaphex dbb9fb448d (menu_setting.c) Update 2019-05-01 00:10:38 +02:00
twinaphex 29b8ddef28 Move video_driver_menu_settings 2019-05-01 00:09:49 +02:00
twinaphex 39eadbab6f Use string_concat in more performance critical areas 2019-04-30 21:17:51 +02:00
twinaphex 662976608a (Shader) Fix regression - when a game was loaded with a core
preset, it would load the preset inside shader slot 1 (menu)
instead of properly setting each pass
2019-04-30 19:26:36 +02:00
jdgleaver 17f3bc2255 (RGUI) Make battery icon have a continuous fill 2019-04-30 17:13:00 +01:00
jdgleaver 55737ba127 Standardise menu powerstate access + add battery indicator to RGUI 2019-04-30 15:57:38 +01:00
twinaphex 01284c0231 Remove setting_list.c and reintegrate it into menu_setting.c 2019-04-30 16:18:26 +02:00
twinaphex bc2bdd5734 config_file_read not needed anymore 2019-04-30 13:37:10 +02:00
Twinaphex a797324133
Revert "task_database: use regular progress report" 2019-04-30 10:01:07 +02:00
Twinaphex 90ea42c2d9
Merge pull request #8658 from natinusala/master
task_database: use regular progress report
2019-04-30 09:42:42 +02:00
natinusala 8c7db837b4 task_database: use regular progress report 2019-04-29 20:04:41 +02:00
jdgleaver ecdb5383ba (RGUI) Add 'particle effect' animation system 2019-04-29 15:43:19 +01: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 161d4caa8f Get rid of two retro_assert calls 2019-04-28 15:16:42 +02:00
twinaphex 8ea1305d75 (menu_shader.c) Cleanups 2019-04-28 05:26:56 +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 9fbc3c0769
Merge pull request #8647 from Ghabry/uwp-vfs
UWP VFS Performance
2019-04-28 00:06:08 +02:00
Ghabry 4390317992 Revert "(UWP/WinRT)"
This reverts commit b43b3e2bb0.
2019-04-27 15:01:01 +02:00
twinaphex 7502914a1d parse_horizontal_content_actions - use path_is_valid instead of
filestream_exists
2019-04-27 13:33:05 +02:00
twinaphex b43b3e2bb0 (UWP/WinRT)
- Disable VFS for now - seems to be very problematic right now
- Move uwp_is_path_accessible_using_standard_io to file_path.c
since it seems to have no VFS dependencies, and rename it to
is_path_accessible_using_standard_io so it could possibly be later
used for other platforms as well that also have sandboxed filesystems
2019-04-27 09:20:19 +02:00
twinaphex e1b11593fc (file_list.c) Cleanups/optimizations 2019-04-27 07:32:40 +02:00
twinaphex c56225ab65 (Menu displaylist) Cleanups 2019-04-27 06:22:49 +02:00
twinaphex 9a6df2b591 (Menu displaylist) Cleanups 2019-04-27 06:18:40 +02:00
twinaphex 3e72c502a8 strlen optimizations :
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
twinaphex 1c2cbe596c Fix selected entries on dropdown menus 2019-04-27 01:15:14 +02:00
M4xw ca80a3a4da [Libnx] Toolchain related changes
-Remove switch_pthread - It should be no longer used
-Increase SAVE_STATE_CHUNK to 4MB
-Fix overclocking on Horizon 8.0+

Note: This requires the updated Toolchain before Merge
2019-04-26 21:58:40 +02:00
twinaphex 7201d0bf22 Revert "Use path_is_valid instead of filestream_exists where possible -"
This reverts commit 88e3abd6fd.
2019-04-26 13:46:21 +02:00
twinaphex 88e3abd6fd Use path_is_valid instead of filestream_exists where possible -
stat should be faster than fopen
2019-04-26 13:33:25 +02:00
twinaphex 246e224626 (menu displaylist) Fix shader preset/shader pass selection 2019-04-26 02:58:57 +02:00
twinaphex cd11385348 Fix bug with Quick Menu -> Controls 2019-04-26 02:53:57 +02:00
twinaphex 0b5a62ff9e (Menu) Cleanups 2019-04-26 01:44:52 +02:00
twinaphex 9edf8ecab0 (menu displaylist) Cleanups 2019-04-26 01:16:55 +02:00
twinaphex 30c08c369c (menu displaylists) Simplifications 2019-04-26 01:07:26 +02:00
twinaphex aed89c053b (menu displaylist) Cleanups 2019-04-25 05:32:19 +02:00
twinaphex fa09b29ad9 (menu displaylist) Cleanups 2019-04-25 05:28:52 +02:00
twinaphex c45699aeae (menu displaylist) Cleanups 2019-04-25 05:15:29 +02:00
twinaphex 71e07316db (menu displaylist) Cleanups 2019-04-25 04:52:52 +02:00
twinaphex 8fc40d2a2a Menu displaylist - prevent segfault with shader parameters screen
when a shader has no parameters and handle does not exist
2019-04-24 18:07:12 +02:00
twinaphex c55873c324 (GL_CORE) More updates 2019-04-24 03:33:32 +02:00
twinaphex 59b45f7812 Start making HAVE_OPENGL_CORE independent 2019-04-24 03:23:57 +02:00
twinaphex c854d0916b (XMB) XMB honors the 'show menu sublabels' setting now - was previously
RGUI only
2019-04-24 01:48:28 +02:00
Twinaphex 3e15f1b512
Merge pull request #8626 from retrotails/master
add rgui snow
2019-04-24 01:39:44 +02:00
twinaphex f3a31ffd8d Increment count correctly per entry added 2019-04-24 01:21:24 +02:00
twinaphex 22ac50d39c (menu displaylist) Cleanups 2019-04-23 23:59:05 +02:00