Commit Graph

1894 Commits

Author SHA1 Message Date
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
twinaphex 80e2911bec Cleanups 2017-06-11 00:23:19 +02:00
twinaphex cdf7a403ea Add audio mixer mute enable 2017-06-08 23:53:24 +02:00
twinaphex cd3276c554 Add volume override for audio_mixer_mix 2017-06-08 22:03:11 +02:00
twinaphex b610d034ae (sinc_resampler.c) Cut down on ifdef party 2017-06-07 03:09:23 +02:00
twinaphex 34b5d0025b Get rid of implicit declaration warnings 2017-06-07 03:02:50 +02:00
twinaphex 558181e7dd (jsonsax_full.c) Silence some warnings 2017-05-31 04:23:28 +02:00
twinaphex 46806e7204 Bake out stdin_stream.c 2017-05-30 03:00:11 +02:00
twinaphex eeff3b87e8 Turn this into #elif defined(_WIN32) 2017-05-30 02:55:29 +02:00
aliaspider d120c9f38b change this one too. 2017-05-28 12:50:21 +01:00
aliaspider b49d2a87ab getaddrinfo error codes can also be positive. 2017-05-28 12:46:39 +01:00
aliaspider 5a92ec15cf (WiiU) fix netplay. 2017-05-26 12:32:45 +01:00
Maxime Gauduin f3453500d4 Fix compilation with GCC 7.1.0 2017-05-25 13:36:11 +02:00
Andre Leiradella c72d47b9d0 Remove restriction of stereo-only OGGs 2017-05-24 21:16:19 +01:00
aliaspider ad7cb85fcc cannot assume the buffer size here. 2017-05-24 09:21:28 +01:00
aliaspider 934f7c58ba (WiiU) enable networking. 2017-05-23 10:24:23 +01:00
aliaspider b00776b09e allow easier scheduling of tasks in single threaded mode by adding a
condition callback to task_queue_wait.
2017-05-22 11:18:42 +01:00
aliaspider 634de19dc9 (WiiU) enable libretrodb. 2017-05-22 06:07:27 +01:00
Twinaphex 450ab7de40 Merge pull request #4951 from leiradel/master
* Add a mutex to prevent issues if audio_mixer_mix is used in a diffe…
2017-05-21 15:26:53 +02:00
Andre Leiradella a088113f4c Use HAVE_THREADS around the mutex 2017-05-21 11:57:10 +01:00
twinaphex 8c796f694f Windows buildfix 2017-05-21 10:04:02 +02:00
Andre Leiradella 0c8f9663f2 * Add a mutex to prevent issues if audio_mixer_mix is used in a different thread
* Use free instead of memalign_free to free the OGG data in audio_mixer_destroy (ideally this should be a responsibility of the caller, just like with the WAV case)
* Re-use the voice in audio_mixer_stop
2017-05-21 00:23:07 +01:00
aliaspider 47d0cb053e fix resampler_sinc_process_c. 2017-05-20 23:12:56 +01:00
twinaphex e4055e0d1b Add headers 2017-05-20 19:05:09 +02:00
twinaphex b4f0ebca4d Cleanups 2017-05-20 17:55:26 +02:00
twinaphex b009b87530 Make this check a bit faster 2017-05-20 17:54:06 +02:00
twinaphex 1ac44d8eca Fix hidden directories/files no longer showing up 2017-05-20 17:45:02 +02:00
twinaphex eec0613c10 Add header include 2017-05-20 16:24:32 +02:00
twinaphex d339eb327c Don't implement read_stdin for Xbox 2017-05-20 15:09:19 +02:00
twinaphex e4210f5b00 Can't do this on Xbox 2017-05-20 15:02:34 +02:00
twinaphex 58787e6d89 (libretro-common) Create stdin_stream.c 2017-05-20 14:58:51 +02:00
twinaphex 4ed3e750d4 sinc_resampler - cleanups - set process function pointer
dynamically
2017-05-20 14:46:53 +02:00
twinaphex 3ae54e0eed Move send_udp_packet to libretro-common 2017-05-20 14:28:18 +02:00
twinaphex 79bcc5efc9 Style nits 2017-05-19 19:16:05 +02:00
twinaphex 5343648dc9 Start creating state machien for audio mixer streams 2017-05-18 06:16:16 +02:00
twinaphex f9960b5f8d Typo 2017-05-17 09:43:41 +02:00
twinaphex 1178673380 Add PS4 ifdefs 2017-05-17 09:02:04 +02:00
twinaphex 7a2d799a6c Cleanups 2017-05-17 08:59:57 +02:00
Francisco José García García 2171439647 [VITA] buildfix 2017-05-17 08:55:33 +02:00
twinaphex 5635894178 Buildfix 2017-05-17 07:05:15 +02:00
twinaphex be22290495 Rename to inet_ntop_compat 2017-05-17 07:00:47 +02:00
twinaphex 8330a0ee46 Style nits 2017-05-17 05:36:02 +02:00
radius 2f1c3fb437 add inet_ntop 2017-05-16 22:21:36 -05:00
twinaphex efacf637db Cleanup 2017-05-16 23:12:03 +02:00
Twinaphex 808b973752 (OSX) Silence warnings 2017-05-16 08:44:17 +02:00
twinaphex 126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +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 c898ef1d6d Attempt to copy over audio mixer data 2017-05-15 01:28:46 +02:00
Andre Leiradella 9f5ec1cc42 Fix the parameter name 2017-05-14 23:14:09 +01:00
Twinaphex 2fc45fb5ac Merge pull request #4914 from leiradel/master
Pass the correct structure to the callback
2017-05-14 23:32:25 +02:00
Andre Leiradella eb08a3dbef Pass the correct structure to the callback 2017-05-14 22:29:52 +01:00
twinaphex dd4146e302 Try to write initial implementation of audio mixer task 2017-05-14 23:12:27 +02:00
twinaphex 4afa2871ab Add comments 2017-05-14 21:00:25 +02:00
twinaphex 80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
twinaphex c78ce113b4 CXX_BUILD buildfix 2017-05-14 03:29:26 +02:00
twinaphex e378b7053d Update 2017-05-13 17:55:29 +02:00
twinaphex acf7c681b4 Change to calloc 2017-05-13 07:56:44 +02:00
twinaphex 19db4f63a7 Take out filestream from audio_mixer.c 2017-05-13 07:53:42 +02:00
aliaspider 9b1e66d302 correct the mask used on the first byte in utf8_walk. fixes #4892 2017-05-11 17:41:27 +01:00
twinaphex 5a9f6ad9b7 Try to prevent null pointer dereference 2017-05-09 20:45:09 +02:00
twinaphex 83b0d3e412 Update rwav.h 2017-05-09 02:46:32 +02:00
twinaphex 3593256a76 MSVC Buildfix 2017-05-09 02:29:24 +02:00
twinaphex e8c1c153d6 Prevent nULL pointer dereference 2017-05-08 22:55:45 +02:00
twinaphex 779a7676d6 Try to prevent null pointer dereference 2017-05-08 22:53:06 +02:00
twinaphex 18f06e177e Silence Coverity warning 2017-05-08 22:40:19 +02:00
twinaphex 138a12d5e1 Cleanups 2017-05-08 21:24:14 +02:00
twinaphex 8e3d0612d2 Try to fix MSVC error 2017-05-08 21:12:55 +02:00
twinaphex efd0c991a6 Refactor audio_mixer_play 2017-05-08 20:44:25 +02:00
twinaphex a29e416be8 Another cleanup to wav2float 2017-05-08 20:37:12 +02:00
twinaphex 6766a62300 Cleanups 2017-05-08 20:35:02 +02:00
twinaphex bd36b0a968 (audio_mixer.c) Some refactors 2017-05-08 20:27:13 +02:00
twinaphex fec24bd47b Cleanup rwav 2017-05-08 18:45:37 +02:00
twinaphex de6e138d15 (audio_mixer.c) Cleanups 2017-05-08 18:37:31 +02:00
twinaphex 4a7c81b353 Cleanup wav2float - add some suggestions for leiradel here 2017-05-08 18:30:15 +02:00
twinaphex 0411aba219 (audio_mixer.c) Cleanups 2017-05-08 18:11:09 +02:00
twinaphex b4782d9a51 (audio_mixer.c) Small refactors 2017-05-08 05:59:45 +02:00
twinaphex 5245590bae (audio_mixer.c) Prevent null pointer dereference 2017-05-08 05:55:20 +02:00
twinaphex 24ac625179 Update libretro-common 2017-05-06 18:23:26 +02:00
twinaphex 0ba93887bf Optimize retro_endianness when MSB_FIRST is known 2017-05-06 16:52:30 +02:00
twinaphex 254fa75a0f Directly initialize sinc_size 2017-04-29 18:54:34 +02:00
Twinaphex 927ed42498 Fix filestream memory leak 2017-04-28 21:27:40 +02:00
twinaphex edadba1ec7 Silence valgrind memcheck warning 2017-04-23 20:26:31 +02:00
twinaphex 6078864e26 Turn ffmpeg FFT into C code and remove GLM dependency 2017-04-22 12:59:28 +02:00
twinaphex 21f7f6059a (ffmpeg FFT) No longer needs GLM 2017-04-22 12:25:54 +02:00
twinaphex c97fd9afcf Correct matrix_4x4_lookat 2017-04-22 10:23:04 +02:00