Commit Graph

2108 Commits

Author SHA1 Message Date
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
twinaphex 45dc1b7977 Some build fixes 2017-04-22 10:09:52 +02:00
twinaphex f12ea0e1e3 Fix C89_BUILD 2017-04-22 09:37:36 +02:00
twinaphex 6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
twinaphex f9bc2d3783 Use memcmp instead of string_is_equal where possible for
better performance
2017-04-21 22:47:15 +02:00
twinaphex 6951111459 (libretro-common) Cleanups 2017-04-21 20:53:07 +02:00
twinaphex 0c66441d08 (archive_file) Cleanups 2017-04-21 20:46:41 +02:00
twinaphex 5b1ecbff87 Remove rsemaphore 2017-04-21 20:41:26 +02:00
twinaphex dd1da5154f Better implementation of string_is_equal_noncase and fix bug
in string_list
2017-04-21 14:53:01 +02:00
twinaphex 271edb4ca1 We don't want uppercase for these instances 2017-04-21 14:26:35 +02:00
twinaphex 607ae71259 Turn string_is_equal_noncase into self-contained function 2017-04-21 14:17:47 +02:00
twinaphex 76788d3890 Turn string_is_equal into selfcontained function 2017-04-21 14:09:02 +02:00
twinaphex dd517f4660 Try to avoid directly calling strcmp 2017-04-21 13:56:15 +02:00
twinaphex 82c62b1693 Use stdstring in more instances 2017-04-21 13:50:24 +02:00
twinaphex 06f98fcd16 (stdstring) Turn some functions into static inline functions 2017-04-21 13:35:26 +02:00
twinaphex 40411e5a6f Turn gfx/math functions into macros 2017-04-20 22:14:03 +02:00
twinaphex 0215badb4c (FIFO queue) Turn some functions into static inline functions 2017-04-20 20:28:57 +02:00
twinaphex 9daa63437a Simplify math/vector files 2017-04-20 10:30:30 +02:00
twinaphex fa347475e8 Simplify matrix_3x3.c 2017-04-20 10:25:54 +02:00
twinaphex 5b9a17dc8f (gfx/scaler) Cleanups 2017-04-16 19:54:38 +02:00
twinaphex f21bb4d0dc Simplify scaler_filter 2017-04-16 12:57:21 +02:00
twinaphex 0c5a87b1d7 Create scaler_ctx_scale_direct 2017-04-16 11:03:29 +02:00
twinaphex 9c7dd3068f Get rid of unnecessary wrappers around calloc/free 2017-04-16 10:39:42 +02:00
twinaphex f14dbe081b Simplify scaler.c 2017-04-16 10:36:16 +02:00
twinaphex 8fd0033b43 Simplify scaler code 2017-04-16 10:29:22 +02:00
twinaphex 602ba5d8a6 scaler_filter - cleanups 2017-04-16 09:58:42 +02:00
twinaphex b43d0b4201 Simplify matrix_3x3 2017-04-16 08:36:04 +02:00
twinaphex 9b3519f850 Turn matrix_4x4_lookat into macro, remove matrix_4x4.c 2017-04-16 07:57:31 +02:00
twinaphex 257410d058 Turn matrix_4x4_multiply into macro 2017-04-16 07:55:02 +02:00
twinaphex b7aefa71f8 Cleanups to matrix_3x3.c 2017-04-16 07:30:23 +02:00
twinaphex 8ac346be63 (libretro-common) Cleanups 2017-04-16 05:06:15 +02:00
twinaphex a86e6975cc Update 2017-04-16 04:57:45 +02:00
twinaphex 8f7fc79cd7 Don't include retro_inline.h 2017-04-16 04:50:34 +02:00
twinaphex e06006b436 Turn more matrix_4x4 functions into macros 2017-04-16 04:44:35 +02:00
twinaphex d30686a78f Add math.h header include to matrix_4x4.h 2017-04-16 04:03:55 +02:00
twinaphex 32cebbbcba Turn more matrix_4x4 functions into macros 2017-04-16 04:00:20 +02:00
twinaphex fbd6d0ebc6 Turn more matrix 4x4 functions into macros 2017-04-16 03:53:07 +02:00
twinaphex 809bce6cd9 Start turning most matrix 4x4 functions into macros 2017-04-16 03:45:07 +02:00
twinaphex 793930b352 Simplify matrix_4x4_identity 2017-04-16 03:34:33 +02:00
twinaphex bd63327c3d Cleanup matrix_3x3_identity 2017-04-15 22:30:02 +02:00
twinaphex c6887aa999 Update compat/zlib.h 2017-04-10 23:17:30 +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
BlueKore f6ebe7c6a9 Changed the language enums. Fixed the language references in the msg files. 2017-04-07 19:15:44 +01:00
Brad Parker dd80ffc61b FreeBSD buildfix 2017-03-29 16:47:58 +00:00
twinaphex 3996dc4b79 Update libretro-common 2017-03-26 05:07:48 +02:00
twinaphex ab2d94bb64 Update libretro-common 2017-03-26 04:54:50 +02:00
twinaphex ef733f0049 Update compat/zlib.h 2017-03-26 00:24:33 +01:00
twinaphex 91dabc3165 Cleanups 2017-03-25 23:07:50 +01:00
twinaphex ed0aefaf6c Update deps/zlib/crc32.c 2017-03-25 01:31:04 +01:00
twinaphex 6d49ccf978 (zlib) Update adler32 2017-03-25 01:26:21 +01:00
twinaphex 1274092fdd Move audio_mixer code to libretro-common 2017-03-22 03:00:21 +01:00
twinaphex c9c0621076 Try to fix some Coverity bugs 2017-03-19 02:27:07 +01:00
twinaphex 51581e1578 Include string.h instead 2017-03-09 01:50:27 +01:00
Twinaphex 4b796ae740 Silence warnings 2017-03-06 12:12:00 +01:00
twinaphex cf82bdbebd Get rid of more implicit memsets 2017-03-05 22:24:35 +01:00
Brad Parker bd6ca986d8 msvc buildfix 2017-03-05 14:19:38 -05:00
Brad Parker 1fc7a50f3e fix non-ascii URL encoding 2017-03-05 14:19:37 -05:00
Brad Parker 7aca744635 URL encode non-ascii characters 2017-03-05 14:19:37 -05:00
Brad Parker 79899e6b71 silence linux warning 2017-03-05 14:19:36 -05:00
Brad Parker ad6733b519 add full urlencoder and encode lobby announcement POST data 2017-03-05 14:19:36 -05:00
Brad Parker 21fe0c8499 bake in johnanthonyowens/jsonsax as jsonsax_full 2017-03-05 14:19:35 -05:00
Brad Parker fb3393eb3a add user agent to http requests 2017-03-05 14:19:35 -05:00
Brad Parker 101475c2f6 fix POST handling 2017-03-05 14:19:34 -05:00
Brad Parker c31823aa94 add HTTP POST support 2017-03-05 14:19:34 -05:00
twinaphex df1313bc37 Change signature for word_wrap 2017-03-05 19:15:04 +01:00
twinaphex bb15b14388 word_wrap - Dont' call strlen once every loop iteration 2017-03-05 19:09:31 +01:00
twinaphex c70b8c42c5 Cleanups to word_wrap 2017-03-05 19:02:32 +01:00
twinaphex 63973a52e0 Simplify word_wrap 2017-03-05 19:01:44 +01:00
twinaphex 85b099b8cf Update 2017-03-01 22:09:38 +01:00
twinaphex 4109ffdb6b Update of libretro-common 2017-03-01 05:03:23 +01:00
twinaphex 824a619b90 Initialize db manually 2017-02-28 10:53:20 +01:00
Twinaphex ddae075733 Silence more warnings 2017-02-27 01:28:01 +01:00
Twinaphex 216e7bcdaf Silence more warnings on iOS 2017-02-26 21:46:19 +01:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex ca2716eef7 Add DONT_WANT_ARM_OPTIMIZATIONS 2017-02-25 02:27:47 +01:00
Twinaphex 2dfb9b9638 Revert "Attempt to not use this codepath for arm64"
This reverts commit a16ba84502.
2017-02-25 02:15:26 +01:00
twinaphex a16ba84502 Attempt to not use this codepath for arm64 2017-02-25 00:28:23 +01:00
Jean-André Santoni 8a6e102a82 Increase UPNP compatibility 2017-02-22 23:02:17 +01:00
twinaphex ea56249661 (net_natt.c) Free net_addrinfo before going out of scope 2017-02-22 05:24:28 +01:00
BuildTools ac9aa4783a Fixed a bug failing to check initialization in non-UPnP-supporting
setups
2017-02-21 22:02:20 -05:00
twinaphex 4403734d97 (audio_mix.c) Cleanups 2017-02-22 02:04:28 +01:00
Gregor Richards 22500914e1 Fix missing memory free when IPv6 is unsupported 2017-02-21 17:42:09 -05:00
twinaphex 457b54149d Prevent another Coverity warning 2017-02-21 21:17:17 +01:00
twinaphex 31bf313a4f (libretro-common) Fix resource leak 2017-02-21 20:25:25 +01:00
twinaphex 21ddee6690 Don't define M_PI if we are using MSVC and USE_MATH_DEFINES is
already defined
2017-02-21 20:14:19 +01:00
twinaphex bb542332dc scaler_ctx_gen_reset - get rid of memsets 2017-02-20 06:48:32 +01:00
twinaphex 712724e0ff (archive_file.c) Get rid of memsets 2017-02-20 02:12:39 +01:00
twinaphex af8f0eb9b2 (file_list.c) file_list_add - get rid of memset 2017-02-20 02:01:17 +01:00
twinaphex b15698e6d2 string_list - get rid of memset 2017-02-20 01:50:35 +01:00
twinaphex 5576115389 Make natt_open_port a static function 2017-02-18 22:03:02 +01:00
twinaphex e6ee2527e5 Add filestream_get_size/filestream_set_size 2017-02-18 02:21:33 +01:00
twinaphex e9524f1b95 Add filestream_get_ext 2017-02-18 02:16:40 +01:00
twinaphex 7a5ed7cc65 Add filestream_flush and use filestream interface for tasks/task_save.c 2017-02-17 03:03:18 +01:00
twinaphex e95f797307 Try to stay under max. 80-char width limit 2017-02-05 06:01:22 +01:00
twinaphex e99ba9a06a Cleanups 2017-02-05 05:47:15 +01:00
twinaphex df962d5898 Silence warnings 2017-02-05 05:45:08 +01:00
Alcaro 7d30b475ba Merge pull request #4392 from zeromus/master
rthreads work from desmume
2017-02-05 02:12:31 +01:00
zeromus 0ef09a0ed4 win32 scond_wait_timeout: refine 0 timeout logic 2017-02-04 16:24:14 -06:00
zeromus 233c13228e attempt win32 scond_wait_timeout 2017-02-03 21:52:52 -06:00
twinaphex f35e521fd8 Prevent i variable being uninitialied 2017-01-31 18:47:33 +01:00
twinaphex 61d67613fb Buildfixes for ARM NEON 2017-01-31 07:58:58 +01:00
twinaphex ed3d75738c Simplify audio conversion code 2017-01-31 07:33:58 +01:00
twinaphex fda9b01ab3 Buildfixes 2017-01-31 03:54:50 +01:00
twinaphex 22dfa1ca7c Fix C89_BUILD 2017-01-30 19:32:02 +01:00
twinaphex 216e45f9ea Get rid of printfs 2017-01-30 19:12:47 +01:00
twinaphex 6732446ca4 Avoid warnings 2017-01-30 19:12:28 +01:00
twinaphex 7a02876999 (sinc_resampler.c) More cleanups 2017-01-30 19:10:52 +01:00
twinaphex 26ebdb1056 More cleanups 2017-01-30 18:48:29 +01:00
twinaphex 73acd4aa0f (sinc_resampler.c) Do away with function pointer 2017-01-30 18:45:37 +01:00
twinaphex cdb45a38d3 Refactor code - do away with sinc_resampler_common 2017-01-30 18:43:09 +01:00
twinaphex 21508003c9 Create sinc_resampler_common 2017-01-30 18:15:41 +01:00
Alcaro 22cf87adc9 Shut up false positive 2017-01-28 18:07:00 +01:00
twinaphex 544c7a3c92 Solve warnings 2017-01-28 00:28:11 +01:00
Brad Parker 0e90ab36a0 fix rwav sample memcpy 2017-01-27 18:02:16 -05:00
Brad Parker 18f78613ae Merge branch 'wav_loader' 2017-01-27 11:13:28 -05:00
Brad Parker 9c9fc5b765 16-bit samples don't need conversion from 8-bit 2017-01-27 11:12:45 -05:00
Brad Parker d7aaab7a33 fixes 2017-01-26 21:20:59 -05:00
Brad Parker 9cf4562f26 fix memory allocation 2017-01-26 18:46:50 -05:00
Brad Parker 6a79a81e4d allocate enough memory for resampler, always put two channels into buffers 2017-01-26 00:59:53 -05:00
Brad Parker f8ad1c6622 use aligned memory buffers 2017-01-25 17:30:15 -05:00
Brad Parker 4fae51edcb initial resampling wav loader 2017-01-25 01:28:48 -05:00
twinaphex c3eb4327bf Remove algorithms/mismatch 2017-01-25 02:57:43 +01:00
twinaphex e3842d4169 Make audio_mix.c C89-compatible 2017-01-24 16:59:03 +01:00
twinaphex 669599cfd7 Add audio_mix to libretro-common 2017-01-24 00:29:40 +01:00
aliaspider 9348369824 (Wii) buildfix for HAVE_NETWORKING=1. 2017-01-23 23:27:08 +01:00
aliaspider 021b510452 (WiiU) refactors/cleanups. 2017-01-23 16:14:05 +01:00
twinaphex 379ce5eb05 Revert "Guard crash on OSX"
This reverts commit 1afda04966.
2017-01-23 14:14:46 +01:00
twinaphex 3e87196a43 Revert "Implicit declaration buildfix"
This reverts commit 77fa8c39ef.
2017-01-23 14:14:40 +01:00
twinaphex 77fa8c39ef Implicit declaration buildfix 2017-01-23 14:11:22 +01:00
Twinaphex 1afda04966 Guard crash on OSX 2017-01-23 14:10:51 +01:00
twinaphex 7c722fca9a (nbio_stdio.c) Try to prevent 'argument cannot be negative' coverity warning 2017-01-22 20:30:47 +01:00
twinaphex 67f850c3dc Prevent another NULL pointer dereference 2017-01-22 20:06:11 +01:00
twinaphex 4feab7a268 (trans_stream_zlib.c) Add some early returns in case it's a NULL pointer 2017-01-22 20:04:58 +01:00
Brad Parker a2d37adc53 Windows 95 does not have GetFileAttributesEx 2017-01-22 13:48:49 -05:00
twinaphex c91a4fa12e Cleanup 2017-01-22 14:23:46 +01:00
twinaphex 64bb848daf Update headers (pt. 2 - libretro-common) 2017-01-22 13:58:20 +01:00
zeromus 168de31fb9 make scond_signal slightly more pthreads compliant (and other tidying). re: PR #4392 2017-01-21 22:44:31 -06:00
zeromus 3e8e02c953 change the main lock mutex to a critical section, and update copyrights year 2017-01-21 17:10:09 -06:00
zeromus 10157c5831 apply feedback re: PR #4392 2017-01-21 16:49:10 -06:00
twinaphex dd1fa96321 Fix 2017-01-21 01:46:35 +01:00
Brad Parker 1d3e1a6962 DOS/DJGPP buildfix 2017-01-20 18:23:45 -05:00
twinaphex f4020aa011 (Xbox 360) Buildfixes 2017-01-19 20:28:12 +01:00
twinaphex c6e1b47d98 (libretro-common) Style nits 2017-01-17 19:20:15 +01:00
twinaphex 7931436f5b Apply xerpi diff 2017-01-17 18:12:23 +01:00
Jean-André Santoni dc4140a00b (GLUI) Word wrapping for sublabels 2017-01-17 15:21:59 +01:00
Brad Parker e1f4db8081 Win2000 buildfixes 2017-01-16 20:41:08 -05:00
twinaphex b95a817471 (GLSM) Update 2017-01-10 22:53:22 +01:00
twinaphex a07f591859 (file_list.c) Cleanups 2017-01-10 22:24:46 +01:00
zeromus f4c187e980 - port slock and scond fixes from desmume
- make sthread_isself return false for null test thread
full disclosure: this work was done months ago. I can't be 100% sure I've merged it correctly with recent rthreads.c changes
2017-01-09 16:46:35 -06:00
Josh Palmer 453d823d2a Fix jsonsax compilation on QNX, 'index' appears to be a reserved symbol 2017-01-09 20:26:09 +00:00
Josh Palmer ef205447df QNX-specific default directory and file permission handling 2017-01-09 20:26:09 +00:00
twinaphex 99421b42d5 Update Makefile 2017-01-09 17:47:25 +01:00
twinaphex b89ec1369f Rename rarch_resampler_* to retro_resampler_* 2017-01-09 12:45:51 +01:00
twinaphex 03adb6fd3a Rename rarch_dsp_* to retro_dsp_* 2017-01-09 12:41:59 +01:00
twinaphex 92f9ad0714 Move audio DSP filters to libretro-common 2017-01-09 12:30:11 +01:00
twinaphex d3b818a16a Move dsp_filter to libretro-common 2017-01-09 12:22:29 +01:00
twinaphex 2c6ff22862 Move libretro_dspfilter.h to libretro-common 2017-01-09 12:17:57 +01:00
Brad Parker 51504286be revert flush flug for positive OSD progress 2017-01-07 12:23:18 -05:00
Brad Parker 9d7fe2c3f0 early return is mutex is null 2017-01-05 21:20:37 -05:00
twinaphex 7d08244204 Prevent crash when togglign between thraded and non-threaded
video
2017-01-05 08:56:16 +01:00
twinaphex faf939856b Rewrite task_queue.c - get rid of messy internal Rarch code 2017-01-03 18:27:09 +01:00
twinaphex 7dfd5625ab Set flush to false for task queue messages 2017-01-03 17:57:52 +01:00
twinaphex 89dcc9bf5f Task queue - shows all the task queue messages now 2017-01-03 08:42:33 +01:00
Alcaro 9cf987c328 warning: comparison between signed and unsigned integer expressions 2017-01-02 02:18:54 +01:00
Alcaro f95759c39b No need for those casts 2017-01-02 02:11:30 +01:00
twinaphex dae80e4e26 (MSVC) Buildfixes 2017-01-02 01:41:00 +01:00
twinaphex f94d07b0fc Cleanup msg_queue_new 2017-01-01 05:58:12 +01:00
Brad Parker daa5553777 fix another race condition 2016-12-29 23:39:51 -05:00
Brad Parker 94309b3acd fix ThreadSanitizer data race warning 2016-12-29 23:16:00 -05:00
Twinaphex f962723943 Silence warning - unused variable 2016-12-30 03:32:35 +01:00
twinaphex dde441e1d2 Remove prototypes 2016-12-29 23:51:48 +01:00
twinaphex 9657bbd998 Get rid of set_rgba/unset_rgba inside image_texture.c 2016-12-29 23:22:40 +01:00
twinaphex 6a166faa0c Revert "Remove supports_rgba varaible from image_texture.c"
This reverts commit bd0c97fdc4.
2016-12-29 22:53:10 +01:00
twinaphex bd0c97fdc4 Remove supports_rgba varaible from image_texture.c 2016-12-29 22:39:52 +01:00
Brad Parker 41f40acfc4 guard task struct read/writes across threads with a mutex, fixes several data races found by ThreadSanitizer and helgrind 2016-12-29 00:54:12 -05:00
twinaphex 3ec564f97c Revert "(task_save.c) Cleanups"
This reverts commit d6aae88737.
2016-12-27 20:11:22 +01:00
twinaphex d6aae88737 (task_save.c) Cleanups 2016-12-26 18:25:42 +01:00
twinaphex 43459e2269 N/A 2016-12-26 06:44:04 +01:00
twinaphex a2515339e9 This nonsense can go now 2016-12-25 02:11:42 +01:00
twinaphex a94c20713d Update copyright 2016-12-24 20:24:06 +01:00
twinaphex 9db910c049 Cleanup 2016-12-24 20:22:23 +01:00
twinaphex 77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex 80d8a90bce (RTGA) Cleanups 2016-12-21 14:33:42 +01:00
twinaphex a4ca4a7eb4 (rbmp.c) Cleanups 2016-12-21 14:13:40 +01:00
twinaphex 3050240a35 (rbmp.c) Cleanups 2016-12-21 14:08:40 +01:00
twinaphex 90dca2d537 (rbmp.c) Simplify 2016-12-21 14:00:58 +01:00
twinaphex 1344e91286 Revert "Locking bug"
This reverts commit b40c1311b6.
2016-12-21 12:23:19 +01:00
Twinaphex bbed836e8f Merge pull request #4290 from GregorR/cov-112612
Locking bug
2016-12-21 01:48:34 +01:00
twinaphex e328c4ebfa (archive_file.c) Cleanup 2016-12-21 01:47:32 +01:00
Gregor Richards b40c1311b6 Locking bug 2016-12-20 19:42:53 -05:00
Twinaphex c81d54bd46 (libretro-common) Cleanups 2016-12-20 00:39:45 +01:00
twinaphex 3561949a87 Get rid of some implicit memsets 2016-12-19 18:18:40 +01:00
Twinaphex 032d29efa4 Merge pull request #4274 from GregorR/netplay-nouveau-nouveau
>2-player Netplay
2016-12-19 16:28:37 +01:00
twinaphex 4c9f2e41ff Get rid of some implicit memsets 2016-12-19 14:04:37 +01:00
Gregor Richards a6cd8c3aa1 Error reporting when a password is refused, plus a bugfix so that
socket_receive_all_nonblocking actually reports disconnects.
2016-12-18 19:28:43 -05:00
Gregor Richards 900e5a79ec Use nonblocking sockets for Netplay to avoid some stalls. 2016-12-18 19:28:38 -05:00
twinaphex 89820220b7 (libretro-common) Cleanup/style nits for archive_file_{7z/zlib} 2016-12-19 00:12:24 +01:00
twinaphex 2fa5b09e7a (RJPEG) Cleanups 2016-12-18 15:57:47 +01:00
twinaphex d6ece7f1b8 (RJPEG) Cleanups 2016-12-18 15:51:08 +01:00
twinaphex a44afda5c5 (RJPEG) Cleanups 2016-12-18 15:30:29 +01:00
twinaphex 099f3a8d52 (RJPEG) Style nits 2016-12-18 15:28:02 +01:00
twinaphex e9d9f1d90f (RBMP) Cleanups 2016-12-18 14:51:57 +01:00
twinaphex 35de6df7f9 (RJPEG) Cleanups 2016-12-18 12:15:36 +01:00
twinaphex 222650df35 (rjpeg.c) Cleanups 2016-12-18 12:12:09 +01:00
twinaphex 6935ce902e (archive_file.c) Cleanups/style nits 2016-12-17 17:19:32 +01:00
twinaphex 1ddd0ab1d3 (Statically linked RA) Make 'Open Archive' work when there are
no core info files
2016-12-17 17:12:53 +01:00
twinaphex feae0823ce Prevent some implicit memsets 2016-12-17 14:40:06 +01:00
twinaphex d4796caabd (libetro-common) Turn path_contains_compressed_file into a macro 2016-12-17 14:01:25 +01:00
twinaphex 96ffd8e025 Revert "Remove HAVE_COMPRESSION ifdefs in file_path.c"
This reverts commit 4103b70833.
2016-12-17 12:55:38 +01:00
twinaphex 4103b70833 Remove HAVE_COMPRESSION ifdefs in file_path.c 2016-12-17 12:20:49 +01:00
twinaphex 39b41a1f51 file_archive_get_file_list - take out HAVE_COMPRESSION code 2016-12-17 11:59:19 +01:00
twinaphex 5364b0b837 Move compression-related code outside of libretro-common file_path.c
and move it into RetroArch's file_path_special.c file instead
2016-12-17 11:54:46 +01:00
twinaphex bd67208d74 Remove some unnecessary ifdefs for file_path.c 2016-12-17 11:16:43 +01:00
twinaphex 4409c89d43 (dir_list.c) Cleanups/style nits 2016-12-17 11:15:04 +01:00
twinaphex c739ca016c Add net_http_parse 2016-12-17 00:46:23 +01:00
twinaphex af6128d976 Put around parentheses 2016-12-15 11:59:33 +01:00
Logan McNaughton 8cd2566128 Simplify glTexImage2D/glTexStorage2D calls
Also add support for glTexStorage2DEXT (GLES2)
2016-12-14 07:29:37 -08:00
Twinaphex 93b29aab5a Merge pull request #4234 from leiradel/master
Added support for loading 8 and 16 bps, mono/stereo, uncompressed PCM wave files
2016-12-13 01:11:03 +01:00
Andre Leiradella 2c90258353 Include retro_common_api.h 2016-12-12 23:53:44 +00:00
Andre Leiradella 6fd6329b41 Fixed copyright notice 2016-12-12 23:28:17 +00:00
Andre Leiradella d6625434a7 Fixed copyright notice and removed reference to stb_image 2016-12-12 23:26:08 +00:00
Andre Leiradella b65e16d39d Added support for loading 8 and 16 bps, mono/stereo, uncompressed PCM wave files 2016-12-12 23:23:36 +00:00
twinaphex 0c9a831bf3 (libretro-common) Cleanup 2016-12-12 14:09:58 +01:00
twinaphex 08a60c94d0 Move audio resampler drivers (Sinc/nearest) to libretro-common; maister gave permission to relicense to MIT 2016-12-12 13:02:29 +01:00
twinaphex 8042c2ac62 Move config_file_userdata.c to libretro-common 2016-12-12 12:36:46 +01:00
Gregor Richards 65224dc2a5 NAT traversal also needs to avoid IPv6 with SOCKET_LEGACY 2016-12-10 13:58:51 -05:00
Brad Parker 1f39426195 only use fancy ribbon on GLES if GL_OES_standard_derivatives extension is detected 2016-12-09 19:32:55 -05:00
Logan McNaughton 1d69baca82 Use glTexStorage2D for FBO textures 2016-12-08 21:14:10 -07:00
Logan McNaughton 07a9a75a00 Fix GL_CAPS_ARGB8
ARM_argb8 should be ARM_rgba8, and GLES3 always supports this feature
2016-12-07 12:34:02 -07:00
Gregor Richards c2c2c57095 Remove support for MiniUPNPC < 2.0 2016-12-04 13:04:30 -05:00
Brad Parker e39031cbd0 revert rest of unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker b69734ce4a more unicode fixes 2016-12-02 23:01:44 -05:00
Brad Parker d20acaa63d more unicode fixes 2016-12-02 23:00:27 -05:00
Brad Parker fcf09f10ef more unicode fixes 2016-12-02 22:12:00 -05:00
Brad Parker cc7bf6b4fa more unicode fixes 2016-12-02 21:11:55 -05:00
Brad Parker 826afd137c disable unicode until GL context is fixed 2016-12-02 15:34:15 -05:00
Brad Parker 3b8a81dd31 make existing hard-coded unicode calls switchable back to ansi 2016-12-02 14:34:29 -05:00
Brad Parker d891f1c90b remove explicit unicode def/undefs 2016-12-02 14:34:29 -05:00
Twinaphex 673c0ab626 Merge pull request #4130 from GregorR/netplay-socket-legacy-may-as-well-be-called-no-sockets
More stripping out of NAT traversal for SOCKET_LEGACY
2016-12-02 19:37:46 +01:00
Gregor Richards a082df0027 More stripping out of NAT traversal for SOCKET_LEGACY 2016-12-02 13:18:35 -05:00
Brad Parker 3846ce1837 build fixes for MSVC, start moving back to TCHAR usage so we can switch unicode on and off 2016-12-02 12:54:39 -05:00
twinaphex 3b78c848a2 Another Xbox buildfix 2016-12-02 01:06:53 +01:00
Twinaphex b551da1fda Merge pull request #4120 from GregorR/natt-more-1.9-fixes
Yet another pre-2.0 fix for MiniUPNPC
2016-12-01 17:54:50 +01:00
Gregor Richards 8dc9c64297 Yet another pre-2.0 fix for MiniUPNPC (if we have more problems I'll
just drop support for pre-2.0)
2016-12-01 09:39:41 -05:00
terry1994 86c7afdd7c Merge branch 'master' of ssh://github.com/terry1994/RetroArch 2016-12-01 09:53:10 +01:00
terry1994 f54b8cb9a9 Fix building on iOS 9 and 10.
Adjusted iOS 10 project to target minimum iOS version of 10.
Using minimum iOS version to determine availablity of clock_gettime (exists only on iOS 10+). Building with 10/10.1 SDK would cause this method to be called in iOS 9 builds, resulting in a crash on start.
2016-12-01 09:39:53 +01:00
Gregor Richards a0ac7e6a68 Make net_ifinfo's allocation behavior simpler and clearer 2016-11-30 19:57:18 -05:00
Gregor Richards 4ad1aa7eff Don't double-free net_ifinfo structure. 2016-11-30 19:21:33 -05:00
Gregor Richards ef65f6c57a Support for both MiniUPNPC 2.0 and MiniUPNPC < 2.0
MiniUPNPC 2.0 was a backwards-incompatible change (as .0s tend to be)
but configure detects them the same. This adds support for the changed
functions.
2016-11-30 10:48:11 -05:00
Twinaphex bb499b70be Merge pull request #4104 from GregorR/natt
NAT traversal
2016-11-30 16:09:53 +01:00
Andrés Suárez 153b879a6e Merge pull request #4108 from GregorR/netplay-ipv6
Fix Netplay IPv6 support
2016-11-30 00:31:05 -05:00
Gregor Richards b3ababce9a Fix Netplay IPv6 support 2016-11-30 00:25:16 -05:00
Gregor Richards b1f9ef6073 Since I've allocated net_ifinfo, I'd better free it in all returns 2016-11-29 23:31:35 -05:00
Gregor Richards 8e5e760773 Remove accidentally-left debug printf 2016-11-29 23:30:12 -05:00
Gregor Richards 2522f68870 C++ fixes 2016-11-29 23:10:19 -05:00
Gregor Richards 025993231f Use net_ifinfo how it's intended (?) to be used 2016-11-29 23:08:48 -05:00
Gregor Richards c342c103ae Always get numeric host/ports instead of names. 2016-11-29 23:08:26 -05:00
Gregor Richards 42da0a0184 NAT traversal in Netplay
For the time being, if NAT traversal is successful it simply announces
it as an OSD message. In the future it will be used to inform a
matchmaking server of the public port.

This patch also included minor fixes to the NAT traversal implementation
to make the select it demands actually doable.
2016-11-29 22:59:46 -05:00
Gregor Richards 8f61e2b978 Spacing correction (three spaces, not four) 2016-11-29 21:16:04 -05:00
Gregor Richards da406c3abb Adding copyright headers and support for specifying protocol (TCP/UDP) 2016-11-29 21:09:47 -05:00
Gregor Richards 65355994b3 NAT traversal
Adding NAT traveral interface to libretro-common, with (currently) a
backend support MiniUPNPC. Sensible future backends would be libupnp and
a direct implementation of PCP/NAT-PMP.
2016-11-29 21:00:53 -05:00
Brad Parker 367dea6723 unicode-ify a couple other windows files, start changing function names to W version explicitly 2016-11-29 20:32:24 -05:00
Brad Parker 187e1fc71b use wide fopen() on windows 2016-11-29 14:34:36 -05:00
Brad Parker 8adafa9249 use UTF8/16 conversion functions instead of codepage ones 2016-11-29 14:34:36 -05:00
Brad Parker 495deae31b still not working 2016-11-29 14:34:36 -05:00
Brad Parker cd9d09d1f3 use unicode versions of windows functions 2016-11-29 14:34:35 -05:00
twinaphex 5b2c4db656 (libretro-common) Fix header 2016-11-27 15:35:04 +01:00
twinaphex 4029709658 Fix warning 2016-11-27 14:50:42 +01:00
Twinaphex a09ad05a76 Merge pull request #4064 from GregorR/netplay-compression
Netplay compression
2016-11-26 23:43:05 +01:00
Gregor Richards 096eb072e1 Replacing archive_file_zlib backend with trans_stream 2016-11-26 15:48:58 -05:00
twinaphex 82b1cbf04a Not sure why this is in include/hash 2016-11-26 17:14:40 +01:00
Gregor Richards ac50e17f50 Moving zlib stream interface
Moving the zlib streaming interface out of archive_file and into
trans_stream, including updating the png support to use the new
trans_stream interface. archive_file_zlib itself still needs updating.
2016-11-26 10:47:24 -05:00
Gregor Richards f27476b4ef Adding a transcoding stream interface for in-memory compression. 2016-11-26 09:19:46 -05:00
twinaphex 490b3f5ed2 Add updates to libretro-common 2016-11-26 11:12:46 +01:00
twinaphex 97eb8bb747 Silence warning 2016-11-19 04:06:04 +01:00
twinaphex 66795c35cc Fix for GLES2 target 2016-11-18 23:29:48 +01:00
Alcaro a973bd8dfa Clarify this function 2016-11-16 14:36:48 +01:00
Francisco José García García d99d8d1a56 (MACH) Fix compilation 2016-11-15 00:05:37 +01:00
Francisco José García García c68325a713 (VITA) Add support for -mthumb 2016-11-14 19:13:07 +01:00
twinaphex 18da1fc088 More logging 2016-11-09 00:20:44 +01:00
Jean-André Santoni 1d8b6ceafd Use BGRA8888 on VideoCore 2016-11-08 20:22:38 +01:00
twinaphex 02e4dbfa0f Fix matrix_4x4_projection 2016-11-08 20:09:43 +01:00
twinaphex f6b273e1be (Desktop GL) GL_CAPS_BGRA8888 - return true by default 2016-11-08 19:11:54 +01:00
twinaphex 83d91ae85a (libretro-common) Update copyrights 2016-11-08 17:55:35 +01:00