LibretroAdmin
31b7812720
Function argument name standardization
2025-01-17 04:16:12 +01:00
Eric Warmenhoven
53d9452439
Change config_get_path/array return back to bool ( #17333 )
2025-01-02 14:35:33 +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
4521f6bcb2
Cleanups
2024-12-18 20:15:58 +01:00
libretroadmin
7f87a46744
More downsizing of variables
2024-09-09 16:18:32 +02:00
libretroadmin
9efb498bde
(config_file) Use flags
2024-09-08 18:12:12 +02:00
libretroadmin
aeff636a0f
Minor cleanups to config_file.c
2023-07-17 09:45:52 +02:00
libretroadmin
edecf0cb2d
Replace more strlcat calls with strlcpy
2023-06-18 19:25:24 +02:00
libretroadmin
d55d1a8863
Fix typo
2023-02-22 14:54:53 +01:00
libretroadmin
51894c3cbb
(Config file/libretro-common) config_file_extract_value - don't make
...
it dependent on strldup which pulls in another dependency/source file -
instead just unroll strldup for this specific one-time instance
2023-02-21 16:37:30 +01:00
LibretroAdmin
3abd414656
Backport ebe5f2cc3d
-
...
Remove config_file_exists, replace with path_is_valid
2022-09-03 06:35:41 +02:00
LibretroAdmin
575e331fd1
If we already know the length of the string, use strldup instead.
...
Avoids the internal strlen call inside strdup, and strdup is a deprecated
function starting from MSVC2005 anyways.
NOTE: Do NOT pass STRLEN_CONST as n parameter to strldup, it needs to
be at least +1 character higher than the strlen return value of the same
string
2022-08-25 16:31:54 +02:00
LibretroAdmin
107c69ab9e
(libretro-common) More documentation refinement
2022-08-01 11:03:58 +02:00
libretroadmin
f994c0b371
Get rid of superfluous wrapper function config_entry_exists
2022-07-19 21:00:40 +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
61ba6d06cc
(config_file.c) Cleanups - config_file_extract_value - only
...
one of three instances used the 'use_value' parameter, so take it
out of the function
2022-07-11 12:58:03 +02:00
libretroadmin
0e85113eb3
(libretro-common) Style nits/cleanups
2022-07-10 18:13:49 +02:00
LibretroAdmin
0008691aa0
Remove unused variables ( #14065 )
2022-06-18 19:28:07 +02:00
HyperspaceMadness
8d177ed865
Shader Load Extra Parameter Reference Files
...
When a shader preset is loaded now when there are more than one #reference line the parameter values will be loaded from the references after the first one
2022-06-04 20:12:21 -04:00
LibretroAdmin
6ba8fe225d
Revert "Shader Preset Loading of Multiple additional #references lines for settings"
2022-05-30 02:39:25 +02:00
Remi McGill
684889507b
Shader Loading of Multiple References for settings
...
Multi reference settings working
Config fixes
Multi-Reference Loading Working, Checking for shader chain not working
Checking References is working
Improved path_linked_list_add_path
Simplify path list stuff
Fixed Static Definition
Fixes
Fixes
Fix to Trigger PR Update
Removed Legacy Orbis which got left in a merge
Memory Leak Fix
2022-05-24 14:07:55 -04:00
Francisco Javier Trujillo Mata
6366fcf8e3
[ORBIS] Remove legacy implementation and compile with Werror
2022-05-21 17:10:35 +02:00
OsirizX
c6d51fdb32
[ORBIS] Initial changes for PS4
2022-05-21 16:31:10 +02:00
jdgleaver
2feca8994d
Revert "(config_file) Prevent hash map corruption when calling config_unset()"
...
This reverts commit e5df8f7850f49fd659e6ba8a2139f2a1f444f341.
2022-03-21 15:08:02 +01:00
jdgleaver
28247ba65d
(config_file) Prevent hash map corruption when calling config_unset()
...
- This is a workaround for the broken 'RHMAP_DEL_STR()' implementation in rhmap.h
- This commit should be reverted when rhmap.h is fixed
2022-03-21 15:08:02 +01:00
Francisco Javier Trujillo Mata
86b47b4859
[PSP] Update Retroarch to latest PSPDev status ( #13544 )
...
* Added newlib changes
* Add action to launch PPSSPP simulator
* Remove legacy config for the stack and heap
* Add pthread
* Simplify kernel_functions and improve references to HAVE_KERNEL_PRX
* Add some flags
* Improve audio init/deinit
* Improve exit by clicking home
* Add CI for PSP1
* Update PSP.yml
2022-01-25 03:50:18 +01:00
jdgleaver
02630d998e
Fix config file appending and 'including'
2021-04-29 12:29:47 +01:00
jdgleaver
b1a7d3e995
(config_file) Modify hash map usage for proper compatibility with updated RHMAP implementation
2021-04-28 17:34:24 +01:00
jdgleaver
29d5963cad
(config_file) Use hash map to optimise key/value lookups
2021-04-21 17:33:36 +01:00
unknown
1288a35841
Add some PSL1GHT ifdefs
2021-03-07 09:28:59 +01:00
Autechre
9797ba9f27
Merge pull request #11743 from HyperspaceMadness/Shaders_Fix_Simple_Preset_Relative_Texture_Paths
...
Shaders Load Refactor and Fix Referenced Texture Loading
2020-12-31 16:13:20 +01:00
twinaphex
c9888eb442
(config_file.c) This can go
2020-12-29 06:32:43 +01:00
HyperspaceMadness
0c526b6498
Shaders Load Refactor and Fix Referenced Texture Loading
...
Partial update to work with shaders directly
More Edits
More changes
more shader fixes
More Fixes Compiling, reference load still wrong
Added Feedback & things are working
Logging Fixes
Log Fix
More Fixes
Added Feedback Logging
Fixes for file pathing in Linux
Fix GLCore and Crash in QT Saving
Code Cleanup
Removed Unused Function filepath.c
Code Cleanup
2020-12-26 21:09:27 -05:00
twinaphex
870707dbe8
Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead
2020-12-19 15:32:26 +01:00
HyperspaceMadness
5008ac6eb0
Merge branch 'master' into Shader_Save_Load
2020-11-10 17:05:23 -05:00
jdgleaver
317ad3181d
(config_file) Enable saving of changed parameters when '#include' directives are used
2020-11-09 11:18:49 +00:00
HyperspaceMadness
f6e35420bc
Simple Shader Save Cleanup
2020-11-02 21:07:20 -05:00
HyperspaceMadness
70bf90c5d8
Shader_Preset_Simple_Save_Cleaned_2020_11_01
2020-11-01 09:18:40 -05:00
twinaphex
c744baeb89
Add ctype variants to stdstring and use it in RA
2020-09-27 22:15:32 +02:00
twinaphex
ad61d8ff92
Simplify config_get_entry
2020-08-26 02:17:37 +02:00
twinaphex
54dfaaa3bc
Simplify config_get_bool
2020-08-26 01:37:57 +02:00
twinaphex
48f2612223
(config_file) config_set - some of the char arrays were too big
...
for the type in question
2020-08-25 20:58:55 +02:00
twinaphex
1d53f3ca29
Move static functions to the top
2020-08-25 18:38:12 +02:00
twinaphex
6cc8a2acbd
Rewrite config_file_new_from_string
2020-08-25 18:37:14 +02:00
twinaphex
d573a802c4
Simplify config_file_new_alloc
2020-08-25 18:12:28 +02:00
twinaphex
f454665be2
Optimize config_file_exists
2020-08-25 18:10:32 +02:00
twinaphex
2c0fb6ff6c
config_file_parse_line - put sub_conf on stack
2020-08-25 17:54:22 +02:00
twinaphex
79c8a94857
(config_file.c) config_set_string - simplify
2020-08-25 15:50:26 +02:00
twinaphex
7771dbd594
Rename config_file_new_internal to config_file_load_internal
2020-08-25 15:36:26 +02:00