Commit Graph

652 Commits

Author SHA1 Message Date
libretroadmin 312550f499 (task_content.c) Cut down on some gotos 2025-07-22 17:51:37 +02:00
libretroadmin d9dba4e376 Revert "(task_content) Silence warning"
This reverts commit c1862dccc8.
2025-07-22 17:29:13 +02:00
libretroadmin 8dfc31461e Revert "* task_content.c"
This reverts commit 9b1d67c03a.
2025-07-22 17:27:04 +02:00
libretroadmin 5ba1e7077e Revert "content_init - don't need the switch when error_enum is not null"
This reverts commit e18b01302d.
2025-07-22 17:26:54 +02:00
libretroadmin 4c3a88a2f8 Revert "No longer shows unnecessary content info runloop message"
This reverts commit a6b7cf459e.
2025-07-22 17:26:25 +02:00
libretroadmin 051c5cff77 Revert "(task_content.c) Get rid of some more unnecessary gotos"
This reverts commit 903501f183.
2025-07-22 17:26:15 +02:00
libretroadmin 13c6eb53c9 Some more static code analysis fixes/cleanups 2025-07-22 17:17:20 +02:00
libretroadmin c1862dccc8 (task_content) Silence warning 2025-07-22 16:43:45 +02:00
libretroadmin 903501f183 (task_content.c) Get rid of some more unnecessary gotos 2025-07-22 16:42:23 +02:00
libretroadmin a6b7cf459e No longer shows unnecessary content info runloop message 2025-07-22 16:02:16 +02:00
libretroadmin e18b01302d content_init - don't need the switch when error_enum is not null 2025-07-22 15:42:05 +02:00
libretroadmin 9b1d67c03a * task_content.c
* content_file_load refactor - simplify
* error_string no longer needs to be dynamically allocated, make
a small local string and pass it around
2025-07-22 15:39:46 +02:00
libretroadmin 9e31b35f1b (task_content) content_file_list_append_temporary - simplify 2025-07-22 15:14:43 +02:00
libretroadmin 4b77ad663a task_content.c - small cleanups, initialize variables being passed 2025-07-21 05:59:09 +02:00
libretroadmin e24ca9da66 (task_content.c) replace one magic number 2025-07-21 05:38:18 +02:00
libretroadmin f1198c65a3 (task_content.c) Get rid of some of the obtuse macros 2025-07-21 05:20:46 +02:00
libretroadmin 80b3ccebba Silence some static code analysis warnings + code formatting/style nits 2025-07-18 08:11:25 +02:00
libretroadmin 2f5d95b0cf Move non-essential string_list functions out of file 2025-07-18 01:43:03 +02:00
sonninnos b2ca569521 Logging unification cleanups 2025-07-10 05:59:06 +03:00
sonninnos 383daa31cb Built-in playlist path rework 2025-06-16 19:18:55 +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
pstef 66aa1424f0 Define WIN32_LEAN_AND_MEAN to avoid collision with winsock2 2025-04-12 10:45:08 +00:00
pstef 83e974077f Guarantee space for string characters after strlcpy
to silence a couple of stringop-overflow warnings (3DS).
2025-03-28 11:11:09 +00:00
Eric Warmenhoven 86fddd5326 apple: fix strlcpy where src and dst are the same 2025-03-17 15:34:45 -04:00
sonninnos ee8a641275 Core load+unload fixes 2025-03-13 15:09:38 +02:00
LibretroAdmin 366612fb82 Revert "Fix some string appending"
This reverts commit 65b9ea4e76.
2025-02-11 23:48:12 +01:00
LibretroAdmin 65b9ea4e76 Fix some string appending 2025-02-11 23:08:55 +01:00
LibretroAdmin 6559f4499c Cleanups - less settings_t pointer passing 2025-02-11 09:38:54 +01:00
Eric Warmenhoven 5471a9ebfe
ios: jump back to selected item after closing content (#17534) 2025-02-08 20:32:41 +01:00
LibretroAdmin dda78a4fc8 Use find_last_slash where possible 2025-01-17 13:26:17 +01:00
LibretroAdmin e2c8e98be0 Buildfixes and warning fixes 2025-01-17 12:03:30 +01:00
LibretroAdmin 31b7812720 Function argument name standardization 2025-01-17 04:16:12 +01:00
LibretroAdmin e982905eb4 content_get_subsystem_friendly_name - change function signature return
to size_t
2025-01-17 00:55:30 +01:00
LibretroAdmin a5c9d9520f * Use fill_pathname_basedir where possible
* Move static variable to only function where it's used
* Change signature of file_path.c function
2025-01-15 22:17:59 +01:00
LibretroAdmin bd413de842 Log messages are too small to hold entire path 2025-01-13 16:01:16 +01:00
LibretroAdmin e40f405b97 Play it on the safe side - go back to some of the code
from before
2025-01-07 02:47:37 +01:00
LibretroAdmin 18c85b5ccd Cleanups -
* Less string copies
* Some general cleanups
* Add extra param to runloop_message_queue_push so we can pass size_t
of the message
* Consistent conventions for local variable usage for certain things
2024-12-27 15:13:45 +01:00
LibretroAdmin ed58e4a8d8 Conventionalize len variables:
* In function arguments, use 'size_t len'
* Inside the function, use '_len'
* If you need a seciondary len variable inside the function, use '__len'
2024-12-27 05:51:33 +01:00
LibretroAdmin 739f2ff55c
Reduce calls to path_remove_extension - use fill_pathname instead (#17270)
* Reduce calls to path_remove_extension - use fill_pathname instead

* More fill_pathname usage
2024-12-20 21:40:58 -08:00
libretroadmin 29f011acef * Inline find_last_slash
* explore_load_icons - fill_pathname_slash is equivalent to usage
of strlen here, no need to call strlen
2024-09-10 16:02:06 +02:00
libretroadmin 36bcbefc96 Cleanup some char variables - title variables will always be 128
in size
2024-09-10 00:15:23 +02:00
libretroadmin 13cf0fc79c Add more TODO/FIXME notes 2024-09-09 20:19: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 99a763c4e8 Global - turn bools into flag 2024-09-05 10:05:57 +02:00
kwyxz fab86199a8
fixed warning + allow cli arguments on Haiku (#16887) 2024-08-17 09:58:49 -05:00
libretroadmin 850f1ff6f7 Put comment back 2024-06-16 16:56:19 +02:00
libretroadmin 4eb8b772ec (task_content.c) content_file_override_set - use strtok_r instead
of string_list
2024-06-16 16:54:57 +02:00
Eric Warmenhoven 7379d33801
tvOS Top Shelf (#16302)
This puts the History and Favorites playlists (up to five items each)
in the Top Shelf menu. In order for this to be enabled you must build
it yourself and change the app identifiers for the TV app and Top
Shelf extension, and add both of them to an app group.
2024-02-27 23:20:32 -08:00