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
Cthulhu-throwaway
b55fa28896
(Netplay/Menu) Localize relay servers ( #14136 )
2022-07-03 13:45:13 +02:00
Cthulhu-throwaway
42f75e7f72
(Netplay/Menu) Add client devices info to the kick sub-menu ( #14138 )
2022-07-03 13:44:46 +02:00
sonninnos
ee8993c76a
Silence Linux snprintf warnings ( #14131 )
2022-07-02 14:08:27 +02:00
Cthulhu-throwaway
78bc42de68
(Netplay/Lobby) Add setting for filtering out rooms with non-installed cores ( #14124 )
2022-07-02 00:24:33 +02:00
sonninnos
0232fc8e10
(Ozone+XMB) Savestate thumbnail fullscreen + dropdown ( #14116 )
...
* (Ozone+XMB) Savestate thumbnail fullscreen toggle
* (Ozone+XMB) Savestate thumbnail dropdown
2022-07-01 23:41:46 +02:00
Cthulhu-throwaway
ab208fca91
(Netplay) Ensure current content is reloaded before joining a host ( #14117 )
2022-07-01 01:02:04 +02:00
Cthulhu-throwaway
58fc77850c
(Netplay/Lobby) Hide older (incompatible) rooms ( #14118 )
2022-07-01 01:01:24 +02:00
libretroadmin
367dfd6e71
No longer include file_path_special.h in gfx_display.h
2022-06-26 18:35:07 +02:00
libretroadmin
4e13134c40
Remove unnecessary wrapper function gfx_display_font - just wrapped
...
around gfx_display_font_file
2022-06-26 18:19:43 +02:00
Cthulhu-throwaway
c1e8925f87
(Netplay) Find content task refactor ( #14089 )
2022-06-23 14:48:57 +02:00
sonninnos
7553dc66b5
Add missing sublabels for non-running Quick Menu ( #14090 )
2022-06-23 14:47:54 +02:00
sonninnos
bd9eda38e3
Reorganize Quick Menu Information ( #14091 )
2022-06-23 14:47:29 +02:00