Commit Graph

609 Commits

Author SHA1 Message Date
Alcaro 37efa9d52e
rpng: delete "unused" png_chunk member
also fix a rather ugly buffer overflow that relies on the unused member existing and being null
2020-08-16 00:27:25 +02:00
twinaphex 982fbadd15 (RBMP) Reorder structs, alignment 2020-08-16 00:13:16 +02:00
twinaphex 3d2efdd2ef (RJPEG) reorder structs, alignment 2020-08-16 00:09:10 +02:00
twinaphex d0b68ee838 (RPNG) Struct alignment changes 2020-08-14 17:54:03 +02:00
twinaphex b4dc19d7aa (RPNG) Cleanups 2020-08-14 17:49:33 +02:00
jdgleaver b19eb64329 (m3u_file) Replace static entries array with dynamic array via RBUF library 2020-08-13 17:25:45 +01:00
twinaphex 3680804217 Undo path_basedir_size 2020-08-04 03:05:20 +02:00
twinaphex 6f0874f2b1 Silence warning 2020-08-01 18:26:20 +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 4f931f2729 Use UINT32_C / UINT64_C throughout the codebase 2020-07-29 04:48:11 +02:00
twinaphex 8656b3d6f8 Create specialized optimized path_basedir_size 2020-07-11 19:29:43 +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 968922e151 Fix static code analysis warnings 2020-06-29 21:24:32 +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 47d93f7fb1 (formats/xml) Cleanups 2020-06-28 22:30:53 +02:00
twinaphex 6085ed358d (RPNG) Use malloc 2020-06-27 21:09:29 +02:00
twinaphex 1ae20ea17c Style nits - turn macro names into upper-case - some while style nits 2020-06-26 20:00:19 +02:00
twinaphex 8fccac666e Use STRLEN_CONST where possible 2020-06-24 22:57:41 +02:00
Jamiras 7d488aa200 use rcheevos for identifying games 2020-06-07 17:13:50 -06:00
twinaphex bb73fc6a89 Silence warnings 2020-06-05 22:39:44 +02:00
twinaphex 8bf11e9b18 (libretro-common) Try to prevent implicit usage of stdio fprintf 2020-05-24 20:18:36 +02:00
twinaphex 376b62e8fa Cut down on more unnecessary strlens 2020-05-24 17:25:52 +02:00
jdgleaver d24498bdf1 Image file type detection fixes/optimisations 2020-05-22 16:57:37 +01:00
jdgleaver 548c5dc925 (glcore/slang) Set filter and wrap mode correctly when intialising shader textures 2020-04-30 17:04:02 +01:00
Jamiras 7fe952ddeb don't ignore errors from decompress_v5_map 2020-03-31 11:08:35 -06:00
jdgleaver c61f6aafc1 (m3u_file.c) Replace tab indents with spaces 2020-03-20 14:53:53 +00:00
jdgleaver e24274a314 (Manual content scanner/playlist cleaner) Prevent redundant playlist entries when handling M3U content 2020-03-20 14:26:08 +00:00
twinaphex cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
twinaphex 652923d056 Move files around 2020-01-30 17:31:49 +01:00
twinaphex a034909ae9 Cleanups 2020-01-30 16:35:59 +01:00
twinaphex eb4e365820 (libretro-common) Cleanups 2020-01-27 17:00:18 +01:00
Jamiras 3b4e55d0e5 proper calculation of offset to track 2 when sector sizes vary 2019-12-19 13:17:32 -07:00
negativeExponent d96409ff37
Fix heap-use-after-free found when using asan
Fix https://github.com/libretro/RetroArch/issues/9871
2019-12-19 04:44:34 +08:00
jdgleaver a27ee73622 Manual content scan arcade DAT files: Add support for MAME 'Software List' XML format 2019-12-04 16:19:32 +00:00
jdgleaver 9b012e907a (Manual Content Scanner) Enable automatic naming of arcade content via DAT files 2019-12-04 12:46:04 +00:00
twinaphex f0784351c4 Update header include - should look in system dir 2019-11-19 06:19:09 +01:00
Twinaphex 53b7fb2ba2 Remove unused variables 2019-11-19 06:08:54 +01:00
Huw Pascoe 4eebfa237b Fixed xml parsing 2019-11-16 20:56:12 +00:00
Jamiras 0b92224c36 update PCEngine-CD hash algorithm; pregap cdfs support for CUE and CHD files 2019-10-24 18:46:43 -06:00
Jamiras 1ab81e5711 support for Sega CD/Saturn; reduce hash calls to server 2019-09-29 09:07:16 -06:00
twinaphex 5f87fa1aca CXX_BUILD buildfix 2019-09-22 14:04:02 +02:00
Barry Rowe 4e155dbc8e Added in rpng string streaming to ai service. 2019-09-21 23:57:59 -07:00
Jamiras c5750da85a improve handling of line endings in m3u and cue files 2019-09-21 08:06:06 -06:00
twinaphex 7dc2ca425f (RTGA) Further optimizations 2019-09-18 21:49:18 +02:00
twinaphex 1075522147 (RTGA) Cleanups 2019-09-18 21:13:46 +02:00
twinaphex 9a5b8f0475 (RBMP) Typo fix and some further cleanups 2019-09-18 20:30:39 +02:00
twinaphex bd39d72acd (RBMP) More optimizations 2019-09-18 20:25:15 +02:00
twinaphex b582f1c7c6 (RBMP/RJPEG) Cleanups + optimizations 2019-09-18 19:52:45 +02:00
twinaphex c3c4638b22 Replace some snprintf usage where not necessary 2019-09-17 05:49:54 +02:00
twinaphex 4c7beacfe4 (RPNG) rpng_is_valid - cleanup 2019-09-15 07:40:02 +02:00
twinaphex b7fe19b6c8 (libretro-common) RPNG - Cleanup 2019-09-15 02:04:37 +02:00
Twinaphex 753be84ae0 (Apple) Silence some warnings 2019-09-14 17:15:30 +02:00
Jamiras b1fb7a1c1e add hashing support for PSX cheevos (bin/cue, chd, or real CD) 2019-09-01 11:13:54 -06:00
Twinaphex 29dc30fa48
Revert " add hashing support for PSX cheevos (bin/cue, chd, or real CD)" 2019-08-30 15:55:07 +02:00
Jamiras bcd61d7f9b add hashing support for PSX cheevos (bin/cue, chd, or real CD) 2019-08-29 21:05:14 -06:00
twinaphex d6df17a154 Revert "add hashing support for PSX cheevos (bin/cue, chd, or real CD)"
This reverts commit 1185433374.
2019-08-30 03:14:42 +02:00
Twinaphex 5a82c809dc
Merge pull request #9334 from Jamiras/psx_cheevos
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-08-29 13:48:42 +02:00
twinaphex c93c7c82b0 Add this back 2019-08-28 07:47:19 +02:00
Jamiras 1185433374 add hashing support for PSX cheevos (bin/cue, chd, or real CD) 2019-08-23 08:02:06 -06:00
twinaphex a3e2531bd6 Remove duplicate function in translation_service.c 2019-08-21 21:51:25 +02:00
twinaphex 2e3162cdca Fix 'declaration hides parameter' 2019-07-14 13:15:55 +02:00
Twinaphex bf1951ae37 Fix plethora of warnings on OSX 2019-06-22 14:52:29 +02:00
twinaphex aea55f9c2d (RJPEG) Cleanup 2019-06-09 05:55:03 +02:00
jdgleaver ff297e72e7 (task_image) Make image loading/processing non-blocking on non-threaded systems 2019-05-28 12:57:52 +01:00
jdgleaver 431877799d (RPNG) Fix undefined behaviour when loading bad/corrupt PNG images 2019-05-27 13:07:11 +01:00
twinaphex f07952ecf0 Fix ASAN error 2019-05-16 17:43:16 +02:00
twinaphex 55e0a97446 Revert "Turn palette 64bit"
This reverts commit 8b8d4c83c0.
2019-05-16 16:51:59 +02:00
twinaphex 8b8d4c83c0 Turn palette 64bit 2019-05-16 16:42:11 +02:00
Huw Pascoe ea931428e1 rxml read from string and fix memory violation 2019-05-11 09:58:45 +01:00
Huw Pascoe cd714dbd0b image_texture_load_buffer 2019-05-11 09:58:45 +01:00
twinaphex 3e72c502a8 strlen optimizations :
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
twinaphex cec06a0859 C89 buildfixes 2019-03-24 18:15:26 +01:00
Huw Pascoe 45069537fb Re-enable RXML and purge libxml
Fixed rxml to work with griffin.c
2019-03-17 03:04:35 +00:00
Hugo Hromic 0cfefdd2a8 (libretro-common/libchdr) Use int types and format aligned to the `chd_header` typedef 2019-03-14 18:12:10 +00:00
orbea 28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
orbea 4c56167446 Convert to linux line endings. 2019-02-03 15:43:42 -08:00
orbea e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
Twinaphex fab4834b82
Merge pull request #7959 from bparker06/json_playlist
add JSON playlist format
2019-01-14 03:14:54 +01:00
twinaphex 6ca9afbd57 Silence more warnings with CXX_BUILD 2019-01-12 18:51:06 +01:00
Brad Parker c7041260d7 add JSON playlist format 2019-01-09 17:13:13 -05:00
orbea bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Francisco José García García 19549ddccf [ORBIS] Fix __assert 2018-12-27 20:18:53 +01:00
Twinaphex 93af9baf48 Remove warning 2018-09-01 04:04:15 +02:00
twinaphex 821ffc9962 Clang scan-build error fix 2018-08-19 16:13:13 +02:00
Brad Parker 2f87f669f1 fix null dereference (but scan-build still warns with "Assigned value is garbage or undefined") 2018-08-18 01:00:53 -04:00
Brad Parker fbe08aa0c5 fix double free 2018-08-18 00:51:07 -04:00
twinaphex 863204b343 Merge commit 'c68f2796b95838412610023611398d7c9968a3f3' 2018-06-21 08:22:10 +02:00
twinaphex d14a3f0d1f Merge commit '5c25cc90765cbf6ad7f01c0b635c72595bc7f457' 2018-06-21 08:18:08 +02:00
twinaphex 697531dbdd Merge commit '944cac83520c99e1ddf3d8cd3bf25990c8746d14' 2018-06-21 08:07:19 +02:00
twinaphex dd7ac99f27 Merge commit '6ff58826d8725e4e8788c22706de8b25cc89a4c2' 2018-05-12 18:05:31 +02:00