twinaphex
6f0874f2b1
Silence warning
2020-08-01 18:26:20 +02:00
twinaphex
aba17fdc92
Warning fix
2020-08-01 18:18:09 +02:00
twinaphex
cd9ea1f44b
Another warning fix
2020-08-01 18:16:19 +02:00
twinaphex
4ee45304b0
More warning fixes
2020-08-01 18:14:48 +02:00
twinaphex
3635bf0d01
Silence some warnings
2020-08-01 18:04:56 +02:00
Jamiras
92e61ccb5c
move temporary buffer off stack
2020-07-29 19:54:48 -06:00
twinaphex
4f931f2729
Use UINT32_C / UINT64_C throughout the codebase
2020-07-29 04:48:11 +02:00
twinaphex
eba83390ba
Warning fixes
2020-07-23 07:39:08 +02:00
twinaphex
fa6d5333f7
More silencing of warnings
2020-07-23 06:39:21 +02:00
twinaphex
98516280ad
(s16_to_float) Silence aggressive-loop-optimization undefined
...
behavior because of potential signed integer overflow
2020-07-23 06:35:30 +02:00
Francisco Javier Trujillo Mata
8334be07bf
Fix issue with the PS2 and PRI_SIZET
2020-07-21 10:17:16 +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 32dcff3880a32521e49916dc56e8b04f56ed6b45.
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
Autechre
84ca79fcc1
Merge pull request #11006 from Jamiras/save_task_wait
...
only wait for save task to complete
2020-07-12 19:14:04 +02:00
Jamiras
6f964681ae
update comment
2020-07-12 08:21:02 -06:00
twinaphex
be0148406e
fill_pathname_application_dir - cleanup
2020-07-11 19:45:24 +02:00
twinaphex
8656b3d6f8
Create specialized optimized path_basedir_size
2020-07-11 19:29:43 +02:00
Bernhard Schelling
0ddb073784
First set of cleanups to archive handling
...
- 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 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`
2020-07-12 00:51:35 +09:00
Jamiras
9aa42c9d5e
only wait for save task to complete
2020-07-10 20:18:03 -06:00
twinaphex
638d692d2e
Cleanups
2020-07-09 02:35:32 +02:00
twinaphex
e48ffd14cd
Cleanups
2020-07-09 00:24:09 +02:00
twinaphex
0a1942f528
Turn fifo_read_avail and fifo_write_avail into macros
2020-07-07 08:13:32 +02:00
twinaphex
6e59d52184
Cleanups/comments
2020-07-07 05:58:07 +02:00
twinaphex
d5bdec3f60
(net_http) Refactor
2020-07-05 00:51:41 +02:00
twinaphex
4489e5490d
Add more tests
2020-07-03 01:34:54 +02:00
twinaphex
96dd505a0f
(libchdr) Backport baka0815 commits
2020-07-01 19:50:46 +02:00
twinaphex
6bdc9795e7
(libchdr) Backport f08156f947
2020-07-01 19:44:17 +02:00
twinaphex
5ded7872de
(libretro-common/libchdr) Backport 2785de8481
2020-07-01 19:41:24 +02:00
twinaphex
8d8800229c
(libchdr) Backport 16eae7e4e5/src/chd.c
2020-07-01 19:27:14 +02:00
twinaphex
d2afef58d7
(libchdr) Resync against c05c91300a (diff-b4791a43102472fe8d3959f86bd376c4)
2020-07-01 19:23:33 +02:00
twinaphex
9e9fb47c05
(libchdr) More resyncs
2020-07-01 19:21:40 +02:00
twinaphex
436f161cc3
(libchdr) More rebases
2020-07-01 19:15:45 +02:00
twinaphex
88804a05de
(libchdr) Cleanups + attempts to rebase against upstream
2020-07-01 19:12:20 +02:00
twinaphex
8f65c4e6dd
Cleanups
2020-07-01 17:10:00 +02:00
twinaphex
3580db3ebe
(deps/mbedtls) Cleanups
2020-07-01 03:48:13 +02:00
twinaphex
d6ec4029db
(mbedtls) Remove MBEDTLS_DEBUG_C
2020-07-01 01:29:27 +02:00
twinaphex
69756ebd93
Add HAVE_NEAREST_RESAMPLER ifdef
2020-06-30 21:45:05 +02:00
twinaphex
2c62a10d6c
- Fix codepaths for compiling without HAVE_RWAV
...
- Add back HAVE_BSV_MOVIE
2020-06-30 18:08:49 +02:00
twinaphex
ad8c22e6ac
Fix build for MSVC 2003
2020-06-30 01:50:12 +02:00
twinaphex
968922e151
Fix static code analysis warnings
2020-06-29 21:24:32 +02:00
twinaphex
a2f2a882cb
Cleanups
2020-06-29 21:06:21 +02:00
twinaphex
b93c3b36ed
Prevent more static code analysis warnings
2020-06-29 20:34:47 +02:00