Commit Graph

12948 Commits

Author SHA1 Message Date
libretroadmin 4099b49483 (menu_cbs_title) SANITIZE_TO_STRING rewrite:
* Turn macro into function
* Don't use strchr (O(n^2), switch to single pass loop instead
2025-07-14 19:13:11 +02:00
libretroadmin 4a7b00f43e Rewrite string_list_join_concat and menu_entries_append function 2025-07-12 20:53:48 +02:00
libretroadmin 0d854fef31 remove strlcats from string_list_join_concat_special 2025-07-12 20:36:58 +02:00
libretroadmin cb02d1ffcf Stop using strlen_size, just use regular strlen 2025-07-12 20:27:41 +02:00
sonninnos b2ca569521 Logging unification cleanups 2025-07-10 05:59:06 +03:00
LibretroAdmin b365ab02a6
Merge pull request #18055 from JoeOsborn/rmsgpack-intfstream
Change RFILE to intfstream_t in libretro-db
2025-06-26 23:24:06 +02:00
libretroadmin 6dcb727c62 Remove unused buffer (?) 2025-06-26 16:57:04 +02:00
Joseph C. Osborn f4bba523ab Change RFILE to intfstream_t in libretro-db 2025-06-26 06:44:59 -07:00
libretroadmin e13140ba04 Rewrite some strlcat calls into strlcpy 2025-06-26 14:47:53 +02:00
Skirlez f1289f60ef Avoid creating huge list of numbers for cheat-related settings 2025-06-25 00:53:10 +03:00
Eric Warmenhoven 185971182d apple: provide option to disable metal argument buffers 2025-06-22 12:29:17 -04:00
LibretroAdmin c27e815808
Merge pull request #18040 from sonninnos/libchdr-zstd
Add Zstandard support + libchdr update
2025-06-22 15:48:52 +02:00
sonninnos 0575ee99c6
Fix info disable button (#18043) 2025-06-22 14:19:47 +03:00
sonninnos b3b8b1e340 Add ZStandard support + libchdr update 2025-06-22 00:03:01 +03:00
DisasterMo 883d93f04c Add Irish Gaelic as a language option 2025-06-20 22:37:46 +02:00
LibretroAdmin d3635843c9
Merge pull request #18030 from Ryunam/ozone-font-scale
Ozone: Add options to scale font size
2025-06-19 23:52:34 +02:00
Eric Warmenhoven 9e5f6f4d8a apple: fix bundle id display 2025-06-18 10:48:47 -04:00
LibretroAdmin f85b738258
Merge pull request #18023 from schellingb/make_lists_static
Make a few large read-only arrays in menu code static
2025-06-17 23:05:53 +02:00
Ryunam d471cbce8a Ozone: Add options to scale font size 2025-06-16 22:15:49 +02:00
sonninnos 293ca23197 Glui: Icon fixings 2025-06-15 15:22:16 +03:00
sonninnos b774a26bae Ozone: Add menu font selection 2025-06-15 01:11:26 +03:00
sonninnos 0fc847a176 Ozone: Entry ticker length correction 2025-06-14 23:51:06 +03:00
sonninnos fc6b1b9fab Show 'save as' config last 2025-06-14 21:20:08 +03:00
sonninnos a034e9b61b Ozone+XMB: Blank dummy core output 2025-06-14 17:16:05 +03:00
sonninnos f86ae06c10
Ozone: Add horizontal padding factor option (#18022) 2025-06-14 17:14:07 +03:00
Bernhard Schelling 771fc523b2
Make large read-only arrays static
This can avoid unnecessary waste of performance at runtime to use static data instead of filling out an array on the stack every time. Some of the CBS functions are called for every menu item created so this improves performance of menu navigation, especially large menus like playlists.
2025-06-14 16:26:24 +09:00
sonninnos 2e4c29264e
Prevent menu input when using toggle combos (#18017) 2025-06-14 00:07:16 +03:00
sonninnos 5cfb0a3e42
Add 'save as' and main config replacing options (#18014) 2025-06-13 03:03:36 +03:00
sonninnos 9d09ec3478 Show undo save/load state items order non-submenu addition 2025-06-12 16:06:28 +03:00
sonninnos 366bf083e4 Shader logging cleanup 2025-06-12 06:37:23 +03:00
sonninnos 9c7203bd6f Input bind+remap analog stick label unifications 2025-06-12 06:10:25 +03:00
sonninnos b65737f923 Show undo save/load state items in the same order 2025-06-12 05:25:07 +03:00
sonninnos a8de4dbe49
Show core info md5 note rows as sublabels (#18011) 2025-06-12 05:17:46 +03:00
sonninnos 68ffc370a9 Adaptive VSync menu cleanup 2025-06-12 01:32:58 +03:00
sonninnos 8fd0d552ca
D3D: Add alternative max frame latency hack mode (#18010) 2025-06-11 22:25:42 +03:00
LibretroAdmin 9795fd2daa
Merge pull request #17999 from libretro/warmenhoven/pr/apple-bundle-id 2025-06-10 12:56:24 +02:00
LibretroAdmin fec832a03c
Merge pull request #17998 from libretro/warmenhoven/pr/info-debug 2025-06-10 12:56:12 +02:00
Eric Warmenhoven 631f318e28 apple: bundle identifier in Information menu 2025-06-09 22:23:06 -04:00
Eric Warmenhoven 4e4855b44c include "DEBUG" string in information menu for debug builds 2025-06-09 22:21:28 -04:00
alphanu 3f59af3f99 Fixed issues with warnings when compiling menu_cbs_sublabel.c after CRT geometry adjust PR 2025-06-09 10:32:21 -07:00
alphanu 4389c611ef Fixed horizontal offest. Removed action menu due to iteration bug 2025-06-08 10:44:34 -07:00
alphanu d6c9698353 Added Horizontal and vertical geometry adjustments 2025-06-08 08:33:24 -07:00
LibretroAdmin c9360262ec
Revert "Kiosk Mode Hotkey and Bug Fix ( For Empty Main Menu )" 2025-06-07 18:00:14 +02:00
LibretroAdmin 5aefb761eb
Merge pull request #17982 from alphanu1/master 2025-06-07 07:49:34 +02:00
alphanu 434f41b935 Updated CRT menu items and added new CRT menu
item for upcomming Switchres changes.
2025-06-06 13:39:40 -07:00
Lhaete 49d4a580d9
Update xmb.c with kiosk mode
Linux Fix for mixing declaration and code, missed them the first time oops again!
2025-06-06 08:56:37 -04:00
Lhaete 3315e96b2d
Update xmb.c with kiosk mode
Fixed Linux bug for mixing declaration with code, oops.
2025-06-06 08:41:03 -04:00
Lhaete 1ca2e08590
Update xmb.c with kiosk mode fix
Forgot to add the    settings_t *settings       = config_get_ptr(); ptr in xmb list cache
2025-06-06 08:24:27 -04:00
Lhaete 01a3203a3a
Update menu_setting.c with "Kiosk Mode Fix"
added kiosk mode fixes
2025-06-06 06:41:05 -04:00
Lhaete 274f253e75
Update menu_displaylist.c with "Kiosk Mode Fix"
added Kiosk Mode fixes
2025-06-06 06:39:08 -04:00
Lhaete 3cbe9fa5c2
Update xmb.c with "Kiosk Mode Fix"
Added Kiosk Mode Fix
2025-06-06 06:34:12 -04:00
sonninnos dcf4286d06
Port bind turbo fire icon + label cleanup (#17979) 2025-06-06 05:06:30 +03:00
Eric Warmenhoven 01a3511445 iOS: rely on core info to re-find cores from old directory structure 2025-06-04 14:52:01 -04:00
libretroadmin 1ff8346eb5 Silence warnings/style nits 2025-05-29 06:19:04 +02:00
sonninnos 686c7997bc Add input+controller driver under input settings 2025-05-29 01:03:48 +03:00
sonninnos cfa839f5b6 Default Import Content back to playlist sidebar/tabs 2025-05-28 01:01:11 +03:00
sonninnos 03be66836e GLUI: Even better entry height value 2025-05-27 21:08:23 +03:00
sonninnos 7426251263
GLUI: Minor entry height adjustment (#17952) 2025-05-27 18:32:22 +03:00
sonninnos 49ee835c82 Better menu mouse startup position ignore 2025-05-27 18:13:16 +03:00
sonninnos 0f664c739b
Ignore menu mouse startup position before moving (#17951) 2025-05-27 16:48:03 +03:00
sonninnos 4529d06a5a
Fix menu usage when OK/Cancel has mouse binds (#17950) 2025-05-27 14:01:09 +03:00
libretroadmin 5cb15e1cd7 Reapply "Allow Start button to quick manage media playlists (#17948)"
This reverts commit f877adb5d9.
2025-05-27 12:40:32 +02:00
libretroadmin f877adb5d9 Revert "Allow Start button to quick manage media playlists (#17948)"
This reverts commit 7d3740d4c0.
2025-05-27 12:39:52 +02:00
sonninnos 7d3740d4c0
Allow Start button to quick manage media playlists (#17948) 2025-05-27 04:25:16 +03:00
sonninnos 1c0f945c21
Add media history playlists to playlist manager (#17945) 2025-05-26 23:18:16 +03:00
sonninnos d2a824c1a7 Playlists settings menu reorganizing 2025-05-26 17:42:18 +03:00
sonninnos 158ad0c4bc
Enable savestate thumbnails by default for x64 (#17944) 2025-05-26 16:51:25 +03:00
sonninnos 3f2021249b Deprecated msg hash cleanups 2025-05-25 15:49:49 +03:00
sonninnos 4ba004a1e8
Add 'Show Favorites First' visibility option (#17933) 2025-05-23 16:06:53 +03:00
sonninnos 0e4cf00d1f
Add option for suggesting cores when a core is loaded (#17920) 2025-05-20 15:54:22 +03:00
sonninnos 97bc2da36c Fix menu core unload 2025-05-17 18:53:33 +03:00
sonninnos b5cbe6eaed Clean up input + latency menus 2025-05-14 23:40:43 +03:00
sonninnos cc57bbc06e
Turbo mode corrections (#17905) 2025-05-14 22:37:05 +03:00
sonninnos 1886f76bba Frame delay menu string fix 2025-05-14 15:12:04 +03:00
LibretroAdmin 7bc992437c
Merge pull request #17899 from sonninnos/bfi-shdrsub-stringrep-cleanup 2025-05-14 06:54:45 +02:00
LibretroAdmin 4f22a04436
Merge pull request #17898 from zoltanvb/core_options_reset_v2b 2025-05-14 06:54:28 +02:00
sonninnos 0f65f2f0f3 Display bfi + shader subframes strings without translations 2025-05-14 01:13:42 +03:00
sonninnos ee11b79738
Improve playlist thumbnail cycling (#17897)
* Improve playlist thumbnail cycling

* GLUI: Thumbnail cycling fixes
2025-05-13 22:14:49 +03:00
zoltanvb 30ffb042c6 Hide core reset from Configuration File when no core is loaded. 2025-05-13 19:48:45 +02:00
zoltanvb c794376223 Move core options reset from Settings/Configuration to Main Menu / Configuration Files 2025-05-12 22:14:38 +02:00
sonninnos 1b61b88274
Refine menu info+search disable buttons (#17889) 2025-05-11 22:18:44 +03:00
sonninnos 5e03ef57ec
Ozone+XMB: Fix content icons when playlist tabs hidden (#17888) 2025-05-11 21:22:32 +03:00
sonninnos df1c342cb2 Ozone: C89 buildfix 2025-05-09 02:05:44 +03:00
sonninnos cacff13799 Ozone: Improve metadata background fade 2025-05-09 01:44:20 +03:00
sonninnos ae9e8ba75c Ozone: Skip thumbnail background for metadata display 2025-05-09 01:29:57 +03:00
sonninnos 7b37f85a99
XMB: Add temporary thumbnail toggle (#17881) 2025-05-09 00:56:13 +03:00
sonninnos 10738f532c
Add shader hold hotkey and improve toggling logic (#17840) 2025-05-08 00:56:59 +03:00
LibretroAdmin 0670d6d87e
Merge pull request #17853 from sonninnos/menu-thumbnail-background 2025-05-05 14:45:11 +02:00
pstef 583687081c Revisit selection and size_t to silence warnings
There is a type mismatch between selection (size_t) and how it's passed
to some functions. In 4f3ae82 I got it backwards and changed the type in
savestate thumbnail function definitions to size_t, but in that case we
can assume that there won't be more than 999. So in this case it's OK to
keep the unsigned int and cast selection to that type.

Thumbnails on playlists are the other case and the limit is not so clear
to me, so I assume it's reasonable to promote the type of the function
parameter i from unsigned to size_t.
2025-05-03 19:08:56 +00:00
sonninnos e3583cbcbb Add common Thumbnail Background option for all menu drivers 2025-05-03 19:12:10 +03:00
pstef c968c1a51d Use size_t for new_selection as done everywhere else 2025-04-30 23:48:39 +00:00
zoltanvb 6160b71ecc Avoid format length warning. 2025-04-18 17:33:55 +02:00
zoltanvb 597405ba89 Fix core descriptions not showing
In core downloader, description can be brought up by pressing
Select. However, for those cores where the description is longer
than what would be possible to display, nothing was displayed.
Several such cores exist, one example is Dosbox-Core.

Since this array is used for the messagebox, it is needless to make
it larger than what would be displayed anyway, and it makes other
safeguards act reasonably, so now there is info, just truncated.
2025-04-17 22:27:23 +02:00
pstef b9bee801fd Revert "Use size_t for new_selection as done everywhere else"
At least `case MENU_ACTION_UP` compares new_selection against 0, the
type needs to be signed. Revert 5710a7f6 now and revisit after a deeper
look.
2025-04-16 11:29:06 +00:00
pstef 89218d5640 Revert "Silence a -Wformat warning"
This reverts commit 4f9e86d24b.

Since uintmax_t is also a C99 feature, some other compiler complains.
2025-04-12 22:11:53 +00:00
pstef 57726895dd Finish converting selection variables to size_t
fixes 5710a7f6e5
2025-04-12 10:30:36 +00:00
LibretroAdmin 4c0744b644
Merge pull request #17795 from pstef/selection-size_t 2025-04-10 20:25:55 -07:00
pstef 317c80a257 Silence a shorten-64-to-32 warning
The result of this multiplication will fit into a 32-bit int.
2025-04-10 21:10:45 +00:00
pstef 5710a7f6e5 Use size_t for new_selection as done everywhere else 2025-04-10 21:10:45 +00:00
pstef 4f9e86d24b Silence a -Wformat warning
Use %ju format specifier and cast the value to uintmax_t so that they
match on all platforms.
2025-04-10 21:10:45 +00:00