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
twinaphex
9d5472cecf
Merge commit '37aad93a58efba6c340e13aa1d83ddf2df762b3d'
2018-05-12 18:03:49 +02:00
twinaphex
768ebbfdb5
Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common'
2018-05-12 17:56:34 +02:00
twinaphex
0548349991
Remove libretro-common
2018-05-12 17:56:14 +02:00
twinaphex
3c73183a04
Cleanups - fix warnings
2018-05-07 15:05:59 +02:00
Twinaphex
b41c4ed624
Update
2018-04-23 10:22:54 +02:00
twinaphex
997c24ae0c
Make FLAC, zlib and LZMA support in libchdr optional
2018-04-22 20:19:07 +02:00
twinaphex
fc169cf4fe
Split up libchdr_chd.c into several files
2018-04-22 19:50:14 +02:00
twinaphex
8e2dfa6184
Cleanups
2018-04-22 19:19:27 +02:00
twinaphex
8a1f2f5cf2
Update libretro-common
2018-04-22 18:36:30 +02:00
twinaphex
7bef8746a3
Add chd_precache code to libchdr
2018-04-22 18:04:45 +02:00
twinaphex
1fd2cf1ff5
Update libchdr chd
2018-04-22 17:43:57 +02:00
twinaphex
db314ff82f
Uniquely namespace libchdr source files
2018-04-22 12:10:15 +02:00
twinaphex
88d62c7766
Update
2018-04-21 06:31:07 +02:00
twinaphex
e5d90eebd7
Updates to libretro-common
2018-04-21 06:29:56 +02:00
twinaphex
d8fd499f3d
Update count
2018-04-19 23:41:15 +02:00
twinaphex
835e491c62
Use int64_t type for feeding to filestream_read
2018-04-19 22:26:40 +02:00
twinaphex
be7eb4de1c
Update libretro-common
2018-04-16 08:57:17 +02:00
twinaphex
bb05af0d92
(libchdr) Prevent memory leak
2018-04-15 18:39:42 +02:00
Twinaphex
91ba0765e6
(libchdr) Silnces xcode warning
2018-04-09 05:58:32 +02:00
twinaphex
3d0e768e71
Silence some Coverity errors
2018-02-04 19:30:34 +01:00
twinaphex
d5ec046c63
Use calloc
2018-01-23 03:43:38 +01:00
twinaphex
6a47669d21
Prevent some heap corruptions/exceptions
2018-01-23 03:41:25 +01:00
twinaphex
93561a042b
Cleanups
2018-01-23 03:35:23 +01:00
twinaphex
f680f00098
Indent nit
2018-01-23 03:31:28 +01:00
twinaphex
625ddc5e52
Prevent some null pointer dereferences
2018-01-23 03:30:55 +01:00
twinaphex
27f34bf420
Some stability fixes
2018-01-23 03:23:49 +01:00
twinaphex
a80fb7c969
Add some safeguards here
2018-01-22 21:48:28 +01:00
twinaphex
bd73d4b98a
Cleanups
2018-01-17 06:44:16 +01:00
twinaphex
61ff51be2f
Start using string_is_equal predominantly
2018-01-16 22:53:38 +01:00
orbea
df885fce31
libchdr: Backport "backported chd_file::guess_unitbytes from upstream to set unitbytes and unitcount fields for pre-v5 headers"
...
Backports 13444fc72f
2018-01-05 16:08:29 -08:00
orbea
eeb6230ebd
libchdr: Trivial cleanup
2018-01-05 16:08:29 -08:00
Twinaphex
f4250a1ad5
Silence unused variable warnings
2018-01-05 14:13:58 +01:00
orbea
2d19885a17
C89_BUILD: Fix some clang compiler errors
...
Fixes the following -Werror warnings with C89_BUILD=1 and clang.
gfx/common/x11_common.c:407:17: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
Status status = 0;
^
libretro-common/formats/libchdr/chd.c:639:12: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
uint8_t *sector = &dest[framenum * CD_FRAME_SIZE];
^
libretro-common/formats/libchdr/chd.c:723:12: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
uint8_t *sector = &dest[framenum * CD_FRAME_SIZE];
^
2018-01-03 16:53:11 -08:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
a1ce8b58c4
Simply formats/xml/rxml.c
2017-12-11 18:01:56 +01:00
twinaphex
61d3f90cae
Add hint defines to libretro.h
2017-12-11 12:53:47 +01:00
twinaphex
318f17c4cb
Start using VFS API constant defines
2017-12-11 12:15:00 +01:00
twinaphex
2e979ec537
Replace function signatures of file_stream file functions
2017-12-10 22:25:38 +01:00
twinaphex
d0eef2579e
remove this - shouldn't be necessary
2017-11-25 00:54:51 +01:00
Twinaphex
5136ec2df0
Updates
2017-11-06 05:37:32 +01:00
Brad Parker
20850a7f92
travis: add mingw build targets
2017-10-24 00:37:31 -04:00
twinaphex
20da0f0666
Cleanups
2017-10-06 05:28:35 +02:00
twinaphex
608bc45388
Prevent another memory leak
2017-10-06 05:25:05 +02:00
Alcaro
3d9d5320ad
typo
2017-10-06 02:15:49 +02:00
twinaphex
6013e25b2b
Cleanups
2017-10-06 01:59:16 +02:00
Alcaro
76283edd07
fix buncha ignored errors and whatever
2017-10-06 01:53:00 +02:00
twinaphex
7959cd3993
Use malloc
2017-09-29 22:47:45 +02:00
Twinaphex
3c04a9776c
(OSX) Add FLAC and CHD support
2017-09-22 04:41:09 +02:00
twinaphex
46b79ccd78
Compilation fixes - headers need to be moved to separate include dir
2017-09-21 19:34:46 +02:00
twinaphex
c0de19f23d
Update
2017-09-21 19:29:13 +02:00
twinaphex
c3b5981dc0
Create minmax.h for libchdr
2017-09-21 19:28:32 +02:00
twinaphex
df60512a0d
Cleanup our dep version of 7zip - we don't want non-stdint types.
...
Other misc. cleanups
2017-09-21 19:23:09 +02:00
twinaphex
49cf80db10
Fix resource leaks
2017-09-18 15:57:05 +02:00
Brian Koropoff
3b7a202934
Fix libchdr build on Windows
2017-09-17 22:04:11 -07:00
twinaphex
4e71b75a7d
include retro_inline.h
2017-09-17 18:38:51 +02:00
twinaphex
f67641c52c
(libchdr) Can't have C++ comments
...
(config.params.sh) Have to disable FLAC for now; still doesn't
compile for Windows due to fseeko/ftello errors
2017-09-17 18:36:55 +02:00
Brian Koropoff
d41ea34d6b
upgrade libchdr
2017-09-17 02:02:04 -07:00
twinaphex
3c758609b5
Updates
2017-08-08 18:51:01 +02:00
twinaphex
e979eece1c
Updates
2017-08-08 18:45:56 +02:00
ensra
6a36453f20
Cast ctype args to unsigned char
2017-08-08 12:21:48 +01:00
twinaphex
e58eee37bc
Cleanups
2017-06-28 05:44:59 +02:00
twinaphex
688414c5bb
Get rid of some retro_assert usage
2017-06-26 05:38:51 +02:00
twinaphex
558181e7dd
(jsonsax_full.c) Silence some warnings
2017-05-31 04:23:28 +02:00
twinaphex
79bcc5efc9
Style nits
2017-05-19 19:16:05 +02:00
Twinaphex
808b973752
(OSX) Silence warnings
2017-05-16 08:44:17 +02:00
twinaphex
8eca08c6ac
Start using string_is_equal_fast/string_is_not_equal_fast macros
...
instead of straight memcmp
2017-05-16 03:20:59 +02:00
twinaphex
3593256a76
MSVC Buildfix
2017-05-09 02:29:24 +02:00
twinaphex
8e3d0612d2
Try to fix MSVC error
2017-05-08 21:12:55 +02:00
twinaphex
fec24bd47b
Cleanup rwav
2017-05-08 18:45:37 +02:00
twinaphex
dd517f4660
Try to avoid directly calling strcmp
2017-04-21 13:56:15 +02:00
twinaphex
2712b60de0
(rjpeg) Cleanup
2017-04-10 06:11:53 +02:00
twinaphex
a84540515c
Cleanup
2017-04-10 06:03:49 +02:00
twinaphex
51581e1578
Include string.h instead
2017-03-09 01:50:27 +01:00
Brad Parker
bd6ca986d8
msvc buildfix
2017-03-05 14:19:38 -05:00
Brad Parker
21fe0c8499
bake in johnanthonyowens/jsonsax as jsonsax_full
2017-03-05 14:19:35 -05:00