libretroadmin
eb4440fafa
Fix previous mistake in menu_action_sublabel_contentless_core
2022-07-26 13:45:41 +02:00
libretroadmin
88c2ae9ddf
No null termination for strings passed to strlcpy/srlcat
2022-07-26 13:23:28 +02:00
Cthulhu-throwaway
8d4a64ab96
(Netplay) Disallow netplay start when content is not loaded for static core platforms ( #14220 )
2022-07-26 07:21:57 +02:00
libretroadmin
a6a4b845a4
Some string simplifications - don't NULL terminate if we pass
...
string to strlcpy and/or a file_path function using strlcpy under
the hood - don't do strlcpy for trivial setting of 2/3 char strings
2022-07-25 04:39:08 +02:00
TheRhysWyrill
54d0d84696
Fixed Purple Rain Theme ( #14214 )
...
* Add Purple Rain Theme
2022-07-25 00:44:31 +02:00
TheRhysWyrill
522d1ed16d
Add Purple Rain Theme ( #14212 )
...
* Add Purple Rain Theme
* Revert "Add Purple Rain Theme"
This reverts commit ceb896785b097d030d463f400d27b7f2146ac29a.
* Add Purple Rain Theme
2022-07-24 21:26:16 +02:00
libretroadmin
5c98caa7fd
Don't NULL-terminate string if we pass it to strlcpy and/or a
...
file_path function that calls strlcpy under the hood
2022-07-24 06:22:35 +02:00
libretroadmin
34a18f64e8
Don't do NULL termination on string when we pass the string to
...
strlcpy and/or a file_path function that does strlcpy under the hood
2022-07-23 10:46:05 +02:00
libretroadmin
d2aeba0a92
Cleanup - remove NULL-termination since we pass fullname now to
...
strlcpy always at first
2022-07-22 02:25:49 +02:00
libretroadmin
6cfcd749e4
(menu_driver.c)
...
* Fix issue 14190
* Simplify code by removing unneeded code
2022-07-22 02:13:18 +02:00
sonninnos
1f244aac01
(Ozone+XMB) Thumbnail improvements ( #14188 )
2022-07-21 15:25:12 +02:00
libretroadmin
4b5c7856e6
Remove some more explicit NULL-termination when we're calling a
...
string function that calls strlcpy under the hood
2022-07-19 20:43:12 +02:00
LibretroAdmin
29774f5b7a
Small opts ( #14186 )
...
* (joypad_connection) Small optimizations -
* Turn functions static where possible
* Hose strlen call out of loop
* (input_driver.c) General cleanups:
* Some small code/style nits
task_screenshot.c:
* Move widget callback function for screenshots to task_screenshot.c
(file_path.c):
* Turn get_pathname_num_slashes into static function
* path_linked_list_free - always returns true, so get rid of return value
* path_linked_list_new - fix function signature
* path_get_archive_delim - do not NULL-terminate string, already done by strlcpy later on
General:
* Slight optimizations - use int/size_t for loop counter variable instead of unsigned
* Take advantage of fact that strlcpy already NULL-terminates, so don't do this explicitly
outside if we're just going to end up calling strlcpy/fill_pathname_join on it anyway
2022-07-19 10:01:33 +02:00
LibretroAdmin
87240556ea
Should fix Android strtol regression (when converting from sscanf) ( #14183 )
2022-07-18 04:38:52 +02:00
libretroadmin
fbd765f167
Change menu_setting.c back
2022-07-18 03:11:38 +02:00
libretroadmin
de6c077e4d
(menu_cbs_get_value.c) Small nits
2022-07-17 19:23:46 +02:00
libretroadmin
66ea402de8
We already check if descriptor is empty beforehand
2022-07-17 19:15:37 +02:00
libretroadmin
a39532f19d
(menu_cbs_get_value) Try to prevent assignments to string buffer if not needed
2022-07-17 18:59:21 +02:00
libretroadmin
08cccc811c
Some slight optimizations of menu callback functions - better variable
...
scoping
2022-07-17 18:09:28 +02:00
libretroadmin
c3483654c9
Revert back to sscanf for versions of MSVC prior to MSVC2013 - prior
...
to MSVC2013, MSVC did not yet support strtof
2022-07-17 17:37:22 +02:00
libretroadmin
3ebfcbc7c7
setting_set_with_string_representation - avoid sscanf for trivial
...
operations when we can use strtol/strtoul/strtof
2022-07-17 09:46:27 +02:00
libretroadmin
e4b33fd0e6
(formats/json/rjson.c) Get rid of some implicit strlens and pass
...
size parameter to the functions instead
2022-07-17 06:58:22 +02:00
libretroadmin
b56b447f08
Fix these two memory errors that popped up with ASAN -
...
* Argument base for qsort cannot be NULL
* When system_count is 0 or less, early return out of explore_load_icons
2022-07-15 19:16:21 +02:00
libretroadmin
4b1766cf61
Silence more -Wdocumentation warnings
2022-07-15 01:12:04 +02:00
Cthulhu-throwaway
f5d46681c2
(UWP) Enable core downloader/updater ( #14173 )
2022-07-14 15:21:49 +02:00
libretroadmin
c4fb055fdb
Cleanups:
...
* Combine early return and assignment lines
* use path_basename_nocompression when possible
* Move variables to proper scope
2022-07-12 20:44:00 +02:00
libretroadmin
f7194e167f
use path_basename_nocompression where it is safe to do so
2022-07-12 19:14:12 +02:00
libretroadmin
69ddf03c91
Remove unused return variables
2022-07-12 18:00:33 +02:00
libretroadmin
83655420f6
file_list_prepend just a thin wrapper around file_list_insert - get
...
rid of it and just pass 0 as the last argument instead
2022-07-12 16:56:44 +02:00
libretroadmin
06e1b6a68f
Revert "Move strftime_am_pm to libretro-common rtime.c, remove duplicate"
...
This reverts commit 99186b1056b7e71d876bb868348059d2eec98ee8.
2022-07-12 03:31:42 +02:00
libretroadmin
99186b1056
Move strftime_am_pm to libretro-common rtime.c, remove duplicate
...
functions
2022-07-12 03:29:16 +02:00
libretroadmin
293722ac38
Get rid of fill_pathname_join_concat_ext
2022-07-11 22:01:20 +02:00
libretroadmin
b7926605f4
Remove fill_short_pathname_representation
2022-07-11 21:40:09 +02:00
libretroadmin
adf9994828
Deprecate fill_pathname_base_noext
2022-07-11 20:13:44 +02:00
libretroadmin
d706c9c5bf
Start deprecating trivial functions in file_path.c
2022-07-11 19:56:46 +02:00
libretroadmin
4bcc479041
Further refinement of function
2022-07-11 19:14:48 +02:00
libretroadmin
6475d0ca54
Make code identical for last_played_strftime and strftime_am_pm -
...
see opportunity here to cutdown on duplication and make this a public
function
2022-07-11 19:12:14 +02:00
libretroadmin
e91cf0e40d
No longer use fill_pathname_noext - just basic strlcpy/strlcat string
...
concatenation
2022-07-11 18:48:02 +02:00
libretroadmin
c54499c5fb
(Ozone) Simplify code
2022-07-09 14:29:49 +02:00
libretroadmin
281a498474
Backport 05a98b7efe
...
- fix off by one error for input_block_timeout setting
also default to 0 for this setting (pretty massive performance gain)
2022-07-07 18:03:45 +02:00
Cthulhu-throwaway
9af17b633e
(Netplay) Host Ban Submenu ( #14151 )
2022-07-07 16:08:46 +02:00
libretroadmin
bf5409881c
gfx_display_rotate_z optimizations - if radians is 0, we know cosine
...
and sine already. Avoid the computation with sinf/cosf and pass it as value to the
function when possible
2022-07-06 11:03:15 +02:00
libretroadmin
6607ff3aaa
rotate_draw - get rid of scale_x/y/enable - scaling is only done now
...
in XMB at two spots - refactor gfx_display_rotate_z so that it only
manipulates the input matrix' Z axis
2022-07-05 20:50:01 +02:00
libretroadmin
95db09d8c5
Move bundle_assets_{src/dst} to settings->paths
2022-07-05 19:15:29 +02:00
libretroadmin
336ca1a68c
Don't call gfx_display_rotate_z unless the display driver implementation's
...
'handles_transform' is set to false
2022-07-05 17:20:01 +02:00
libretroadmin
1798651041
(gfx_widgets) scale_enable can b set to false for widgets, scale_factor was always 1.0f
...
(XMB) set scale_enable to false when scale_factor is 1.0f
2022-07-05 14:18:20 +02:00
libretroadmin
681e1dea94
gfx_display_rotate_z - if scale_x/y/z are all 1.0f, then set
...
scale_enable to false
2022-07-05 14:02:38 +02:00
sonninnos
494c93df3e
Thumbnail aspect ratio fix ( #14145 )
2022-07-05 12:01:21 +02:00
sonninnos
7043873fba
Reformat rdb_entry_int ( #14140 )
2022-07-03 17:46:03 +02:00
sonninnos
91c8541e20
(Ozone+XMB) Savestate thumbnail aspect ratio ( #14139 )
2022-07-03 16:14:51 +02:00