libretroadmin
7f55153457
take_screenshot - make function somewhat more readable
2023-05-30 12:26:52 +02:00
libretroadmin
c09fb6d95d
Cleanups
2023-05-30 12:19:53 +02:00
libretroadmin
1d9cb216ca
Silence some warnings/LTO issues
2023-02-19 10:21:37 +01:00
libretroadmin
01c3684b10
Cleanups - try to remove stdio.h include where possible
2023-01-21 22:25:38 +01:00
libretroadmin
8a3686df58
Revert "Header cleanups - don't include retroarch.h everywhere"
...
This reverts commit 0e3b478f8c00b015aec9a78d13e73277500e5449.
2023-01-08 09:05:46 +01:00
libretroadmin
0e3b478f8c
Header cleanups - don't include retroarch.h everywhere
2023-01-08 08:56:57 +01:00
libretroadmin
573a82c0c8
Buildfix for Miyoo
2022-12-05 15:46:44 +01:00
libretroadmin
04f510d503
Cleanup header includes
2022-12-05 15:10:19 +01:00
LibretroAdmin
07378abbdf
(task_save) Use flags instead of booleans
...
(task_screenshot) Start reducing amount of parameters
2022-10-30 18:41:41 +01:00
LibretroAdmin
cc3a339011
(Runloop) Use more flags
2022-10-10 19:54:54 +02:00
LibretroAdmin
4f071e47c7
screenshot_task_state - use flags instead of bools
2022-10-06 20:57:07 +02:00
sonninnos
4fe477ee39
Avoid 'video_gpu_screenshot' with savestates ( #14464 )
2022-10-03 15:13:01 +02:00
LibretroAdmin
b2634ea588
* Create fill_pathname_join_special - and specify fill_pathname_join
...
as deprecated.
* Use fill_pathname_join_special in the vast majority of cases where
we can ensure out_path is a new empty string
* Get rid of some extension concatenation with strlcat where encountered
* Some general cleanups with NULL termination of strings that get immediately
passed to strlcpy/strlcpy-adjacent functions
2022-08-04 14:19:38 +02:00
LibretroAdmin
e7f3432e48
Replace some trivial strlcat usage - use return value of preceding
...
strlcpy then simply append the extension to it at this location
2022-08-04 03:45:09 +02:00
libretroadmin
69a2d124c0
Don't do NULL termination on string if we pass it off to strlcpy
...
and/or a file_path function that uses strlcpy under the hood
2022-07-24 05:39:51 +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
f7194e167f
use path_basename_nocompression where it is safe to do so
2022-07-12 19:14:12 +02:00
libretroadmin
69605b7c9c
(task_screenshot.c) Simplify code
2022-07-05 18:15:12 +02:00
twinaphex
6a4a5ae27c
Put scaler_ctx back in screenshot_state
2021-10-02 04:19:46 +02:00
twinaphex
5ba8843354
Move dispwidget_get_ptr over to gfx_widgets.c
2021-09-30 04:40:15 +02:00
twinaphex
0e9b2179af
move scaler object out of screenshot_task_state
2021-09-30 02:19:16 +02:00
twinaphex
83ce4259a0
Have only one getter for runloop_state
2021-09-21 19:08:26 +02:00
Nargash
b8990d601a
Add configuration options to sort save files, save states, and screenshots into folders named after the content directory folder.
2020-08-20 19:29:00 -05:00
twinaphex
87c0fb6323
Struct reordering
2020-08-14 18:58:09 +02:00
twinaphex
36a76d1248
Take out my own implementation in favor of Ryunam's
2020-07-20 00:50:40 +02:00
Autechre
8861416b32
Merge pull request #11046 from Ryunam/screenshot-notification
...
Add options to control visibility, duration and flashing effect of Screenshot Notifications
2020-07-20 00:27:02 +02:00
Ryunam
5014f90e4d
Add options to customize Screenshot notifications
2020-07-19 23:42:16 +02:00
twinaphex
ccd9b8ead4
(Widgets) onscreen Notifications -> Add setting to enable/disable 'take
...
screenshot' widget individually
2020-07-19 23:26:14 +02:00
jdgleaver
0fcfb3deda
Refactor playlist struct configuration
2020-06-26 15:40:19 +01:00
twinaphex
876419294d
(gfx widgets) Pass more state around
2020-06-08 02:54:01 +02:00
twinaphex
98b847cad9
Fix some memory leaks and fallthrough errors picked up on by
...
Clang static code analyzer
2020-06-07 16:15:35 +02:00
jdgleaver
3a3c4f60bf
(task_screenshot) Fix heap-use-after-free error when widgets are disabled
2020-04-30 11:25:53 +01:00
jdgleaver
fa9290cf1e
Add optional playlist compression
2020-04-21 16:44:26 +01:00
twinaphex
7986561598
Rename menu widgets to display widgets
2020-03-13 03:58:33 +01:00
natinusala
375621394c
gfx_widgets: move volume into its own file
2020-03-12 09:31:05 +01:00
twinaphex
9ae4031d13
Cleanups
2020-03-07 19:14:45 +01:00
twinaphex
7c7d0f596a
HAVE_MENU_WIDGETS now decoupled from HAVE_MENU
2020-02-17 21:28:42 +01:00
twinaphex
b00bf17153
Move menu_widgets to gfx/ and call it gfx_widgets
2020-02-17 01:54:07 +01:00
twinaphex
b229f267e4
Rename menu_widgets to gfx_widgets
2020-02-17 01:43:40 +01:00
twinaphex
9c6c10da22
(Playlist) Get rid of settings_t dependency
2020-01-04 12:04:00 +01:00
twinaphex
b94b9e2adb
Go back to plain strlcpy/strlcat - probably best to look at
...
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
twinaphex
3b057d9605
Start using STRLCAT_CONST_INCR and STRLCPY_CONST
2019-09-20 23:33:17 +02:00
twinaphex
db624a7c99
Start cleaning up the rather messy manual assignment
2019-09-20 02:03:26 +02:00
twinaphex
698387e762
(task_screenshot.c) Cleanups - don't use snprintf unless necessary
2019-09-18 02:31:02 +02:00
twinaphex
6c671faed6
Start preparing for menu_widgets_ready to be moved to retroarch.c
2019-08-15 14:20:51 +02:00
twinaphex
20846796cd
Cut down on some menu_widgets_ready calls
2019-08-15 13:12:15 +02:00
Brad Parker
15d97dbaf3
cdrom: add disc dump option
2019-07-08 16:06:35 -04:00
Twinaphex
2d6e56d049
Remove some unused variables
2019-06-17 15:30:31 +02:00
twinaphex
ee3208ac39
Integrate video_driver.c into retroarch.c
2019-06-17 15:10:22 +02:00