libretroadmin
7186d75c44
Designate fill_pathname_noext as deprecated function
2022-07-11 20:03:42 +02:00
libretroadmin
d706c9c5bf
Start deprecating trivial functions in file_path.c
2022-07-11 19:56:46 +02:00
libretroadmin
0d4ef1cef4
(file_path.c) Call trivial strlcpy/strlcat operations directly
...
instead of going through functions
2022-07-11 17:23:06 +02:00
libretroadmin
6438d575d4
(file_path.c) Simplifications
2022-07-11 17:14:09 +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 e5df8f7850
.
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
Vladimir Serbinenko
2f130a23e4
Allow loading files from archive subdirectory ( #13443 )
...
* Allow loading files from archive subdirectory
Common example is "games.7z#game1/version1.ext" current code assumes that
everything that is before last slash is part of filesystem directory which
is false in this case.
* Fix listing of archive subdirectories
Currently file_archive_get_file_list_cb returns 0 on skipped entries.
It's wrong as calling convention for it is "0 means to stop iterating".
So on first extensionless file or an explicitly listed directory
further listing has stopped
2022-01-11 13:59:38 +01:00
Manuel Alfayate Corchete
e5215d9e29
Fix incorrect file names for remap files when the content path doesn't have a preceding slash. ( #13385 )
2021-12-20 23:24:19 +01:00
tunip3
6c123dd078
Mitigate need for vfs cores on ntfs drives [UWP/XBOX] ( #13368 )
...
* make check for standard io by access rather than the just assuming based on path string
* add code to auto permissions so files can be accessed by non vfs cores
(no exfat or fat32 support yet)
* remove commit from macro because apparently it causes issues
Co-authored-by: Tunip3 <tunip3@users.noreply.github.com>
2021-12-17 13:46:04 +01:00
twinaphex
619398bbe4
Backport parts of 73c0760236
2021-11-09 23:12:57 +01:00
twinaphex
b375e08c67
(libretro-common) fill_pathname_abbreviated_or_relative - fix warning -
...
variable is uninitialized
2021-08-11 18:50:03 +02:00
twinaphex
9700a009c5
(7zip) Use normal stdint.h types that don't conflict with PowerPC
...
Mac's OSTypes.h
2021-08-07 01:43:08 +02:00
Ash Logan
e43f07b85b
wiiu: Add fastpath for already aligned buffers
2021-07-18 22:33:26 +10:00
Autechre
375eb4b852
Merge pull request #12459 from toshixm/fix_12103
...
Fix garbled path string
2021-07-08 12:05:07 +02:00
jdgleaver
eafeb83d0b
Fix archive delimiter detection when file path contains no slashes
2021-06-28 10:40:37 +01:00
jdgleaver
b5df2b883a
Fix loading of archived content with file names containing '#' characters
2021-06-03 16:40:13 +01:00
toshixm
1218aebfbf
static allocation instead of malloc()
2021-06-03 15:26:33 +09:00
toshixm
935c7d0e2c
use _wfullpath() instead of _fullpath()
2021-05-30 09:17:06 +09:00
jdgleaver
334a43a7c5
Prevent unnecessary extraction (to disk) of compressed content files + task_content.c clean-ups
2021-05-20 17:08:51 +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
a501dfd680
Update 7-Zip dependency to latest stable version (fixes CHD support on static platforms)
2021-04-28 12:00:50 +01:00
jdgleaver
29d5963cad
(config_file) Use hash map to optimise key/value lookups
2021-04-21 17:33:36 +01:00
twinaphex
1811bd6885
Fix issue in https://github.com/libretro/neocd_libretro/issues/58
2021-04-16 19:34:06 +02:00
twinaphex
637cff628f
* Simplify RARCH_CTL_IS_CORE_LOADED
...
* Create specialized function path_basename_nocompression
2021-04-11 17:27:31 +02:00
twinaphex
5aaf4150e2
(file_path.c) Use strlcpy for these instead of snprintf
2021-03-24 17:26:34 +01:00
unknown
1288a35841
Add some PSL1GHT ifdefs
2021-03-07 09:28:59 +01:00
twinaphex
c43b0f53bf
(file_path) Get rid of all the platform-specific headers
2021-02-21 18:50:17 +01:00
Autechre
dbe1061742
Refactors ( #12057 )
...
* lock_file_path here will never be empty
* Simplify path_mkdir - final return value can become false, and sret
variable can go
2021-02-21 11:09:11 +01:00
twinaphex
552f973833
Cleanups/remove unused variables
2021-01-16 17:17:16 +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
c4dc28319f
Remove obsolete headers
2020-12-30 00:22:31 +01:00
twinaphex
c9888eb442
(config_file.c) This can go
2020-12-29 06:32:43 +01:00
twinaphex
b1af12efc9
Add more PSL1GHT ifdefs
2020-12-27 18:56:00 +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
jdgleaver
3c06a907ca
Fix directory creation on GEKKO platforms when path contains a trailing slash
2020-10-05 10:59:55 +01:00
twinaphex
c744baeb89
Add ctype variants to stdstring and use it in RA
2020-09-27 22:15:32 +02:00
jdgleaver
3d4ddebcaf
Add several LCD-effect video filters
2020-09-24 16:11:07 +01:00
twinaphex
0e49f058f3
Use strcpy_literal in more places
2020-09-19 23:59:06 +02:00
jdgleaver
5a0dc5524d
Fix string_list memory leaks
2020-09-08 14:58:49 +01:00
twinaphex
318ac1f667
(filebrowser_parse) Use non-heap allocated string_list functions
2020-09-04 06:29:30 +02:00
twinaphex
662e37f670
Replace more instances of string_split
2020-08-26 13:35:05 +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
twinaphex
cd0a27680a
(config_file.c) Cleanup
2020-08-25 15:34:11 +02:00
twinaphex
5a69e6e75c
Simplify config_file.c code
2020-08-25 15:29:45 +02:00
twinaphex
b7b96fb142
(config_file) Cleanups
2020-08-25 12:39:28 +02:00
twinaphex
f18af41876
Cut down on add_sub_conf
2020-08-25 12:29:08 +02:00
twinaphex
1e5ccb7319
Create config_file_get_realpath
2020-08-25 12:20:09 +02:00
twinaphex
74a3e5be8a
Simplify is_path_accessible_using_standard_io
2020-08-24 23:41:10 +02:00
twinaphex
42a3d433dc
Restore this code
2020-08-24 23:25:57 +02:00
twinaphex
ceca44b233
Cleanup config_initialize_internal
2020-08-24 23:09:55 +02:00
twinaphex
88f01c51a7
(config_file) Cleanups
2020-08-24 22:57:08 +02:00
twinaphex
b681b2af49
config_set_string: simplify
2020-08-24 21:25:55 +02:00
twinaphex
a954118faf
(config_file) Cleanups
2020-08-24 21:16:25 +02:00
twinaphex
4f29bef56e
(config_file) Cleanups
2020-08-24 21:11:41 +02:00
twinaphex
150e96144a
Cleanup
2020-08-24 20:40:49 +02:00
twinaphex
dd13e6b044
(config_file.c) Use snprintf
2020-08-24 19:39:41 +02:00
twinaphex
24910b6999
(config_file) Simplify config_sort_compare_func
2020-08-24 19:29:24 +02:00
twinaphex
f48dc0ff5b
Reorder structs, alignment
2020-08-15 20:38:31 +02:00
twinaphex
7642cf5fa5
Struct reorders/alignment
2020-08-14 22:54:46 +02:00
twinaphex
659d50c916
Struct reorderings
2020-08-14 18:31:28 +02:00
Érico Rolim
057dd563aa
[linux] Add missing include in nbio_linux.c.
...
On musl-libc, the compiler would print a warning for nbio_linux.c:
"warning: 'struct timespec' declared inside parameter list will not be
visible outside of this definition or declaration", indicating a missing
header defining this structure.
On glibc, this definition is provided through the stdlib header.
2020-08-10 00:33:43 -03:00
twinaphex
3680804217
Undo path_basedir_size
2020-08-04 03:05:20 +02:00
twinaphex
4a6f49fc0a
(360) Fix build
2020-08-03 22:35:10 +02:00
twinaphex
97297f71af
(MSVC 2005) MSVC 2005 and earlier cannot use nbio_windowsmmap.c -
...
so disable it
2020-08-01 22:51:23 +02:00
twinaphex
3635bf0d01
Silence some warnings
2020-08-01 18:04:56 +02:00
Autechre
343a04e2b8
Merge pull request #11027 from schellingb/archive_cleanup_1b
...
Use MMAP again for ZIP loading/parsing
2020-07-16 03:28:54 +02:00
Bernhard Schelling
b03cdbd0da
First set of cleanups to archive handling (Rev B)
...
- Don't read the entire archive file into memory on systems without HAVE_MMAP
- Support ZIP files between 2GB ~ 4GB on 32bit architectures
- Remove zip exclusive members from `file_archive_transfer`
- Add `zip_context_t` for zip like the already existing `sevenzip_context_t`
- Unify cleanups of zip and 7z in `file_archive_file_backend::archive_parse_file_free`
- Handle some sizes and offsets as int64_t (preparation for future Zip64 support)
- Handle ZIP compression methods in `zlib_stream_decompress_data_to_file_init` not in `file_archive_perform_mode`
- Return progress of 7z iterating with `file_archive_parse_file_progress`
- Uses MMAP where available, for files up to 256MB
2020-07-16 02:47:59 +09:00
Twinaphex
367530683c
Get rid of unused variables
2020-07-15 19:47:45 +02:00
twinaphex
06064a0527
Revert "Bring back MMAP support"
...
This reverts commit 32dcff3880
.
2020-07-13 23:52:23 +02:00
twinaphex
c84aa90075
Merge branch 'archive_cleanup_1' of git://github.com/schellingb/RetroArch
2020-07-13 21:30:02 +02:00
Bernhard Schelling
32dcff3880
Bring back MMAP support
...
Will be used where available for files up to 256MB
2020-07-14 03:04:01 +09:00
Bernhard Schelling
c05f1e91fc
Fix another memory leak that was there originally
...
When loading a single file out of a ZIP with many files it leaked memory allocated for all found filenames that weren't requested.
2020-07-14 03:00:47 +09:00
Bernhard Schelling
a978b939ff
Fix C89 build
2020-07-14 01:56:48 +09:00
Bernhard Schelling
54db0fe515
Fix memory leak
...
Properly release buffers for extracted files from ZIP
Use RETRO_VFS_SEEK_POSITION_START instead of SEEK_SET for filestream_seek
2020-07-14 00:29:46 +09:00
twinaphex
750140779c
(libretro-common) Fix
2020-07-13 16:18:46 +02:00
twinaphex
be0148406e
fill_pathname_application_dir - cleanup
2020-07-11 19:45:24 +02:00