Commit Graph

1978 Commits

Author SHA1 Message Date
Brad Parker
89265f5cf2 filestream_seek does not return the position in the file 2017-10-29 12:08:24 -04:00
Brad Parker
1842471eb1 use filestream_open to check if a file exists 2017-10-28 16:00:51 -04:00
Brad Parker
20850a7f92 travis: add mingw build targets 2017-10-24 00:37:31 -04:00
bparker06
b0f8a570b5 encoding_utf: Fix coverity warnings, extra error checking 2017-10-19 17:24:35 -04:00
Brad Parker
f3aceefe84 win32: use W-functions for nbio file IO too 2017-10-18 12:30:44 -04:00
Brad Parker
0d06a48546 use LEGACY_WIN32 ifdef for filestream also 2017-10-16 00:39:16 +00:00
Brad Parker
bd06668075 win32: forgot to add unicode functions for filestream 2017-10-16 00:30:25 +00:00
twinaphex
f8a60b2b76 Create LEGACY_WIN32 ifdef 2017-10-16 01:51:59 +02:00
twinaphex
8464ad30bd (Xbox 360) Buildfixes 2017-10-16 01:33:17 +02:00
Brad Parker
1b1d5c468d win32: use unicode functions for file IO if supported 2017-10-15 17:41:34 -04:00
Alcaro
f3c57ee343 Don't allow more than a billion nanoseconds 2017-10-15 23:25:21 +02:00
Alcaro
2c773a0eb8 Whitespace cleanup 2017-10-15 23:25:21 +02:00
Brad Parker
ac3b7bc4cc windows.h already includes stringapiset for us 2017-10-15 10:16:19 -04:00
Twinaphex
e86e237ed7 Merge pull request #5552 from bparker06/win32_file_encoding
win32: support local multibyte encoding for file paths
2017-10-15 13:07:18 +02:00
Brad Parker
338723bc31 fix some null pointer accesses with empty strings 2017-10-15 00:39:55 -04:00
Brad Parker
a7c8cc88e5 win32: support local multibyte encoding for file paths 2017-10-14 23:13:24 -04:00
twinaphex
7cf1793801 Silence some static code analysis warnings 2017-10-11 21:46:18 +02: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
8238545bef Cleanups 2017-10-04 06:53:47 +02:00
twinaphex
d10de20bff Start compiling Griffin as C for 360 - C89 fixes 2017-10-03 04:11:41 +02:00
bparker06
97f995218f Update vector_list.c 2017-10-02 19:19:12 -04:00
Brad Parker
2bb20a0b4f add generic vector_list for custom types, use it to remove std::vector from D3D9 Cg renderchain 2017-10-02 19:19:12 -04:00
twinaphex
702f1276d6 Silence warnings 2017-10-03 00:53:09 +02:00
Alcaro
c91c4ff9c0 Nuke some more ifdefs and warnings 2017-10-03 00:35:41 +02:00
Alcaro
dc4c2cd6d9 Wipe out a buncha warnings and pointless ifdefs (some warnings will remain until #5497 is fixed) 2017-10-03 00:26:29 +02:00
Alcaro
b97853a536 Rename STRING_REP_ULONG to STRING_REP_USIZE 2017-10-02 22:51:51 +02:00
Brian Koropoff
96c3d6cc1d Remove debug abort() left in by accident 2017-10-01 13:10:24 -07:00
twinaphex
02cc57e5b3 Cleanup 2017-09-30 07:52:00 +02:00
Brad Parker
6b5d863136 check for end of string before trying to read more 2017-09-30 01:47:51 -04:00
twinaphex
aab154fadf (chd_stream.c) Cleanups 2017-09-30 01:45:48 +02:00
twinaphex
f5dedd673f (trans_stream_zlib.c) Try to prevent null pointer dereferences 2017-09-30 01:41:09 +02:00
twinaphex
7959cd3993 Use malloc 2017-09-29 22:47:45 +02:00
twinaphex
542f87bf55 Prevent leaks 2017-09-29 21:29:34 +02:00
twinaphex
5379b12e7c FIx some new Coverity errors 2017-09-29 05:39:06 +02:00
twinaphex
3564562563 database_info.c - use malloc 2017-09-29 05:01:00 +02:00
Alcaro
3374b0ffde Add why we're doing this 2017-09-29 04:04:51 +02:00
twinaphex
8eb28eaae9 Add this for Wiiu debugging 2017-09-29 04:03:13 +02:00
twinaphex
0f1d0ebfa9 config_file.c - use malloc instead of calloc 2017-09-29 03:56:33 +02:00
twinaphex
cc8e897222 C89_BUILD fixes 2017-09-22 05:12:26 +02:00
twinaphex
6141761e63 Take out libchdr include from interface_stream.h 2017-09-22 04:47:58 +02:00
Twinaphex
4bbaa65361 Prevent redefinition of typedef; C11 only 2017-09-22 04:43:17 +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
Brian Koropoff
7061cb14fb chd_stream: support CHDs from GDI files 2017-09-18 09:03:43 -07:00
Brian Koropoff
5b20c13f92 chd_stream: support PRIMARY special track 2017-09-18 09:00:39 -07:00
twinaphex
49cf80db10 Fix resource leaks 2017-09-18 15:57:05 +02:00
twinaphex
21ff58f66e Cleanups 2017-09-18 12:55:11 +02:00
Twinaphex
6648ebed0d Silence some warnings 2017-09-18 11:56:59 +02:00
Brian Koropoff
3b7a202934 Fix libchdr build on Windows 2017-09-17 22:04:11 -07:00
twinaphex
e35eeb8a42 Cleanups 2017-09-17 19:06:58 +02:00
twinaphex
9cfc41d96c Fix warnings 2017-09-17 18:53:58 +02: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
a5dc63b390 common: integrate chd into interface stream 2017-09-17 02:02:04 -07:00
Brian Koropoff
2c7b6a94e4 common: add chd_stream interface 2017-09-17 02:02:04 -07:00
Brian Koropoff
d41ea34d6b upgrade libchdr 2017-09-17 02:02:04 -07:00
twinaphex
dd351a3501 (Xbox) Provide implementation function for inet_ntop_compat 2017-09-13 03:05:28 +02:00
twinaphex
be367138f6 Provide implementation for inet_aton for Xbox 2017-09-12 23:54:10 +02:00
twinaphex
0800047258 (Xbox) Buildfixes 2017-09-12 23:44:05 +02:00
twinaphex
587747e030 Update 2017-09-12 23:09:06 +02:00
radius
5d03a4719f clear inet_ntop_compat warning 2017-09-10 21:44:15 -05:00
twinaphex
dbb6adb453 C89_BUILD fixes 2017-09-11 04:17:28 +02:00
Andrés
f6bedeeb7c Revert "cut on underscores too, might be required to add other delimiters so …" 2017-09-09 01:04:32 -05:00
radius
4a4de389d1 cut on underscores too, might be required to add other delimiters so it doesn't get stuck on an endless loop on long strings 2017-09-09 00:24:59 -05:00
Brad Parker
07566c51a1 VC6 buildfixes, add Makefile.griffin target for it 2017-09-07 11:50:10 -04:00
twinaphex
3ef416d8ef Update libretro-common 2017-09-07 16:35:49 +02:00
Brad Parker
ac949a14bf msvc2003 buildfixes 2017-09-07 02:02:43 -04:00
Brad Parker
7d3330da74 use DWORD to avoid type mismatch 2017-09-06 23:05:44 -04:00
Brad Parker
6f572654a2 add va_copy for all MSVC below 2013 2017-09-06 23:05:31 -04:00
Brad Parker
de27275fc9 CreateThread must specify storage for the thread identifier on <= win98 2017-09-06 23:04:19 -04:00
Brad Parker
0a1b3fedc0 VC6 support (targets NT 3.51) 2017-09-06 23:03:02 -04:00
twinaphex
42ac90665e Buildfix 2017-09-06 23:40:38 +02:00
twinaphex
47b4de7bbf Update 2017-09-06 23:17:00 +02:00
twinaphex
56c66376ff Update libco 2017-09-06 00:47:38 +02:00
twinaphex
582b688121 Silence some warnings for PS3 2017-09-06 00:21:20 +02:00
Brad Parker
1204715525 msvc throws debug assert with fopen on a null string 2017-09-03 23:52:58 -04:00
Brad Parker
8d525f711a msvc2003 buildfixes 2017-09-03 23:39:25 -04:00
Higor Eurípedes
d40deb737d (file_list.c) Add file_list_reserve() 2017-09-03 14:58:01 -03:00
Higor Eurípedes
9a50f5f8b1 (file_list.c) Document file_list_free() behavior 2017-09-03 10:30:01 -03:00
Brad Parker
9c49b693f3 rthreads: early return if thread was null (temporary fix for shutdown crash in win98) 2017-08-22 23:41:58 -04:00
Ash
738d17ff3b
Fix null deref where argc = 0
I noticed this on the Wii U emulator Decaf - it sets argc to 0 and,
annoyingly, sets up argv so that argv[0] is a bad read.

Gah.
2017-08-19 17:16:50 +10:00
radius
6804432fa7 log address family, fix inet_ntop_compat 2017-08-15 21:03:59 -05:00
twinaphex
ae2435cf16 Silence some more C89_BUILD warnings 2017-08-12 18:15:26 +02:00
twinaphex
3c758609b5 Updates 2017-08-08 18:51:01 +02:00
twinaphex
e979eece1c Updates 2017-08-08 18:45:56 +02:00
Twinaphex
988468f691 Merge pull request #5267 from rtissera/modmixfix
Fix MOD support not mixing core provided audio stream
2017-08-08 18:52:03 +02:00
ensra
6a36453f20 Cast ctype args to unsigned char 2017-08-08 12:21:48 +01:00
Romain Tisserand
5a85c53174 Fix MOD support not mixing core provided audio stream 2017-08-08 12:19:24 +02:00
twinaphex
c7615fdf00 Add RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT 2017-08-07 18:06:03 +02:00
twinaphex
c426f68379 C89 buildfix 2017-08-06 16:41:09 +02:00
twinaphex
c7e6f19920 Cleanup retro_dirent_is_dir 2017-08-06 14:21:18 +02:00
twinaphex
e3192ad3c5 Get rid of some incompatible implicit declaration warnings 2017-08-06 13:55:32 +02:00
Brad Parker
6b369775cf add unicode-aware option for word_wrap (only needed for xmb) 2017-08-06 03:33:13 -04:00
twinaphex
e259a8c63b Try to avoid direct initialization 2017-08-06 01:44:34 +02:00
twinaphex
944eb01fb4 Updates 2017-08-06 01:29:41 +02:00
twinaphex
32234b44d3 Prevent dereference after null check warning by Coverity 2017-08-05 16:42:28 +02:00
twinaphex
2aa095aa4b Fix some Coverity warnings 2017-08-05 16:24:33 +02:00
twinaphex
449a33cf17 buildfix 2017-08-05 15:24:15 +02:00
Romain Tisserand
05c7bdedbe Proper fix for MOD support 2017-08-05 12:00:20 +02:00
twinaphex
24b3705fa1 Some more build fixes 2017-08-05 00:03:58 +02:00
twinaphex
aa4d68760b Buildfixes 2017-08-04 23:53:38 +02:00
Romain Tisserand
d865c4cdcf First working prototype. 2017-08-04 16:09:53 +02:00
Romain Tisserand
cbe2d9a941 Preliminary MOD/S3M/XM support through ibmx library (part of micromod repository) 2017-08-04 15:05:29 +02:00
twinaphex
252dc1b130 Updates 2017-07-28 09:24:35 +02:00
Rob Loach
2a0e34d66e
Add ./configure to audio and video filters 2017-07-27 22:20:56 -04:00
twinaphex
e517e9b96a Add file_stream_transforms 2017-07-27 09:09:37 +02:00
Brad Parker
02381aabef add SSL/TLS support 2017-07-26 09:18:17 -04:00
Rob Loach
afa01c5421 Add make install command for the audio filters 2017-07-25 09:19:51 -04:00
twinaphex
70e85ad719 Buildfix 2017-07-23 07:45:57 +01:00
Yoshi Sugawara
c1ce224bd7 GL_CAPS_TEX_STORAGE_EXT not working/supported on iOS, so disabling 2017-07-21 17:19:52 -10:00
Yoshi Sugawara
4b29c9dcad Returning false for the BGRA8888 opengl extension for all iOS devices 2017-07-20 19:13:18 -10:00
Yoshi Sugawara
15be2d6b34 The BGRA8888 gl extension is not working in iOS 10 and 11; report capability as false to get rendering the screen working again for cores that output in the BGRA8888 pixel format (mednafen_psx, nestopia, others?) 2017-07-20 19:06:32 -10:00
twinaphex
058dc172c7 Update 2017-07-20 04:37:19 +01:00
twinaphex
6bf26dc420 Update libretro-common 2017-07-20 04:36:38 +01:00
twinaphex
bcaa24cf7b Add this check back in 2017-07-19 17:49:55 +01:00
Rob Loach
63d36f658d Fix RETRO_ENVIRONMENT_GET_LOG_INTERFACE docs 2017-07-14 14:40:27 -04:00
twinaphex
3a141cb891 Create retro_dirent_include_hidden 2017-07-04 04:09:45 +02:00
twinaphex
2fda0b7e66 Simplify retro_dirent 2017-07-04 03:30:53 +02:00
Ken
edc64991f3 Fall back to IPv4 when IPv6 connections fail 2017-07-01 08:21:09 -04:00
twinaphex
4813019c58 Cleanup 2017-06-28 07:53:05 +02:00
twinaphex
63d2e543af Don't try to redefine WIN32_LEAN_AND_MEAN if already defined 2017-06-28 06:44:17 +02:00
twinaphex
25c18bb3ce (config_file.c) Cleanups 2017-06-28 06:41:58 +02:00
twinaphex
17d699c75b Cleanups 2017-06-28 06:26:56 +02:00
twinaphex
8fbcf34e02 Cleanup config_file.c 2017-06-28 06:25:32 +02:00
twinaphex
b4173ee0b4 Add pspkernel.h 2017-06-28 06:13:33 +02:00
twinaphex
e58eee37bc Cleanups 2017-06-28 05:44:59 +02:00
twinaphex
7c41e298a2 Update libretro-common 2017-06-28 05:34:29 +02:00
twinaphex
ddb4867c52 (file_path.c) Cleanups 2017-06-28 04:51:58 +02:00
twinaphex
e1041030a2 Get rid of stdstring.h dependency for file_path.c 2017-06-28 04:44:33 +02:00
twinaphex
b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex
50b07ad8c4 Move retro_le to archive_file_zlib.c 2017-06-28 04:20:52 +02:00
twinaphex
688414c5bb Get rid of some retro_assert usage 2017-06-26 05:38:51 +02:00
twinaphex
d3868cc06f Get rid of retro_assert usage in file_path.c 2017-06-26 05:33:47 +02:00
twinaphex
57514668f3 Revert "Update"
This reverts commit af3b2f22ec.
2017-06-24 23:15:16 +02:00
twinaphex
af3b2f22ec Update 2017-06-24 23:05:29 +02:00
Twinaphex
5c5c5ecbdf Revert "udev input: support controlling the menu with a TV remote control" 2017-06-22 20:53:07 +02:00
Paolo Bonzini
f850e64037 add volume down and volume up keys 2017-06-19 13:22:34 +02:00
twinaphex
cf71d465a3 Turn mkdir_norecurse into static function 2017-06-16 15:33:06 +02:00
twinaphex
6af5bd01bf Merge retro_stat and file_path 2017-06-16 15:00:11 +02:00
twinaphex
39ea7deef7 Add sha1_main 2017-06-13 10:21:38 +02:00
twinaphex
2e9c5ba6f9 Add sha1_main.c 2017-06-13 10:18:10 +02:00
twinaphex
34dd03a16f Don't bake in SHA1 main function 2017-06-13 09:33:18 +02:00
twinaphex
8d1e51af7c Make archive_file_7z.c less dependent on 7zip source files 2017-06-12 12:26:19 +02:00