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 ceb896785b
.
* 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 99186b1056
.
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
sonninnos
3615deed9e
Savestate thumbnails ( #14093 )
...
* Savestate slot reset action
* (Ozone) Thumbnail visibility corrections
2022-06-23 14:46:29 +02:00
sonninnos
745652bbbf
(Ozone) Playlist metadata reformat ( #14082 )
2022-06-22 22:56:03 +02:00
sonninnos
10a2103f7e
(GLUI) Add icon for 'Download Thumbnails' ( #14084 )
2022-06-22 22:55:38 +02:00
sonninnos
860155969e
Add 'Ago' to playlist last played styles ( #14086 )
2022-06-22 22:55:32 +02:00
sonninnos
807fd35300
(Ozone) Savestate thumbnail fixes ( #14079 )
2022-06-21 22:37:39 +02:00
sonninnos
645b4864fc
Allow changing savestate slots with left/right on save/load ( #14078 )
2022-06-21 00:57:04 +02:00
libretroadmin
0356c563b8
Simplify gfx_display_check_compatibility
2022-06-20 20:19:16 +02:00
sonninnos
44a52b4617
Better Disc Control append focus ( #14075 )
2022-06-20 18:07:46 +02:00
sonninnos
2ff77a363e
(Ozone) Add savestate thumbnails ( #14068 )
2022-06-20 16:34:41 +02:00
sonninnos
a0bfdcce3b
(D3D11/12) Make waitable swapchains optional ( #14074 )
2022-06-19 21:25:37 +02:00
sonninnos
ca0b3095e8
(D3D11/12) Make low-latency optional ( #14073 )
2022-06-19 14:14:34 +02:00
Cthulhu-throwaway
dabd9cb996
(Netplay/LAN Discovery) Task refactor ( #14070 )
2022-06-19 03:41:04 +02:00
LibretroAdmin
0008691aa0
Remove unused variables ( #14065 )
2022-06-18 19:28:07 +02:00
LibretroAdmin
4a38831c47
Try to reduce fixed size char arrays from PATH_MAX_LENGTH to lower sizes ( #14062 )
...
* Try to reduce fixed size char arrays from PATH_MAX_LENGTH to lower sizes
2022-06-18 19:07:15 +02:00
LibretroAdmin
fcf8d2e5b7
Merge pull request #14058 from sonninnos/shader-icons
...
Add proper icons for shader items
2022-06-18 13:27:45 +01:00
LibretroAdmin
054bf83f53
Merge pull request #14056 from sonninnos/disc-append-browsed
...
Disc Control append focus correction
2022-06-18 13:26:48 +01:00
sonninnos
1539e720f1
Add proper icons for shader items
2022-06-18 11:22:50 +03:00
sonninnos
8ec6c7517c
Reformat fill titles
2022-06-18 09:06:52 +03:00
sonninnos
5c9501b4c4
Disc Control append focus correction
2022-06-18 08:54:14 +03:00
LibretroAdmin
838e5117d0
Merge pull request #14054 from Cthulhu-throwaway/netplay-refactor
...
(Netplay) Some refactoring and fixes
2022-06-18 03:28:47 +01:00
Cthulhu-throwaway
7e798d04ba
(Netplay) Some refactoring and fixes
2022-06-17 18:00:48 -03:00
sonninnos
72d38a4b3c
Reformat database titles
2022-06-17 20:01:46 +03:00
sonninnos
325ba96613
More suitable icons for database entries
2022-06-17 18:10:08 +03:00
sonninnos
098f14dcd4
(Ozone) Header icon spacing adjustment
2022-06-17 15:23:42 +03:00
sonninnos
3d619de114
Automatic Frame Delay improvements
2022-06-14 07:11:43 +03:00
sonninnos
0bb65fb39c
(D3D11/12) Add waitable swapchains and max frame latency option
2022-06-07 00:25:03 +03:00
Cthulhu-throwaway
ade5444d5f
(Netplay) Change default for input sharing to "no sharing"
2022-05-25 07:45:02 -03:00
OsirizX
c6d51fdb32
[ORBIS] Initial changes for PS4
2022-05-21 16:31:10 +02:00
libretroadmin
28bfa238d4
(RGUI) Buildfix
2022-05-21 13:54:37 +02:00
Gabriel Morazán
9a0f59677b
(Ozone) UWP Build fix.
2022-05-20 22:10:27 -04:00
libretroadmin
3d010cd7a9
(XMB) Cleanups
2022-05-20 22:40:36 +02:00
libretroadmin
63157a6f09
(RGUI) Cleanups
2022-05-20 21:28:15 +02:00
libretroadmin
f879a723c6
(MaterialUI) Cleanups
2022-05-20 20:41:46 +02:00
libretroadmin
69d251ff6d
(Menu) Cleanups for drivers
2022-05-20 20:31:06 +02:00
libretroadmin
d9948c00e1
(Ozone) Cleanups
2022-05-20 19:50:33 +02:00
libretroadmin
05eca53290
(RGUI) Cleanups
2022-05-20 19:20:59 +02:00
libretroadmin
93e0baf715
(RGUI/MaterialUI) Cleanups
2022-05-20 16:10:15 +02:00
libretroadmin
14ab2db692
(Ozone) Cleanups
2022-05-20 14:46:45 +02:00
libretroadmin
07d19dd807
(XMB) Cleanups
2022-05-20 14:13:45 +02:00