Commit Graph

914 Commits

Author SHA1 Message Date
sonninnos ee11b79738
Improve playlist thumbnail cycling (#17897)
* Improve playlist thumbnail cycling

* GLUI: Thumbnail cycling fixes
2025-05-13 22:14:49 +03: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
pstef 4f3ae82ed3 Savestate thumbnails: selection is usually size_t 2025-04-10 19:20:56 +00:00
pstef b59b038a3e Silence an unreferenced local variable warning
Not used here since 106dc5d8b7
2025-03-28 09:48:21 +00:00
pstef aa94f571e2 Silence an unused variable warning
This is not used since 73abaddd9c
2025-03-27 23:21:19 +00:00
pstef 870d57445a Move INLINE earlier in function declarations
to silence a warning.
2025-03-25 20:20:37 +00:00
sonninnos ee8a641275 Core load+unload fixes 2025-03-13 15:09:38 +02:00
sonninnos b5756a1b20
Prevent crash when Main Menu is empty (#17604) 2025-02-20 14:09:47 +02:00
sonninnos 8f3347d9ab
GLUI: Limit save state thumbnail size (#17600) 2025-02-19 17:06:01 +02:00
Eric Warmenhoven 0ed66a79f1
glui: fix add to playlist icon in quick menu (#17596) 2025-02-18 22:55:04 +01:00
sonninnos e4fe551924
Gray Dark+Light theme adjustments (#17597) 2025-02-18 20:47:10 +02:00
sonninnos 73abaddd9c
GLUI: Add save state thumbnails (#17592) 2025-02-18 17:11:46 +01:00
sonninnos 01a2da47a6
Ozone: Messagebox background asset fix (#17566) 2025-02-13 09:28:59 +01:00
LibretroAdmin 8a22b87101 Revert rich_label changes 2025-02-12 17:46:32 +01:00
sonninnos 106dc5d8b7
GLUI: Allow fullscreen thumbnail browsing (#17562) 2025-02-12 16:50:17 +01:00
LibretroAdmin 135a228ac1 menu_entry - rich_label gets merged into label - make struct smaller 2025-02-12 15:17:58 +01:00
sonninnos 372396d5b6
Add separate visibility toggle for playlist tabs (#17545) 2025-02-10 00:45:50 +01:00
LibretroAdmin afd73998e6 Silence warnings 2025-02-09 20:33:04 +01:00
sonninnos 81df9b0491
GLUI: Also set navigation with long press (#17537) 2025-02-09 06:11:28 +01:00
sonninnos 3bf04c6034
GLUI: Fix null label icon (#17538) 2025-02-09 06:11:21 +01:00
sonninnos 677e627278
GLUI: Touch related fixes (#17536) 2025-02-08 21:19:24 +01:00
sonninnos 4cbfa3ad47
GLUI: Use tab selection remember option (#17532) 2025-02-08 11:56:40 +01:00
sonninnos 4232700de5
GLUI: Fix menu back to switch tabs like other drivers (#17529) 2025-02-07 11:43:45 +01:00
Eric Warmenhoven 4c8da979a5
fix a couple minor warnings (#17526) 2025-02-06 20:22:36 +01:00
sonninnos 94d5223880
Random selector Explore View fix (#17518) 2025-02-04 20:29:20 +01:00
sonninnos ea22c7c16c
Main Menu unifications between drivers (#17517) 2025-02-04 16:32:37 +01:00
Eric Warmenhoven 212ae55cfe
glui: extremely minor refactor. (#17501) 2025-02-01 04:57:46 +01:00
sonninnos 391ba55b81
Add playlist random selector (#17441)
* Add playlist random selector

* Buildfix attempt

* ORBIS buildfix attempt
2025-01-20 18:25:41 +01:00
LibretroAdmin cde82f532c * Naming convention changes for variable names/function arguments
* Try to fit lines within ANSI 80-char limit
2025-01-19 20:19:14 +01:00
LibretroAdmin b211adaaca Function argument name standardization 2025-01-17 19:55:32 +01:00
sonninnos da05947b41
GLUI: Restore core list icons (#17293) 2024-12-27 15:50:55 +01:00
libretroadmin 67b0147a59 Cleanups - menu_entries_get_title returns results of strlcpy 2024-12-24 05:35:36 +01:00
libretroadmin de8f979cb7 less string copies 2024-12-24 05:10:09 +01:00
libretroadmin c09fd38c1d * Use fill_pathname more
* Get rid of strlen in some locations
2024-12-22 20:43:54 +01:00
sonninnos cd4bca9178
Core info page cleanup and firmware icons (#17153) 2024-11-03 18:14:53 -06:00
sonninnos 2b8d743a85
GLUI icon fixes (#17102) 2024-10-16 12:00:07 -07:00
Viačasłaŭ 3019b926c2
Fix typos (#17068) 2024-10-01 17:36:33 -07:00
libretroadmin 73e5d955c3 Downgrade some more variables to NAME_MAX_LENGTH 2024-09-09 16:01:29 +02:00
libretroadmin e675ea7e29 Variable cleanups - add TODO/FIXME notes for spurious variable sizes 2024-09-09 15:22:08 +02:00
libretroadmin b8391e233f * PATH_MAX_LENGTH redefined from 4096 to 2048
* Massive reduction in heap space allocation, going from settings struct
264kb to 119Kb
* Use NAME_MAX_LENGTH for base paths/names, etc
* Use DIR_MAX_LENGTH for directory sizes
2024-09-09 05:47:32 +02:00
libretroadmin f4e2fbb660 (Menu/MaterialUI/RGUI) Integrate more bool flags into flags 2024-09-08 17:53:39 +02:00
libretroadmin 91516cdd49 (Menu input) Use flags 2024-09-05 10:58:29 +02:00
Eric Warmenhoven 5b04c060e1
glui: Honor menu_show_sublabels option (#16878) 2024-08-15 15:27:17 -07:00
libretroadmin 827e631903 (libretro-common) Some functions now return len 2024-06-15 12:47:51 +02:00
Eric Warmenhoven 7a44fb94a6
iOS: Display app icon in app icon picker in materialui (#16520) 2024-05-12 22:52:52 -07:00
sonninnos 17b9324a24
Cleanup 'Add to Playlist' (#16495) 2024-05-05 03:48:20 -07:00
Eric Warmenhoven 595f574f5c
Fix 'Add to Playlist' icon in materialui (#16401) 2024-04-02 00:06:46 -07:00
neil4 cc97df732c
Add Overlay Mouse, Lightgun, and Pointer (#16343)
- When enabled, any touch inputs not in a hitbox are used to create pointing device input for the core.
- Mouse: 1-, 2-, 3-touch inputs are LMB, RMB, and MMB
- Lightgun: allows input from overlay buttons or multi-touch mappings
2024-03-16 01:56:30 -07:00
zoltanvb 14d2a61952
Removal of thumbnail pack downloader related options (#16096)
Thumbnail packs are no longer available, but the option was still
present as "legacy thumbnail downloader". Since it serves no
purpose any more, it is removed from the code.
2024-01-09 00:17:47 -08:00
sonninnos 3bf5b518bb
(GLUI) Icon corrections (#15914) 2023-11-16 09:41:03 -08:00