From 3719602cbe883fb394a71353e20a10a4a306e814 Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Sun, 9 Jul 2023 14:38:25 +0200 Subject: [PATCH] git subrepo clone https://github.com/libretro/libretro-common.git deps/libretro-common subrepo: subdir: "deps/libretro-common" merged: "86d5e4128c" upstream: origin: "https://github.com/libretro/libretro-common.git" branch: "master" commit: "86d5e4128c" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" --- deps/libretro-common/.gitignore | 6 + deps/libretro-common/.gitrepo | 12 + deps/libretro-common/Makefile.test | 58 + deps/libretro-common/audio/audio_mix.c | 377 ++ deps/libretro-common/audio/audio_mixer.c | 1400 ++++++ .../audio/conversion/float_to_s16.c | 183 + .../audio/conversion/float_to_s16_neon.S | 69 + .../audio/conversion/float_to_s16_neon.c | 64 + .../audio/conversion/mono_to_stereo_float.c | 44 + .../audio/conversion/s16_to_float.c | 205 + .../audio/conversion/s16_to_float_neon.S | 76 + .../audio/conversion/s16_to_float_neon.c | 71 + .../audio/conversion/stereo_to_mono_float.c | 45 + deps/libretro-common/audio/dsp_filter.c | 324 ++ .../audio/dsp_filters/BassBoost.dsp | 11 + .../audio/dsp_filters/ChipTune-Lowpass.dsp | 7 + .../audio/dsp_filters/ChipTuneEnhance.dsp | 22 + .../audio/dsp_filters/Chorus.dsp | 14 + .../audio/dsp_filters/Crystalizer.dsp | 4 + deps/libretro-common/audio/dsp_filters/EQ.dsp | 41 + .../audio/dsp_filters/Echo.dsp | 19 + .../audio/dsp_filters/EchoReverb.dsp | 12 + .../audio/dsp_filters/HighShelfDampen.dsp | 6 + .../libretro-common/audio/dsp_filters/IIR.dsp | 22 + .../audio/dsp_filters/LowPassCPS.dsp | 47 + .../audio/dsp_filters/Makefile | 135 + .../audio/dsp_filters/Mono.dsp | 12 + .../audio/dsp_filters/Panning.dsp | 22 + .../audio/dsp_filters/Phaser.dsp | 10 + .../audio/dsp_filters/Reverb.dsp | 9 + .../audio/dsp_filters/Tremolo.dsp | 6 + .../audio/dsp_filters/Vibrato.dsp | 6 + .../audio/dsp_filters/WahWah.dsp | 9 + .../audio/dsp_filters/chorus.c | 155 + .../audio/dsp_filters/configure | 3 + .../audio/dsp_filters/crystalizer.c | 89 + deps/libretro-common/audio/dsp_filters/echo.c | 176 + deps/libretro-common/audio/dsp_filters/eq.c | 348 ++ .../audio/dsp_filters/fft/fft.c | 204 + .../audio/dsp_filters/fft/fft.h | 44 + deps/libretro-common/audio/dsp_filters/iir.c | 370 ++ deps/libretro-common/audio/dsp_filters/link.T | 4 + .../audio/dsp_filters/panning.c | 110 + .../audio/dsp_filters/phaser.c | 144 + .../audio/dsp_filters/reverb.c | 315 ++ .../audio/dsp_filters/tremolo.c | 131 + .../audio/dsp_filters/vibrato.c | 167 + .../audio/dsp_filters/wahwah.c | 147 + .../audio/resampler/audio_resampler.c | 189 + .../resampler/drivers/nearest_resampler.c | 84 + .../audio/resampler/drivers/sinc_resampler.c | 1025 ++++ .../resampler/drivers/sinc_resampler_neon.S | 74 + deps/libretro-common/cdrom/cdrom.c | 1730 +++++++ deps/libretro-common/compat/compat_fnmatch.c | 122 + deps/libretro-common/compat/compat_getopt.c | 230 + deps/libretro-common/compat/compat_ifaddrs.c | 654 +++ .../compat/compat_posix_string.c | 104 + deps/libretro-common/compat/compat_snprintf.c | 83 + .../compat/compat_strcasestr.c | 58 + deps/libretro-common/compat/compat_strl.c | 62 + deps/libretro-common/compat/compat_strldup.c | 33 + .../libretro-common/compat/compat_vscprintf.c | 44 + deps/libretro-common/compat/fopen_utf8.c | 64 + deps/libretro-common/crt/include/string.h | 10 + deps/libretro-common/crt/string.c | 34 + deps/libretro-common/dynamic/dylib.c | 225 + .../encodings/encoding_base64.c | 171 + .../encodings/encoding_crc32.c | 91 + deps/libretro-common/encodings/encoding_utf.c | 532 +++ deps/libretro-common/features/features_cpu.c | 920 ++++ deps/libretro-common/file/archive_file.c | 734 +++ deps/libretro-common/file/archive_file_7z.c | 526 +++ deps/libretro-common/file/archive_file_zlib.c | 563 +++ deps/libretro-common/file/config_file.c | 1522 ++++++ .../file/config_file_userdata.c | 171 + deps/libretro-common/file/file_path.c | 1452 ++++++ deps/libretro-common/file/file_path_io.c | 149 + deps/libretro-common/file/nbio/nbio_intf.c | 103 + deps/libretro-common/file/nbio/nbio_linux.c | 235 + deps/libretro-common/file/nbio/nbio_orbis.c | 231 + deps/libretro-common/file/nbio/nbio_stdio.c | 303 ++ .../libretro-common/file/nbio/nbio_unixmmap.c | 184 + .../file/nbio/nbio_windowsmmap.c | 237 + deps/libretro-common/file/retro_dirent.c | 122 + deps/libretro-common/formats/bmp/rbmp.c | 785 +++ .../libretro-common/formats/bmp/rbmp_encode.c | 236 + deps/libretro-common/formats/cdfs/cdfs.c | 669 +++ deps/libretro-common/formats/image_texture.c | 333 ++ deps/libretro-common/formats/image_transfer.c | 285 ++ deps/libretro-common/formats/jpeg/rjpeg.c | 2632 +++++++++++ deps/libretro-common/formats/json/rjson.c | 1568 ++++++ .../formats/libchdr/libchdr_bitstream.c | 119 + .../formats/libchdr/libchdr_cdrom.c | 417 ++ .../formats/libchdr/libchdr_chd.c | 1939 ++++++++ .../formats/libchdr/libchdr_flac.c | 324 ++ .../formats/libchdr/libchdr_flac_codec.c | 163 + .../formats/libchdr/libchdr_huffman.c | 563 +++ .../formats/libchdr/libchdr_lzma.c | 366 ++ .../formats/libchdr/libchdr_zlib.c | 313 ++ .../formats/logiqx_dat/logiqx_dat.c | 457 ++ deps/libretro-common/formats/m3u/m3u_file.c | 633 +++ deps/libretro-common/formats/png/rpng.c | 1251 +++++ .../libretro-common/formats/png/rpng_encode.c | 448 ++ .../formats/png/rpng_internal.h | 49 + deps/libretro-common/formats/tga/rtga.c | 473 ++ deps/libretro-common/formats/wav/rwav.c | 187 + deps/libretro-common/formats/xml/rxml.c | 321 ++ .../libretro-common/formats/xml/test/Makefile | 28 + .../formats/xml/test/rxml_test.c | 66 + deps/libretro-common/gfx/gl_capabilities.c | 335 ++ deps/libretro-common/gfx/scaler/pixconv.c | 1083 +++++ deps/libretro-common/gfx/scaler/scaler.c | 359 ++ .../gfx/scaler/scaler_filter.c | 246 + deps/libretro-common/gfx/scaler/scaler_int.c | 261 + deps/libretro-common/glsm/glsm.c | 2897 ++++++++++++ deps/libretro-common/glsym/README.md | 11 + deps/libretro-common/glsym/glgen.py | 155 + deps/libretro-common/glsym/glsym_es2.c | 409 ++ deps/libretro-common/glsym/glsym_es3.c | 413 ++ deps/libretro-common/glsym/glsym_gl.c | 2541 ++++++++++ deps/libretro-common/glsym/rglgen.c | 45 + deps/libretro-common/glsym/rglgen.py | 147 + deps/libretro-common/glsym/xglgen.py | 156 + deps/libretro-common/hash/lrc_hash.c | 576 +++ deps/libretro-common/include/array/rbuf.h | 120 + deps/libretro-common/include/array/rhmap.h | 285 ++ .../libretro-common/include/audio/audio_mix.h | 94 + .../include/audio/audio_mixer.h | 90 + .../include/audio/audio_resampler.h | 223 + .../include/audio/conversion/dual_mono.h | 69 + .../include/audio/conversion/float_to_s16.h | 55 + .../include/audio/conversion/s16_to_float.h | 55 + .../include/audio/dsp_filter.h | 55 + deps/libretro-common/include/boolean.h | 39 + deps/libretro-common/include/cdrom/cdrom.h | 125 + deps/libretro-common/include/clamping.h | 65 + .../include/compat/apple_compat.h | 84 + deps/libretro-common/include/compat/fnmatch.h | 30 + .../include/compat/fopen_utf8.h | 34 + deps/libretro-common/include/compat/getopt.h | 74 + deps/libretro-common/include/compat/ifaddrs.h | 53 + .../include/compat/intrinsics.h | 99 + deps/libretro-common/include/compat/msvc.h | 126 + .../include/compat/msvc/stdint.h | 255 + .../include/compat/posix_string.h | 60 + .../include/compat/strcasestr.h | 48 + deps/libretro-common/include/compat/strl.h | 59 + deps/libretro-common/include/compat/zconf.h | 483 ++ .../libretro-common/include/compat/zconf.h.in | 483 ++ deps/libretro-common/include/compat/zlib.h | 1772 +++++++ .../include/compat/zlib/zconf.h | 483 ++ .../include/compat/zlib/zconf.h.in | 483 ++ .../include/compat/zlib/zlib.h | 1761 +++++++ .../include/compat/zlib/zutil.h | 253 + deps/libretro-common/include/compat/zutil.h | 253 + .../include/defines/cocoa_defines.h | 76 + .../include/defines/d3d_defines.h | 92 + .../include/defines/gx_defines.h | 96 + .../include/defines/ps3_defines.h | 952 ++++ .../include/defines/ps4_defines.h | 46 + .../include/defines/psp_defines.h | 145 + deps/libretro-common/include/dynamic/dylib.h | 71 + .../include/encodings/base64.h | 16 + .../libretro-common/include/encodings/crc32.h | 37 + deps/libretro-common/include/encodings/utf.h | 137 + .../libretro-common/include/encodings/win32.h | 63 + deps/libretro-common/include/fastcpy.h | 93 + .../include/features/features_cpu.h | 75 + .../include/file/archive_file.h | 210 + .../include/file/config_file.h | 330 ++ .../include/file/config_file_userdata.h | 64 + deps/libretro-common/include/file/file_path.h | 684 +++ deps/libretro-common/include/file/nbio.h | 124 + deps/libretro-common/include/filters.h | 103 + deps/libretro-common/include/formats/cdfs.h | 113 + deps/libretro-common/include/formats/image.h | 102 + .../include/formats/logiqx_dat.h | 107 + .../include/formats/m3u_file.h | 122 + deps/libretro-common/include/formats/rbmp.h | 66 + deps/libretro-common/include/formats/rjpeg.h | 48 + deps/libretro-common/include/formats/rjson.h | 242 + .../include/formats/rjson_helpers.h | 78 + deps/libretro-common/include/formats/rpng.h | 64 + deps/libretro-common/include/formats/rtga.h | 48 + deps/libretro-common/include/formats/rwav.h | 87 + deps/libretro-common/include/formats/rxml.h | 69 + .../include/gfx/gl_capabilities.h | 68 + .../include/gfx/math/matrix_3x3.h | 253 + .../include/gfx/math/matrix_4x4.h | 395 ++ .../include/gfx/math/vector_2.h | 138 + .../include/gfx/math/vector_3.h | 68 + .../include/gfx/math/vector_4.h | 61 + .../include/gfx/scaler/filter.h | 37 + .../include/gfx/scaler/pixconv.h | 110 + .../include/gfx/scaler/scaler.h | 128 + .../include/gfx/scaler/scaler_int.h | 46 + .../libretro-common/include/gfx/video_frame.h | 220 + deps/libretro-common/include/glsm/glsm.h | 158 + deps/libretro-common/include/glsm/glsmsym.h | 483 ++ deps/libretro-common/include/glsym/glsym.h | 45 + .../libretro-common/include/glsym/glsym_es2.h | 639 +++ .../libretro-common/include/glsym/glsym_es3.h | 653 +++ deps/libretro-common/include/glsym/glsym_gl.h | 3140 ++++++++++++ deps/libretro-common/include/glsym/rglgen.h | 46 + .../include/glsym/rglgen_headers.h | 53 + .../include/glsym/rglgen_private_headers.h | 76 + .../include/glsym/switch/nx_gl.h | 848 ++++ .../include/glsym/switch/nx_glsym.h | 928 ++++ .../include/libchdr/bitstream.h | 42 + deps/libretro-common/include/libchdr/cdrom.h | 69 + deps/libretro-common/include/libchdr/chd.h | 397 ++ .../include/libchdr/coretypes.h | 22 + deps/libretro-common/include/libchdr/flac.h | 70 + .../libretro-common/include/libchdr/huffman.h | 89 + .../include/libchdr/libchdr_zlib.h | 69 + deps/libretro-common/include/libchdr/lzma.h | 73 + deps/libretro-common/include/libchdr/minmax.h | 21 + deps/libretro-common/include/libco.h | 79 + deps/libretro-common/include/libretro.h | 4190 +++++++++++++++++ deps/libretro-common/include/libretro_d3d.h | 87 + .../include/libretro_dspfilter.h | 187 + .../include/libretro_gskit_ps2.h | 66 + .../libretro-common/include/libretro_vulkan.h | 494 ++ deps/libretro-common/include/lists/dir_list.h | 100 + .../libretro-common/include/lists/file_list.h | 117 + .../include/lists/linked_list.h | 298 ++ .../include/lists/nested_list.h | 242 + .../include/lists/string_list.h | 205 + deps/libretro-common/include/lrc_hash.h | 95 + deps/libretro-common/include/math/complex.h | 77 + .../include/math/float_minmax.h | 61 + deps/libretro-common/include/math/fxp.h | 61 + .../include/media/media_detect_cd.h | 61 + deps/libretro-common/include/memalign.h | 40 + deps/libretro-common/include/memmap.h | 52 + deps/libretro-common/include/net/net_compat.h | 421 ++ deps/libretro-common/include/net/net_http.h | 131 + .../include/net/net_http_parse.h | 53 + deps/libretro-common/include/net/net_ifinfo.h | 54 + deps/libretro-common/include/net/net_socket.h | 118 + .../include/net/net_socket_ssl.h | 50 + .../include/playlists/label_sanitization.h | 42 + .../include/queues/fifo_queue.h | 75 + .../include/queues/generic_queue.h | 208 + .../include/queues/message_queue.h | 156 + .../include/queues/task_queue.h | 262 ++ deps/libretro-common/include/retro_assert.h | 35 + deps/libretro-common/include/retro_common.h | 36 + .../include/retro_common_api.h | 119 + deps/libretro-common/include/retro_dirent.h | 77 + .../include/retro_endianness.h | 580 +++ .../include/retro_environment.h | 114 + deps/libretro-common/include/retro_inline.h | 39 + deps/libretro-common/include/retro_math.h | 190 + .../include/retro_miscellaneous.h | 222 + deps/libretro-common/include/retro_stat.h | 63 + deps/libretro-common/include/retro_timers.h | 112 + .../include/rthreads/async_job.h | 35 + .../include/rthreads/rthreads.h | 269 ++ deps/libretro-common/include/rthreads/tpool.h | 96 + .../include/streams/chd_stream.h | 68 + .../include/streams/file_stream.h | 142 + .../include/streams/file_stream_transforms.h | 101 + .../include/streams/interface_stream.h | 132 + .../include/streams/memory_stream.h | 63 + .../include/streams/network_stream.h | 267 ++ .../include/streams/rzip_stream.h | 188 + .../include/streams/stdin_stream.h | 39 + .../include/streams/trans_stream.h | 106 + .../include/string/stdstring.h | 387 ++ deps/libretro-common/include/time/rtime.h | 48 + deps/libretro-common/include/utils/md5.h | 51 + deps/libretro-common/include/vfs/vfs.h | 111 + .../include/vfs/vfs_implementation.h | 82 + .../include/vfs/vfs_implementation_cdrom.h | 52 + .../include/vulkan/vulkan_symbol_wrapper.h | 347 ++ deps/libretro-common/libco/aarch64.c | 129 + deps/libretro-common/libco/amd64.c | 222 + deps/libretro-common/libco/armeabi.c | 110 + deps/libretro-common/libco/fiber.c | 71 + deps/libretro-common/libco/genode.cpp | 31 + deps/libretro-common/libco/libco.c | 45 + deps/libretro-common/libco/ppc.c | 402 ++ deps/libretro-common/libco/ps2.c | 59 + deps/libretro-common/libco/ps3.S | 55 + deps/libretro-common/libco/psp1.c | 41 + deps/libretro-common/libco/psp2.c | 112 + deps/libretro-common/libco/scefiber.c | 92 + deps/libretro-common/libco/sjlj.c | 113 + deps/libretro-common/libco/ucontext.c | 80 + deps/libretro-common/libco/x86.c | 117 + deps/libretro-common/lists/dir_list.c | 280 ++ deps/libretro-common/lists/file_list.c | 353 ++ deps/libretro-common/lists/linked_list.c | 479 ++ deps/libretro-common/lists/nested_list.c | 613 +++ deps/libretro-common/lists/string_list.c | 539 +++ deps/libretro-common/lists/vector_list.c | 95 + deps/libretro-common/media/media_detect_cd.c | 570 +++ deps/libretro-common/memmap/memalign.c | 63 + deps/libretro-common/memmap/memmap.c | 164 + deps/libretro-common/net/net_compat.c | 639 +++ deps/libretro-common/net/net_http.c | 1236 +++++ deps/libretro-common/net/net_http_parse.c | 86 + deps/libretro-common/net/net_ifinfo.c | 420 ++ deps/libretro-common/net/net_socket.c | 858 ++++ .../libretro-common/net/net_socket_ssl_bear.c | 381 ++ .../libretro-common/net/net_socket_ssl_mbed.c | 290 ++ .../playlists/label_sanitization.c | 209 + deps/libretro-common/queues/fifo_queue.c | 126 + deps/libretro-common/queues/generic_queue.c | 303 ++ deps/libretro-common/queues/message_queue.c | 351 ++ deps/libretro-common/queues/task_queue.c | 997 ++++ deps/libretro-common/rthreads/ctr_pthread.h | 326 ++ deps/libretro-common/rthreads/gx_pthread.h | 186 + deps/libretro-common/rthreads/psp_pthread.h | 305 ++ deps/libretro-common/rthreads/rthreads.c | 935 ++++ deps/libretro-common/rthreads/tpool.c | 268 ++ deps/libretro-common/rthreads/wiiu_pthread.h | 167 + .../rthreads/xenon_sdl_threads.c | 58 + .../samples/compat/fnmatch/Makefile | 24 + .../compat/fnmatch/compat_fnmatch_test.c | 58 + .../samples/compat/snprintf/Makefile | 25 + .../samples/compat/snprintf/snprintf_test.c | 51 + .../samples/compat/strl/Makefile | 25 + .../samples/compat/strl/strl_test.c | 54 + .../samples/core_options/README.md | 59 + .../conversion_scripts/core_option_regex.py | 80 + .../conversion_scripts/v1_to_v2_converter.py | 419 ++ .../libretro_core_options.h | 458 ++ .../libretro_core_options_intl.h | 157 + .../example_default/libretro_core_options.h | 291 ++ .../libretro_core_options_intl.h | 90 + .../libretro_core_options.h | 317 ++ .../libretro_core_options_intl.h | 90 + .../libretro_core_options.h | 290 ++ .../libretro_core_options_intl.h | 125 + .../.github/workflows/crowdin_intl.yml | 41 + .../.github/workflows/crowdin_prep.yml | 41 + .../translation scripts/crowdin.yml | 3 + .../translation scripts/instructions.txt | 47 + .../translation scripts/intl/.gitignore | 1 + .../intl/core_opt_translation.py | 609 +++ .../intl/core_option_regex.py | 95 + .../translation scripts/intl/crowdin_intl.py | 43 + .../translation scripts/intl/crowdin_prep.py | 34 + .../intl/v1_to_v2_converter.py | 459 ++ .../samples/file/config_file/Makefile | 36 + .../file/config_file/config_file_test.c | 78 + .../samples/file/nbio/Makefile | 31 + .../samples/file/nbio/nbio_test.c | 69 + .../samples/formats/png/Makefile | 60 + .../samples/formats/png/rpng_test.c | 207 + .../samples/formats/xml/Makefile | 32 + .../samples/formats/xml/rxml_test.c | 66 + deps/libretro-common/samples/net/Makefile | 80 + deps/libretro-common/samples/net/http_test | Bin 0 -> 20464 bytes .../samples/net/net_http_parse_test.c | 39 + .../samples/net/net_http_test.c | 56 + deps/libretro-common/samples/net/net_ifinfo | Bin 0 -> 8888 bytes .../samples/net/net_ifinfo_test.c | 45 + deps/libretro-common/samples/net/udp-test.c | 55 + .../samples/streams/rzip/Makefile | 102 + .../samples/streams/rzip/rzip.c | 362 ++ deps/libretro-common/samples/utils/Makefile | 113 + deps/libretro-common/samples/utils/crc32.c | 43 + deps/libretro-common/samples/utils/md5_test.c | 85 + .../libretro-common/samples/utils/sha1_main.c | 189 + deps/libretro-common/streams/chd_stream.c | 470 ++ deps/libretro-common/streams/file_stream.c | 659 +++ .../streams/file_stream_transforms.c | 195 + .../streams/interface_stream.c | 806 ++++ deps/libretro-common/streams/memory_stream.c | 191 + deps/libretro-common/streams/network_stream.c | 329 ++ deps/libretro-common/streams/rzip_stream.c | 1069 +++++ deps/libretro-common/streams/stdin_stream.c | 151 + deps/libretro-common/streams/trans_stream.c | 92 + .../streams/trans_stream_pipe.c | 111 + .../streams/trans_stream_zlib.c | 330 ++ deps/libretro-common/string/stdstring.c | 728 +++ deps/libretro-common/test/hash/test_hash.c | 86 + .../test/lists/test_linked_list.c | 1300 +++++ .../test/queues/test_generic_queue.c | 410 ++ .../test/string/test_stdstring.c | 321 ++ deps/libretro-common/test/utils/test_utils.c | 159 + deps/libretro-common/time/rtime.c | 78 + .../utils/debugbreak/debugbreak.c | 92 + deps/libretro-common/utils/djb2.c | 26 + deps/libretro-common/utils/md5.c | 295 ++ deps/libretro-common/utils/sha1.c | 419 ++ deps/libretro-common/vfs/vfs_implementation.c | 1246 +++++ .../vfs/vfs_implementation_cdrom.c | 495 ++ .../vfs/vfs_implementation_uwp.cpp | 808 ++++ .../vulkan/vulkan_symbol_wrapper.c | 482 ++ 393 files changed, 107569 insertions(+) create mode 100644 deps/libretro-common/.gitignore create mode 100644 deps/libretro-common/.gitrepo create mode 100644 deps/libretro-common/Makefile.test create mode 100644 deps/libretro-common/audio/audio_mix.c create mode 100644 deps/libretro-common/audio/audio_mixer.c create mode 100644 deps/libretro-common/audio/conversion/float_to_s16.c create mode 100644 deps/libretro-common/audio/conversion/float_to_s16_neon.S create mode 100644 deps/libretro-common/audio/conversion/float_to_s16_neon.c create mode 100644 deps/libretro-common/audio/conversion/mono_to_stereo_float.c create mode 100644 deps/libretro-common/audio/conversion/s16_to_float.c create mode 100644 deps/libretro-common/audio/conversion/s16_to_float_neon.S create mode 100644 deps/libretro-common/audio/conversion/s16_to_float_neon.c create mode 100644 deps/libretro-common/audio/conversion/stereo_to_mono_float.c create mode 100644 deps/libretro-common/audio/dsp_filter.c create mode 100644 deps/libretro-common/audio/dsp_filters/BassBoost.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/ChipTune-Lowpass.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/ChipTuneEnhance.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/Chorus.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/Crystalizer.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/EQ.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/Echo.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/EchoReverb.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/HighShelfDampen.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/IIR.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/LowPassCPS.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/Makefile create mode 100644 deps/libretro-common/audio/dsp_filters/Mono.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/Panning.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/Phaser.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/Reverb.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/Tremolo.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/Vibrato.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/WahWah.dsp create mode 100644 deps/libretro-common/audio/dsp_filters/chorus.c create mode 100755 deps/libretro-common/audio/dsp_filters/configure create mode 100644 deps/libretro-common/audio/dsp_filters/crystalizer.c create mode 100644 deps/libretro-common/audio/dsp_filters/echo.c create mode 100644 deps/libretro-common/audio/dsp_filters/eq.c create mode 100644 deps/libretro-common/audio/dsp_filters/fft/fft.c create mode 100644 deps/libretro-common/audio/dsp_filters/fft/fft.h create mode 100644 deps/libretro-common/audio/dsp_filters/iir.c create mode 100644 deps/libretro-common/audio/dsp_filters/link.T create mode 100644 deps/libretro-common/audio/dsp_filters/panning.c create mode 100644 deps/libretro-common/audio/dsp_filters/phaser.c create mode 100644 deps/libretro-common/audio/dsp_filters/reverb.c create mode 100644 deps/libretro-common/audio/dsp_filters/tremolo.c create mode 100644 deps/libretro-common/audio/dsp_filters/vibrato.c create mode 100644 deps/libretro-common/audio/dsp_filters/wahwah.c create mode 100644 deps/libretro-common/audio/resampler/audio_resampler.c create mode 100644 deps/libretro-common/audio/resampler/drivers/nearest_resampler.c create mode 100644 deps/libretro-common/audio/resampler/drivers/sinc_resampler.c create mode 100644 deps/libretro-common/audio/resampler/drivers/sinc_resampler_neon.S create mode 100644 deps/libretro-common/cdrom/cdrom.c create mode 100644 deps/libretro-common/compat/compat_fnmatch.c create mode 100644 deps/libretro-common/compat/compat_getopt.c create mode 100644 deps/libretro-common/compat/compat_ifaddrs.c create mode 100644 deps/libretro-common/compat/compat_posix_string.c create mode 100644 deps/libretro-common/compat/compat_snprintf.c create mode 100644 deps/libretro-common/compat/compat_strcasestr.c create mode 100644 deps/libretro-common/compat/compat_strl.c create mode 100644 deps/libretro-common/compat/compat_strldup.c create mode 100644 deps/libretro-common/compat/compat_vscprintf.c create mode 100644 deps/libretro-common/compat/fopen_utf8.c create mode 100644 deps/libretro-common/crt/include/string.h create mode 100644 deps/libretro-common/crt/string.c create mode 100644 deps/libretro-common/dynamic/dylib.c create mode 100644 deps/libretro-common/encodings/encoding_base64.c create mode 100644 deps/libretro-common/encodings/encoding_crc32.c create mode 100644 deps/libretro-common/encodings/encoding_utf.c create mode 100644 deps/libretro-common/features/features_cpu.c create mode 100644 deps/libretro-common/file/archive_file.c create mode 100644 deps/libretro-common/file/archive_file_7z.c create mode 100644 deps/libretro-common/file/archive_file_zlib.c create mode 100644 deps/libretro-common/file/config_file.c create mode 100644 deps/libretro-common/file/config_file_userdata.c create mode 100644 deps/libretro-common/file/file_path.c create mode 100644 deps/libretro-common/file/file_path_io.c create mode 100644 deps/libretro-common/file/nbio/nbio_intf.c create mode 100644 deps/libretro-common/file/nbio/nbio_linux.c create mode 100644 deps/libretro-common/file/nbio/nbio_orbis.c create mode 100644 deps/libretro-common/file/nbio/nbio_stdio.c create mode 100644 deps/libretro-common/file/nbio/nbio_unixmmap.c create mode 100644 deps/libretro-common/file/nbio/nbio_windowsmmap.c create mode 100644 deps/libretro-common/file/retro_dirent.c create mode 100644 deps/libretro-common/formats/bmp/rbmp.c create mode 100644 deps/libretro-common/formats/bmp/rbmp_encode.c create mode 100644 deps/libretro-common/formats/cdfs/cdfs.c create mode 100644 deps/libretro-common/formats/image_texture.c create mode 100644 deps/libretro-common/formats/image_transfer.c create mode 100644 deps/libretro-common/formats/jpeg/rjpeg.c create mode 100644 deps/libretro-common/formats/json/rjson.c create mode 100644 deps/libretro-common/formats/libchdr/libchdr_bitstream.c create mode 100644 deps/libretro-common/formats/libchdr/libchdr_cdrom.c create mode 100644 deps/libretro-common/formats/libchdr/libchdr_chd.c create mode 100644 deps/libretro-common/formats/libchdr/libchdr_flac.c create mode 100644 deps/libretro-common/formats/libchdr/libchdr_flac_codec.c create mode 100644 deps/libretro-common/formats/libchdr/libchdr_huffman.c create mode 100644 deps/libretro-common/formats/libchdr/libchdr_lzma.c create mode 100644 deps/libretro-common/formats/libchdr/libchdr_zlib.c create mode 100644 deps/libretro-common/formats/logiqx_dat/logiqx_dat.c create mode 100644 deps/libretro-common/formats/m3u/m3u_file.c create mode 100644 deps/libretro-common/formats/png/rpng.c create mode 100644 deps/libretro-common/formats/png/rpng_encode.c create mode 100644 deps/libretro-common/formats/png/rpng_internal.h create mode 100644 deps/libretro-common/formats/tga/rtga.c create mode 100644 deps/libretro-common/formats/wav/rwav.c create mode 100644 deps/libretro-common/formats/xml/rxml.c create mode 100644 deps/libretro-common/formats/xml/test/Makefile create mode 100644 deps/libretro-common/formats/xml/test/rxml_test.c create mode 100644 deps/libretro-common/gfx/gl_capabilities.c create mode 100644 deps/libretro-common/gfx/scaler/pixconv.c create mode 100644 deps/libretro-common/gfx/scaler/scaler.c create mode 100644 deps/libretro-common/gfx/scaler/scaler_filter.c create mode 100644 deps/libretro-common/gfx/scaler/scaler_int.c create mode 100644 deps/libretro-common/glsm/glsm.c create mode 100644 deps/libretro-common/glsym/README.md create mode 100755 deps/libretro-common/glsym/glgen.py create mode 100644 deps/libretro-common/glsym/glsym_es2.c create mode 100644 deps/libretro-common/glsym/glsym_es3.c create mode 100644 deps/libretro-common/glsym/glsym_gl.c create mode 100644 deps/libretro-common/glsym/rglgen.c create mode 100755 deps/libretro-common/glsym/rglgen.py create mode 100644 deps/libretro-common/glsym/xglgen.py create mode 100644 deps/libretro-common/hash/lrc_hash.c create mode 100644 deps/libretro-common/include/array/rbuf.h create mode 100644 deps/libretro-common/include/array/rhmap.h create mode 100644 deps/libretro-common/include/audio/audio_mix.h create mode 100644 deps/libretro-common/include/audio/audio_mixer.h create mode 100644 deps/libretro-common/include/audio/audio_resampler.h create mode 100644 deps/libretro-common/include/audio/conversion/dual_mono.h create mode 100644 deps/libretro-common/include/audio/conversion/float_to_s16.h create mode 100644 deps/libretro-common/include/audio/conversion/s16_to_float.h create mode 100644 deps/libretro-common/include/audio/dsp_filter.h create mode 100644 deps/libretro-common/include/boolean.h create mode 100644 deps/libretro-common/include/cdrom/cdrom.h create mode 100644 deps/libretro-common/include/clamping.h create mode 100644 deps/libretro-common/include/compat/apple_compat.h create mode 100644 deps/libretro-common/include/compat/fnmatch.h create mode 100644 deps/libretro-common/include/compat/fopen_utf8.h create mode 100644 deps/libretro-common/include/compat/getopt.h create mode 100644 deps/libretro-common/include/compat/ifaddrs.h create mode 100644 deps/libretro-common/include/compat/intrinsics.h create mode 100644 deps/libretro-common/include/compat/msvc.h create mode 100644 deps/libretro-common/include/compat/msvc/stdint.h create mode 100644 deps/libretro-common/include/compat/posix_string.h create mode 100644 deps/libretro-common/include/compat/strcasestr.h create mode 100644 deps/libretro-common/include/compat/strl.h create mode 100644 deps/libretro-common/include/compat/zconf.h create mode 100644 deps/libretro-common/include/compat/zconf.h.in create mode 100644 deps/libretro-common/include/compat/zlib.h create mode 100644 deps/libretro-common/include/compat/zlib/zconf.h create mode 100644 deps/libretro-common/include/compat/zlib/zconf.h.in create mode 100644 deps/libretro-common/include/compat/zlib/zlib.h create mode 100644 deps/libretro-common/include/compat/zlib/zutil.h create mode 100644 deps/libretro-common/include/compat/zutil.h create mode 100644 deps/libretro-common/include/defines/cocoa_defines.h create mode 100644 deps/libretro-common/include/defines/d3d_defines.h create mode 100644 deps/libretro-common/include/defines/gx_defines.h create mode 100644 deps/libretro-common/include/defines/ps3_defines.h create mode 100644 deps/libretro-common/include/defines/ps4_defines.h create mode 100644 deps/libretro-common/include/defines/psp_defines.h create mode 100644 deps/libretro-common/include/dynamic/dylib.h create mode 100644 deps/libretro-common/include/encodings/base64.h create mode 100644 deps/libretro-common/include/encodings/crc32.h create mode 100644 deps/libretro-common/include/encodings/utf.h create mode 100644 deps/libretro-common/include/encodings/win32.h create mode 100644 deps/libretro-common/include/fastcpy.h create mode 100644 deps/libretro-common/include/features/features_cpu.h create mode 100644 deps/libretro-common/include/file/archive_file.h create mode 100644 deps/libretro-common/include/file/config_file.h create mode 100644 deps/libretro-common/include/file/config_file_userdata.h create mode 100644 deps/libretro-common/include/file/file_path.h create mode 100644 deps/libretro-common/include/file/nbio.h create mode 100644 deps/libretro-common/include/filters.h create mode 100644 deps/libretro-common/include/formats/cdfs.h create mode 100644 deps/libretro-common/include/formats/image.h create mode 100644 deps/libretro-common/include/formats/logiqx_dat.h create mode 100644 deps/libretro-common/include/formats/m3u_file.h create mode 100644 deps/libretro-common/include/formats/rbmp.h create mode 100644 deps/libretro-common/include/formats/rjpeg.h create mode 100644 deps/libretro-common/include/formats/rjson.h create mode 100644 deps/libretro-common/include/formats/rjson_helpers.h create mode 100644 deps/libretro-common/include/formats/rpng.h create mode 100644 deps/libretro-common/include/formats/rtga.h create mode 100644 deps/libretro-common/include/formats/rwav.h create mode 100644 deps/libretro-common/include/formats/rxml.h create mode 100644 deps/libretro-common/include/gfx/gl_capabilities.h create mode 100644 deps/libretro-common/include/gfx/math/matrix_3x3.h create mode 100644 deps/libretro-common/include/gfx/math/matrix_4x4.h create mode 100644 deps/libretro-common/include/gfx/math/vector_2.h create mode 100644 deps/libretro-common/include/gfx/math/vector_3.h create mode 100644 deps/libretro-common/include/gfx/math/vector_4.h create mode 100644 deps/libretro-common/include/gfx/scaler/filter.h create mode 100644 deps/libretro-common/include/gfx/scaler/pixconv.h create mode 100644 deps/libretro-common/include/gfx/scaler/scaler.h create mode 100644 deps/libretro-common/include/gfx/scaler/scaler_int.h create mode 100644 deps/libretro-common/include/gfx/video_frame.h create mode 100644 deps/libretro-common/include/glsm/glsm.h create mode 100644 deps/libretro-common/include/glsm/glsmsym.h create mode 100644 deps/libretro-common/include/glsym/glsym.h create mode 100644 deps/libretro-common/include/glsym/glsym_es2.h create mode 100644 deps/libretro-common/include/glsym/glsym_es3.h create mode 100644 deps/libretro-common/include/glsym/glsym_gl.h create mode 100644 deps/libretro-common/include/glsym/rglgen.h create mode 100644 deps/libretro-common/include/glsym/rglgen_headers.h create mode 100644 deps/libretro-common/include/glsym/rglgen_private_headers.h create mode 100644 deps/libretro-common/include/glsym/switch/nx_gl.h create mode 100644 deps/libretro-common/include/glsym/switch/nx_glsym.h create mode 100644 deps/libretro-common/include/libchdr/bitstream.h create mode 100644 deps/libretro-common/include/libchdr/cdrom.h create mode 100644 deps/libretro-common/include/libchdr/chd.h create mode 100644 deps/libretro-common/include/libchdr/coretypes.h create mode 100644 deps/libretro-common/include/libchdr/flac.h create mode 100644 deps/libretro-common/include/libchdr/huffman.h create mode 100644 deps/libretro-common/include/libchdr/libchdr_zlib.h create mode 100644 deps/libretro-common/include/libchdr/lzma.h create mode 100644 deps/libretro-common/include/libchdr/minmax.h create mode 100644 deps/libretro-common/include/libco.h create mode 100644 deps/libretro-common/include/libretro.h create mode 100644 deps/libretro-common/include/libretro_d3d.h create mode 100644 deps/libretro-common/include/libretro_dspfilter.h create mode 100644 deps/libretro-common/include/libretro_gskit_ps2.h create mode 100644 deps/libretro-common/include/libretro_vulkan.h create mode 100644 deps/libretro-common/include/lists/dir_list.h create mode 100644 deps/libretro-common/include/lists/file_list.h create mode 100644 deps/libretro-common/include/lists/linked_list.h create mode 100644 deps/libretro-common/include/lists/nested_list.h create mode 100644 deps/libretro-common/include/lists/string_list.h create mode 100644 deps/libretro-common/include/lrc_hash.h create mode 100644 deps/libretro-common/include/math/complex.h create mode 100644 deps/libretro-common/include/math/float_minmax.h create mode 100644 deps/libretro-common/include/math/fxp.h create mode 100644 deps/libretro-common/include/media/media_detect_cd.h create mode 100644 deps/libretro-common/include/memalign.h create mode 100644 deps/libretro-common/include/memmap.h create mode 100644 deps/libretro-common/include/net/net_compat.h create mode 100644 deps/libretro-common/include/net/net_http.h create mode 100644 deps/libretro-common/include/net/net_http_parse.h create mode 100644 deps/libretro-common/include/net/net_ifinfo.h create mode 100644 deps/libretro-common/include/net/net_socket.h create mode 100644 deps/libretro-common/include/net/net_socket_ssl.h create mode 100644 deps/libretro-common/include/playlists/label_sanitization.h create mode 100644 deps/libretro-common/include/queues/fifo_queue.h create mode 100644 deps/libretro-common/include/queues/generic_queue.h create mode 100644 deps/libretro-common/include/queues/message_queue.h create mode 100644 deps/libretro-common/include/queues/task_queue.h create mode 100644 deps/libretro-common/include/retro_assert.h create mode 100644 deps/libretro-common/include/retro_common.h create mode 100644 deps/libretro-common/include/retro_common_api.h create mode 100644 deps/libretro-common/include/retro_dirent.h create mode 100644 deps/libretro-common/include/retro_endianness.h create mode 100644 deps/libretro-common/include/retro_environment.h create mode 100644 deps/libretro-common/include/retro_inline.h create mode 100644 deps/libretro-common/include/retro_math.h create mode 100644 deps/libretro-common/include/retro_miscellaneous.h create mode 100644 deps/libretro-common/include/retro_stat.h create mode 100644 deps/libretro-common/include/retro_timers.h create mode 100644 deps/libretro-common/include/rthreads/async_job.h create mode 100644 deps/libretro-common/include/rthreads/rthreads.h create mode 100644 deps/libretro-common/include/rthreads/tpool.h create mode 100644 deps/libretro-common/include/streams/chd_stream.h create mode 100644 deps/libretro-common/include/streams/file_stream.h create mode 100644 deps/libretro-common/include/streams/file_stream_transforms.h create mode 100644 deps/libretro-common/include/streams/interface_stream.h create mode 100644 deps/libretro-common/include/streams/memory_stream.h create mode 100644 deps/libretro-common/include/streams/network_stream.h create mode 100644 deps/libretro-common/include/streams/rzip_stream.h create mode 100644 deps/libretro-common/include/streams/stdin_stream.h create mode 100644 deps/libretro-common/include/streams/trans_stream.h create mode 100644 deps/libretro-common/include/string/stdstring.h create mode 100644 deps/libretro-common/include/time/rtime.h create mode 100644 deps/libretro-common/include/utils/md5.h create mode 100644 deps/libretro-common/include/vfs/vfs.h create mode 100644 deps/libretro-common/include/vfs/vfs_implementation.h create mode 100644 deps/libretro-common/include/vfs/vfs_implementation_cdrom.h create mode 100644 deps/libretro-common/include/vulkan/vulkan_symbol_wrapper.h create mode 100644 deps/libretro-common/libco/aarch64.c create mode 100644 deps/libretro-common/libco/amd64.c create mode 100644 deps/libretro-common/libco/armeabi.c create mode 100644 deps/libretro-common/libco/fiber.c create mode 100644 deps/libretro-common/libco/genode.cpp create mode 100644 deps/libretro-common/libco/libco.c create mode 100644 deps/libretro-common/libco/ppc.c create mode 100644 deps/libretro-common/libco/ps2.c create mode 100644 deps/libretro-common/libco/ps3.S create mode 100644 deps/libretro-common/libco/psp1.c create mode 100644 deps/libretro-common/libco/psp2.c create mode 100644 deps/libretro-common/libco/scefiber.c create mode 100644 deps/libretro-common/libco/sjlj.c create mode 100644 deps/libretro-common/libco/ucontext.c create mode 100644 deps/libretro-common/libco/x86.c create mode 100644 deps/libretro-common/lists/dir_list.c create mode 100644 deps/libretro-common/lists/file_list.c create mode 100644 deps/libretro-common/lists/linked_list.c create mode 100644 deps/libretro-common/lists/nested_list.c create mode 100644 deps/libretro-common/lists/string_list.c create mode 100644 deps/libretro-common/lists/vector_list.c create mode 100644 deps/libretro-common/media/media_detect_cd.c create mode 100644 deps/libretro-common/memmap/memalign.c create mode 100644 deps/libretro-common/memmap/memmap.c create mode 100644 deps/libretro-common/net/net_compat.c create mode 100644 deps/libretro-common/net/net_http.c create mode 100644 deps/libretro-common/net/net_http_parse.c create mode 100644 deps/libretro-common/net/net_ifinfo.c create mode 100644 deps/libretro-common/net/net_socket.c create mode 100644 deps/libretro-common/net/net_socket_ssl_bear.c create mode 100644 deps/libretro-common/net/net_socket_ssl_mbed.c create mode 100644 deps/libretro-common/playlists/label_sanitization.c create mode 100644 deps/libretro-common/queues/fifo_queue.c create mode 100644 deps/libretro-common/queues/generic_queue.c create mode 100644 deps/libretro-common/queues/message_queue.c create mode 100644 deps/libretro-common/queues/task_queue.c create mode 100644 deps/libretro-common/rthreads/ctr_pthread.h create mode 100644 deps/libretro-common/rthreads/gx_pthread.h create mode 100644 deps/libretro-common/rthreads/psp_pthread.h create mode 100644 deps/libretro-common/rthreads/rthreads.c create mode 100644 deps/libretro-common/rthreads/tpool.c create mode 100644 deps/libretro-common/rthreads/wiiu_pthread.h create mode 100644 deps/libretro-common/rthreads/xenon_sdl_threads.c create mode 100644 deps/libretro-common/samples/compat/fnmatch/Makefile create mode 100644 deps/libretro-common/samples/compat/fnmatch/compat_fnmatch_test.c create mode 100644 deps/libretro-common/samples/compat/snprintf/Makefile create mode 100644 deps/libretro-common/samples/compat/snprintf/snprintf_test.c create mode 100644 deps/libretro-common/samples/compat/strl/Makefile create mode 100644 deps/libretro-common/samples/compat/strl/strl_test.c create mode 100644 deps/libretro-common/samples/core_options/README.md create mode 100644 deps/libretro-common/samples/core_options/example_categories/conversion_scripts/core_option_regex.py create mode 100644 deps/libretro-common/samples/core_options/example_categories/conversion_scripts/v1_to_v2_converter.py create mode 100644 deps/libretro-common/samples/core_options/example_categories/libretro_core_options.h create mode 100644 deps/libretro-common/samples/core_options/example_categories/libretro_core_options_intl.h create mode 100644 deps/libretro-common/samples/core_options/example_default/libretro_core_options.h create mode 100644 deps/libretro-common/samples/core_options/example_default/libretro_core_options_intl.h create mode 100644 deps/libretro-common/samples/core_options/example_hide_option/libretro_core_options.h create mode 100644 deps/libretro-common/samples/core_options/example_hide_option/libretro_core_options_intl.h create mode 100644 deps/libretro-common/samples/core_options/example_translation/libretro_core_options.h create mode 100644 deps/libretro-common/samples/core_options/example_translation/libretro_core_options_intl.h create mode 100644 deps/libretro-common/samples/core_options/example_translation/translation scripts/.github/workflows/crowdin_intl.yml create mode 100644 deps/libretro-common/samples/core_options/example_translation/translation scripts/.github/workflows/crowdin_prep.yml create mode 100644 deps/libretro-common/samples/core_options/example_translation/translation scripts/crowdin.yml create mode 100644 deps/libretro-common/samples/core_options/example_translation/translation scripts/instructions.txt create mode 100644 deps/libretro-common/samples/core_options/example_translation/translation scripts/intl/.gitignore create mode 100644 deps/libretro-common/samples/core_options/example_translation/translation scripts/intl/core_opt_translation.py create mode 100644 deps/libretro-common/samples/core_options/example_translation/translation scripts/intl/core_option_regex.py create mode 100644 deps/libretro-common/samples/core_options/example_translation/translation scripts/intl/crowdin_intl.py create mode 100644 deps/libretro-common/samples/core_options/example_translation/translation scripts/intl/crowdin_prep.py create mode 100644 deps/libretro-common/samples/core_options/example_translation/translation scripts/intl/v1_to_v2_converter.py create mode 100644 deps/libretro-common/samples/file/config_file/Makefile create mode 100644 deps/libretro-common/samples/file/config_file/config_file_test.c create mode 100644 deps/libretro-common/samples/file/nbio/Makefile create mode 100644 deps/libretro-common/samples/file/nbio/nbio_test.c create mode 100644 deps/libretro-common/samples/formats/png/Makefile create mode 100644 deps/libretro-common/samples/formats/png/rpng_test.c create mode 100644 deps/libretro-common/samples/formats/xml/Makefile create mode 100644 deps/libretro-common/samples/formats/xml/rxml_test.c create mode 100644 deps/libretro-common/samples/net/Makefile create mode 100644 deps/libretro-common/samples/net/http_test create mode 100644 deps/libretro-common/samples/net/net_http_parse_test.c create mode 100644 deps/libretro-common/samples/net/net_http_test.c create mode 100644 deps/libretro-common/samples/net/net_ifinfo create mode 100644 deps/libretro-common/samples/net/net_ifinfo_test.c create mode 100644 deps/libretro-common/samples/net/udp-test.c create mode 100644 deps/libretro-common/samples/streams/rzip/Makefile create mode 100644 deps/libretro-common/samples/streams/rzip/rzip.c create mode 100644 deps/libretro-common/samples/utils/Makefile create mode 100644 deps/libretro-common/samples/utils/crc32.c create mode 100644 deps/libretro-common/samples/utils/md5_test.c create mode 100644 deps/libretro-common/samples/utils/sha1_main.c create mode 100644 deps/libretro-common/streams/chd_stream.c create mode 100644 deps/libretro-common/streams/file_stream.c create mode 100644 deps/libretro-common/streams/file_stream_transforms.c create mode 100644 deps/libretro-common/streams/interface_stream.c create mode 100644 deps/libretro-common/streams/memory_stream.c create mode 100644 deps/libretro-common/streams/network_stream.c create mode 100644 deps/libretro-common/streams/rzip_stream.c create mode 100644 deps/libretro-common/streams/stdin_stream.c create mode 100644 deps/libretro-common/streams/trans_stream.c create mode 100644 deps/libretro-common/streams/trans_stream_pipe.c create mode 100644 deps/libretro-common/streams/trans_stream_zlib.c create mode 100644 deps/libretro-common/string/stdstring.c create mode 100644 deps/libretro-common/test/hash/test_hash.c create mode 100644 deps/libretro-common/test/lists/test_linked_list.c create mode 100644 deps/libretro-common/test/queues/test_generic_queue.c create mode 100644 deps/libretro-common/test/string/test_stdstring.c create mode 100644 deps/libretro-common/test/utils/test_utils.c create mode 100644 deps/libretro-common/time/rtime.c create mode 100644 deps/libretro-common/utils/debugbreak/debugbreak.c create mode 100644 deps/libretro-common/utils/djb2.c create mode 100644 deps/libretro-common/utils/md5.c create mode 100644 deps/libretro-common/utils/sha1.c create mode 100644 deps/libretro-common/vfs/vfs_implementation.c create mode 100644 deps/libretro-common/vfs/vfs_implementation_cdrom.c create mode 100644 deps/libretro-common/vfs/vfs_implementation_uwp.cpp create mode 100644 deps/libretro-common/vulkan/vulkan_symbol_wrapper.c diff --git a/deps/libretro-common/.gitignore b/deps/libretro-common/.gitignore new file mode 100644 index 00000000..4e88cc39 --- /dev/null +++ b/deps/libretro-common/.gitignore @@ -0,0 +1,6 @@ +glsm/ +*.[od] +*.dll +*.so +*.dylib +*.exe diff --git a/deps/libretro-common/.gitrepo b/deps/libretro-common/.gitrepo new file mode 100644 index 00000000..a853644f --- /dev/null +++ b/deps/libretro-common/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://github.com/libretro/libretro-common.git + branch = master + commit = 86d5e4128c072255c123d535cae97789023ee54b + parent = 95bc7ce4ee8d7d3c9de934d61d3200ec4d99390d + method = merge + cmdver = 0.4.3 diff --git a/deps/libretro-common/Makefile.test b/deps/libretro-common/Makefile.test new file mode 100644 index 00000000..4e1deede --- /dev/null +++ b/deps/libretro-common/Makefile.test @@ -0,0 +1,58 @@ + +OBJDIR = ../obj-unix + +TEST_UNIT_CFLAGS = $(CFLAGS) -Iinclude $(LDFLAGS) -lcheck $(LIBCHECK_CFLAGS) -Werror -Wdeclaration-after-statement -fsanitize=address -fsanitize=undefined -ftest-coverage -fprofile-arcs -ggdb + +TEST_GENERIC_QUEUE = test/queues/test_generic_queue +TEST_GENERIC_QUEUE_SRC = test/queues/test_generic_queue.c queues/generic_queue.c + +TEST_LINKED_LIST = test/lists/test_linked_list +TEST_LINKED_LIST_SRC = test/lists/test_linked_list.c lists/linked_list.c + +TEST_STDSTRING = test/string/test_stdstring +TEST_STDSTRING_SRC = test/string/test_stdstring.c string/stdstring.c encodings/encoding_utf.c \ + compat/compat_strl.c + +TEST_UTILS = test/utils/test_utils +TEST_UTILS_SRC = test/utils/test_utils.c utils/md5.c encodings/encoding_crc32.c \ + streams/file_stream.c vfs/vfs_implementation.c file/file_path.c \ + compat/compat_strl.c time/rtime.c string/stdstring.c encodings/encoding_utf.c + +TEST_HASH = test/hash/test_hash +TEST_HASH_SRC = test/hash/test_hash.c hash/lrc_hash.c \ + streams/file_stream.c vfs/vfs_implementation.c file/file_path.c \ + compat/compat_strl.c time/rtime.c string/stdstring.c encodings/encoding_utf.c + +all: + # Build and execute tests in order, to avoid coverage file collision + # string + $(CC) $(TEST_UNIT_CFLAGS) $(TEST_STDSTRING_SRC) -o $(TEST_STDSTRING) + $(TEST_STDSTRING) + lcov -c -d . -o `dirname $(TEST_STDSTRING)`/coverage.info + # utils + $(CC) $(TEST_UNIT_CFLAGS) $(TEST_UTILS_SRC) -o $(TEST_UTILS) + $(TEST_UTILS) + lcov -c -d . -o `dirname $(TEST_UTILS)`/coverage.info + # utils + $(CC) $(TEST_UNIT_CFLAGS) $(TEST_HASH_SRC) -o $(TEST_HASH) + $(TEST_HASH) + lcov -c -d . -o `dirname $(TEST_HASH)`/coverage.info + # list + $(CC) $(TEST_UNIT_CFLAGS) $(TEST_LINKED_LIST_SRC) -o $(TEST_LINKED_LIST) + $(TEST_LINKED_LIST) + lcov -c -d . -o `dirname $(TEST_LINKED_LIST)`/coverage.info + # queue + $(CC) $(TEST_UNIT_CFLAGS) $(TEST_GENERIC_QUEUE_SRC) -o $(TEST_GENERIC_QUEUE) + $(TEST_GENERIC_QUEUE) + lcov -c -d . -o `dirname $(TEST_GENERIC_QUEUE)`/coverage.info + + lcov -o test/coverage.info \ + -a test/utils/coverage.info \ + -a test/string/coverage.info \ + -a test/lists/coverage.info \ + -a test/queues/coverage.info + genhtml -o test/coverage/ test/coverage.info + +clean: + rm -f *.gcda *.gcno + diff --git a/deps/libretro-common/audio/audio_mix.c b/deps/libretro-common/audio/audio_mix.c new file mode 100644 index 00000000..eb138edd --- /dev/null +++ b/deps/libretro-common/audio/audio_mix.c @@ -0,0 +1,377 @@ +/* Copyright (C) 2010-2020 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (audio_mix.c). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +#include +#include +#include + +#include + +#if defined(__SSE2__) +#include +#elif defined(__ALTIVEC__) +#include +#endif + +#include +#include