Commit Graph

2378 Commits

Author SHA1 Message Date
Zoran Vuckovic 8d99044fb4 Document MIDI interface 2018-06-18 21:26:10 +02:00
Twinaphex 49f3dacde5
Merge pull request #6892 from casdevel/midi
Add MIDI support
2018-06-17 23:07:26 +02:00
twinaphex 76db13fda4 Merge commit '950525a37032877e080ee0f4455c0c4cda550d45' 2018-06-17 20:11:37 +02:00
twinaphex fa1ec0780b Merge commit '3997b59cd652c7852f866aa11c25693fab6bbcda' 2018-06-17 20:04:50 +02:00
Zoran Vuckovic b487c3cace Add MIDI support 2018-06-16 21:17:32 +02:00
bparker06 ab9e00219d
Add null pointer check 2018-06-11 20:28:36 -04:00
twinaphex a3a047b8ec Fix Coverity warning 2018-05-29 22:01:05 +02:00
twinaphex 23b0444afe Update libretro-common 2018-05-28 17:30:56 +02:00
twinaphex 04a4578435 Merge commit '75aea8225637bb47e44543ed624f5861cb27c204' 2018-05-12 18:07:47 +02:00
twinaphex dd7ac99f27 Merge commit '6ff58826d8725e4e8788c22706de8b25cc89a4c2' 2018-05-12 18:05:31 +02:00
twinaphex 9d5472cecf Merge commit '37aad93a58efba6c340e13aa1d83ddf2df762b3d' 2018-05-12 18:03:49 +02:00
twinaphex 768ebbfdb5 Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common' 2018-05-12 17:56:34 +02:00
twinaphex 0548349991 Remove libretro-common 2018-05-12 17:56:14 +02:00
twinaphex 46f7742afc Some early WinRT commits 2018-05-09 16:13:29 +02:00
twinaphex 3c73183a04 Cleanups - fix warnings 2018-05-07 15:05:59 +02:00
twinaphex fd76c3b8b1 Change back to previous behavior 2018-05-07 01:29:21 +02:00
twinaphex e18f81eb74 Update libretro-common 2018-05-06 17:11:18 +02:00
twinaphex dd8a2df253 Cleanup 2018-05-03 19:17:13 +02:00
Brad Parker 05404f9104 fix buffer overflow in url encoding (affecting msvc2010/2013) 2018-05-03 12:57:23 -04:00
twinaphex 7bc66ae710 Buildfixes for MSVC 2015 2018-05-03 15:20:06 +02:00
twinaphex 5aeab54ab7 (Audio mixer) Ability to individually set volume per stream 2018-04-30 17:51:01 +02:00
twinaphex 64f31f1ddd Update libretro-common 2018-04-28 13:52:54 +02:00
twinaphex faa99bd323 Start adding FLAC hooks 2018-04-27 23:45:06 +02:00
twinaphex 1f2ef858ab Update libretro-common 2018-04-27 23:12:24 +02:00
twinaphex 7b1ad55b20 Try to use snprintf instead of sprintf 2018-04-25 11:31:50 +02:00
twinaphex 2178f7b8ce Update libretro-common 2018-04-25 10:21:26 +02:00
twinaphex de111ea903 Should fix some zip archives potentially not working on Linux; the
stream member of zlib was being set to random memory, so it was
attempted
 to be freed on line 73 of trans_stream_zlib.c
2018-04-25 10:10:22 +02:00
Twinaphex b41c4ed624 Update 2018-04-23 10:22:54 +02:00
twinaphex 997c24ae0c Make FLAC, zlib and LZMA support in libchdr optional 2018-04-22 20:19:07 +02:00
twinaphex fc169cf4fe Split up libchdr_chd.c into several files 2018-04-22 19:50:14 +02:00
twinaphex 8e2dfa6184 Cleanups 2018-04-22 19:19:27 +02:00
twinaphex 8a1f2f5cf2 Update libretro-common 2018-04-22 18:36:30 +02:00
twinaphex 7bef8746a3 Add chd_precache code to libchdr 2018-04-22 18:04:45 +02:00
twinaphex 1fd2cf1ff5 Update libchdr chd 2018-04-22 17:43:57 +02:00
twinaphex db314ff82f Uniquely namespace libchdr source files 2018-04-22 12:10:15 +02:00
twinaphex 710570a408 (MSVC 2013) Buildfix 2018-04-17 11:37:00 +02:00
twinaphex 88d62c7766 Update 2018-04-21 06:31:07 +02:00
twinaphex e5d90eebd7 Updates to libretro-common 2018-04-21 06:29:56 +02:00
twinaphex d8fd499f3d Update count 2018-04-19 23:41:15 +02:00
twinaphex 4d64a94cb2 Updates 2018-04-19 22:28:17 +02:00
twinaphex 835e491c62 Use int64_t type for feeding to filestream_read 2018-04-19 22:26:40 +02:00
twinaphex 74d4bc80d9 (libretro-common) Updates 2018-04-19 09:43:21 +02:00
twinaphex 1c66905f0d Updates 2018-04-19 08:01:07 +02:00
twinaphex 4914c164fa Update file_stream_transforms 2018-04-19 07:56:57 +02:00
twinaphex be7eb4de1c Update libretro-common 2018-04-16 08:57:17 +02:00
twinaphex 7a4c468730 Update libretro-common 2018-04-16 08:34:34 +02:00
twinaphex bb05af0d92 (libchdr) Prevent memory leak 2018-04-15 18:39:42 +02:00
David Walters adf4ed960e Handle null and empty string calls to retro_opendir with a consistent null return. 2018-04-13 10:31:21 +01:00
twinaphex dc61e23a21 Update libretro-common 2018-04-13 01:10:10 +02:00
Twinaphex bd2b913bc6 Silence more warnings 2018-04-13 00:52:52 +02:00
twinaphex 041670fe02 Get rid of multitude of casting warnings 2018-04-13 00:47:42 +02:00
twinaphex 1751f4a0af Make it possible to read bigger files by replacing ssize_t with int64_t
and size_t with uint64_t
2018-04-13 00:18:11 +02:00
twinaphex e7bed050bc Fix memory leak 2018-04-12 20:54:06 +02:00
David Walters 801ecb019a patch retro_opendir to handle nullptr and empty-string input 2018-04-12 12:44:42 +01:00
Twinaphex ad671a153a
Merge pull request #6496 from i30817/fix-scan-dot-in-directories
fix scanner skipping directories with dots
2018-04-11 04:08:12 +02:00
Twinaphex 08a54e45f2 Get rid of a lot of implicit conversions 2018-04-09 15:56:45 +02:00
Twinaphex 91ba0765e6 (libchdr) Silnces xcode warning 2018-04-09 05:58:32 +02:00
twinaphex d0b735735c Update libretro-common 2018-04-08 23:23:01 +02:00
twinaphex a82bb0ec94 Create special type input_bits_t 2018-04-08 20:21:12 +02:00
radius 0ed9f05571 remap-redux part2:
- remapping analogs to buttons works 100%
- remapping analogs to other analogs still messed up for some reason
- need to reset input of the original axis in input_driver.c still
2018-04-08 12:13:49 -05:00
twinaphex 360bea85b9 (PS3) Silence more warnings 2018-04-08 01:09:31 +02:00
David Walters c8a9f5eded Compile fix for _vsnprintf_s, missing standard library header. 2018-04-03 18:33:48 +01:00
Dwedit 36d33deb30 Add message about load state expected to succeed. 2018-03-30 20:41:52 -05:00
Dwedit ec6d6e58d6 Fast Savestate and Hard Audio Disable flags 2018-03-30 20:35:52 -05:00
twinaphex cf4ab13281 Revert "Silence some Clang static analyzer warnings"
This reverts commit 2c882a01c1.
2018-03-30 19:28:37 +02:00
i30817 7e43db9cf1 fix scanner skipping directories with dots 2018-03-30 06:15:10 +01:00
Dwedit 77f2b7d326 Replace the file handling code from secondary_core.c with the file streams
Hide secondary instance menu item if dynamic libraries are not supported
Remove unlink_utf8 stuff
Fix a compiler warning
2018-03-29 09:37:35 -05:00
twinaphex ca7c374303 Fix OSX compilation 2018-03-29 15:41:02 +02:00
twinaphex 1b0420807b (Griffin/MSVC) buildfixes 2018-03-29 15:15:47 +02:00
Twinaphex eeb2a0a934
Merge pull request #6484 from Dwedit/runahead_submission
Runahead system
2018-03-29 14:46:04 +02:00
twinaphex 2c882a01c1 Silence some Clang static analyzer warnings 2018-03-29 14:11:52 +02:00
Dwedit f5e0346fc2 Runahead system 2018-03-28 14:22:07 -05:00
twinaphex e71f56d4a3 Update libretro-common 2018-03-28 16:45:05 +02:00
twinaphex 89e912087b Put RARCH_INTERNAL ifdef around this 2018-03-28 16:41:37 +02:00
twinaphex 167b977c4d Fix some build errors with MSVC 2003/2005 cores 2018-03-28 16:22:35 +02:00
aliaspider 3d96cacd71 add experimental D3D11 hwrender support. 2018-03-25 23:14:14 +01:00
twinaphex 70f598c619 Use boolean.h instead of stdbool.h 2018-03-24 11:41:17 +01:00
Twinaphex 473d978d78
Merge pull request #6444 from Dwedit/original_suggestion
Functions to suspend and resume audio and video, and environment function for core to query status of enabled/disabled audio and video
2018-03-24 09:54:47 +01:00
Dwedit fbd4900031 Add documentation for RETRO_ENVIRONMENT_GET_AUDIO_VIDEO_ENABLE to the header file 2018-03-23 16:33:51 -05:00
Dwedit 7deeb6d2fa Functions to enable and disable audio and video, and an environment function to query status of audio and video enables 2018-03-23 14:12:05 -05:00
twinaphex 85d3be1245 Update libretro-common 2018-03-23 11:17:56 +01:00
twinaphex f597fd7a11 Add HAVE_CHEEVOS support for MSVC 2010 2018-03-22 20:42:06 +01:00
twinaphex c318d05803 Fix buffer overlap - pointed out by @leo150, thanks 2018-03-22 15:22:17 +01:00
radius c52fdc469f remove task_push_http_transfer_raw, encode before sending data to the task 2018-03-16 22:38:21 -05:00
radius b01e63e2cd make sure to always encode urls, also change the PS3 default urls 2018-03-14 23:04:50 -05:00
twinaphex 6bf34c36ed Update net_http_test 2018-03-15 00:38:30 +01:00
twinaphex 9cac3175c3 Buildfix 2018-03-15 00:31:29 +01:00
twinaphex 32b2808fe0 Revert "Turn scaler_ctx_scale_direct into inline function"
This reverts commit d51edd8239.
2018-03-14 23:48:47 +01:00
twinaphex e5eeed688e Add some stuff to net sample Makefile 2018-03-14 23:48:29 +01:00
twinaphex d51edd8239 Turn scaler_ctx_scale_direct into inline function 2018-03-11 18:14:17 +01:00
twinaphex d6eda2502d Improve scaler_ctx_scale_direct macro 2018-03-11 17:46:39 +01:00
meleu d5503e9e7c fix a bad in_addr manipulation on VITA - fixes #6127 (#6366)
added VITA condition
2018-03-07 22:11:30 +01:00
misson20000 dd53be15ae let scalers output in ABGR8888 2018-03-06 19:52:03 -08:00
misson20000 22c95b31ea NSW: cpu_features_get_time_usec: put SWITCH block before POSIX_MONOTONIC_CLOCK block 2018-03-05 20:23:49 -08:00
twinaphex df7f47d00a Create string_is_equal_case_insensitive 2018-03-01 23:16:34 +01:00
twinaphex b3d3cbd4e1 sthread_isself - make Win32 codepath use GetCurrentThreadId instead 2018-02-28 16:18:48 +01:00
twinaphex 175672dedc Fix ifdef 2018-02-17 20:02:18 +01:00
twinaphex 064ea5368e (Xbox 1) Add SSE/MMX 2018-02-17 19:59:26 +01:00
twinaphex 7acd4b1847 (Windows) Buildfixes - use fseek for MSVC 2003 and earlier 2018-02-17 19:11:49 +01:00
twinaphex 0de6af43bb Set cache_context to false by default 2018-02-17 15:18:28 +01:00
twinaphex 242eef6a6d Prevent problems with empty strings in the future 2018-02-17 11:41:25 +01:00
twinaphex bda5e67b48 (PS3) Use fseek for PS3 - fseeko not available 2018-02-15 06:50:15 +01:00
Brad Parker 95bb7f5aa5 use 64-bit file offsets/seeking on windows 2018-02-14 06:16:12 +00:00
radius 692c8683b2 subsystem part 2: add missing define, fix typo 2018-02-12 02:39:24 -05:00
twinaphex 8b1f8b8ae2 (Utils) fix builds 2018-02-10 23:20:34 +01:00
Brad Parker a8af4ee8c6 use 64-bit ftell on mingw also 2018-02-10 13:19:24 -05:00
Brad Parker 40e9416c6c use 64-bit ftell on Windows where available 2018-02-09 13:33:03 -05:00
Brad Parker aaf35f53f8 fill_pathname_parent_dir_name: return failure if path has no slash 2018-02-08 23:19:12 -05:00
aliaspider 45580cb9a8 add basic support for arabic. 2018-02-05 20:54:55 +01:00
aliaspider 5549b136c2 (msvc) CXX_BUILD + griffin fixes. 2018-02-05 00:25:03 +01:00
Twinaphex 5483f5fc39
Merge pull request #6234 from aliaspider/master
various fixes for CXX_BUILD.
2018-02-04 20:08:43 +01:00
aliaspider 700fce3bd2 various fixes for CXX_BUILD. 2018-02-04 20:03:27 +01:00
twinaphex 3d0e768e71 Silence some Coverity errors 2018-02-04 19:30:34 +01:00
twinaphex 75b48a866f (3DS) Fix compilation error 2018-02-02 21:44:24 +01:00
twinaphex acdbf6f069 Cleanup retro_dirent.c 2018-02-02 19:09:25 +01:00
Brad Parker dbe270476a Prevent undefined behavior reported by UBSan
runtime error: member access within null pointer of type 'const struct dirent'
2018-02-02 11:43:24 -05:00
twinaphex 8d99fd7ce0 Cleanup string manipulation 2018-02-01 11:16:13 +01:00
twinaphex e81ee5f0cb Simplifications 2018-01-31 23:13:47 +01:00
twinaphex f9a412dc11 Create fill_pathname_join_concat_noext and use it 2018-01-31 22:43:55 +01:00
twinaphex efcbb7627c (libco) Add aarch64 backend 2018-01-31 09:17:37 +01:00
twinaphex b1732efd03 (libco) Small style nit 2018-01-31 09:15:19 +01:00
Alcaro 9889f34180 Fix this issue https://forums.libretro.com/t/issue-linking-libco/14482 2018-01-31 00:39:27 +01:00
Brad Parker a7f134b5a7 forgot to free memory 2018-01-28 15:56:35 -05:00
Brad Parker 722137296d add fill_pathname_parent_dir_name function 2018-01-28 15:55:27 -05:00
twinaphex ba0986ae20 Enable this for newer versions of MSVC 2018-01-24 10:02:07 +01:00
twinaphex f10b60f14f Don't use NEON codepaths for iOS - ever since arm64 this has become
problematic
2018-01-24 07:40:09 +01:00
twinaphex 634da308aa Cleanups 2018-01-24 05:40:53 +01:00
aliaspider c5de5d9433 (msvc) support msvc's Predefined Macros in features_cpu.c
- add missing defines to makefile.msvc.
2018-01-23 19:35:39 +01:00
aliaspider 96e96b9dfd (msvc) use stdbool.h for VS 2013 and later. 2018-01-23 17:50:46 +01:00
twinaphex d5ec046c63 Use calloc 2018-01-23 03:43:38 +01:00
twinaphex 6a47669d21 Prevent some heap corruptions/exceptions 2018-01-23 03:41:25 +01:00
twinaphex 93561a042b Cleanups 2018-01-23 03:35:23 +01:00
twinaphex f680f00098 Indent nit 2018-01-23 03:31:28 +01:00
twinaphex 625ddc5e52 Prevent some null pointer dereferences 2018-01-23 03:30:55 +01:00
twinaphex 27f34bf420 Some stability fixes 2018-01-23 03:23:49 +01:00
twinaphex a80fb7c969 Add some safeguards here 2018-01-22 21:48:28 +01:00
twinaphex 6208981ad3 filestream_getline - be safer 2018-01-22 21:32:36 +01:00
aliaspider 5db96f35fa (WIN32) various build fixes. 2018-01-20 20:05:32 +01:00
kwyxz b9585df325 Update Haiku port to allow it to build again 2018-01-20 00:19:01 -08:00
twinaphex 1f8e0fdfe5 Revert "Update filestream_getline to prevent heap corruption"
This reverts commit 60a45db69e.
2018-01-19 02:49:24 +01:00
twinaphex 60a45db69e Update filestream_getline to prevent heap corruption 2018-01-19 02:44:18 +01:00
twinaphex 79b434719f Update 2018-01-18 23:23:22 +01:00
Twinaphex 318843a71d
Update ctr_pthread.h 2018-01-18 21:12:07 +01:00
meepingsnesroms da5ce6ef35 Fix writing to local thread pointer instead of actual thread. 2018-01-18 10:35:58 -08:00
meepingsnesroms 5e42401fdb Add 3DS threads 2018-01-17 14:00:57 -08:00
twinaphex bd73d4b98a Cleanups 2018-01-17 06:44:16 +01:00
twinaphex 11f26ed549 Refactor verbosity code - try to avoid log calls if verbosity is not
set
2018-01-17 06:28:26 +01:00
twinaphex df1979be12 Define string_is_not_equal 2018-01-17 01:06:09 +01:00
Twinaphex 57df01bbaa (Apple) Buildfix 2018-01-17 00:48:25 +01:00
twinaphex 61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00