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
twinaphex
5cfc4defc6
(libretro-common) Prevent more static code analysis warnings
2020-06-29 20:31:14 +02:00
twinaphex
55d9456cbb
More static code analyzer fixes
2020-06-29 20:14:14 +02:00
twinaphex
672deef31a
Prevent static code analyzer complaining about potential
...
memory leaks
2020-06-29 20:06:37 +02:00
twinaphex
6318e11027
Try to prevent static code analyzer warning about potential leak
2020-06-29 20:02:28 +02:00
twinaphex
28399641da
task_queue_put - prevent dereference of null pointer
2020-06-29 19:57:52 +02:00
twinaphex
316914cb45
Prevent another static code analysis warning
2020-06-29 19:23:45 +02:00
twinaphex
c7bb666214
CRITICAL_SECTION implementation can differ - use calloc here
2020-06-29 14:19:50 +02:00
twinaphex
03b232552e
(MSVC) Buildfix
2020-06-29 13:53:40 +02:00
Twinaphex
fc2e11d4b7
Fix pthread codepath
2020-06-28 23:31:44 +02:00
twinaphex
a833c5f4a6
Cleanups in audio mixer code
2020-06-28 23:24:00 +02:00
twinaphex
6d50ac7cb7
Cleanups
2020-06-28 22:59:51 +02:00
twinaphex
47d93f7fb1
(formats/xml) Cleanups
2020-06-28 22:30:53 +02:00
twinaphex
5a0bc479b1
(libretro-common) Avoid more callocs
2020-06-28 20:57:00 +02:00
twinaphex
1a625f32e8
Update
2020-06-28 20:40:43 +02:00
twinaphex
595c8ce5d0
(libretro-common/streams) Cleanups
2020-06-28 20:32:23 +02:00
twinaphex
3dafbb8487
(libretro-common) Use malloc
2020-06-28 06:52:02 +02:00
twinaphex
3541b2aa0e
task_init - use malloc
2020-06-28 06:41:07 +02:00