Commit Graph

1458 Commits

Author SHA1 Message Date
Sven 5f35249216 Implement robust cheat searching interface with rumble features 2018-07-25 19:19:14 -04:00
twinaphex d6c5c7f208 Pre-MSVC 2013 did not support PRIu32, add workaround 2018-07-14 05:29:17 +02:00
twinaphex 5ba2a621c0 Silence warnings 2018-07-14 00:45:16 +02:00
Sven 83da70586e implement a way to set rewind_buffer_size via the UI 2018-07-13 16:12:09 -04:00
twinaphex 0230c2f4d8 Merge commit 'a078d40b80103ba083ad04eab625084279e930b3' 2018-06-25 23:55:41 +02:00
twinaphex a078d40b80 Squashed 'libretro-common/' changes from edffe4d147..1548bee835
1548bee835 Update glsm
df7c8aebea Update glsm

git-subtree-dir: libretro-common
git-subtree-split: 1548bee835ab5fa2d120a4859ff653a5f128de1f
2018-06-25 23:55:40 +02:00
twinaphex e8b0d6974d Merge commit '48cb38619ff8bbc5ff3c0df93704b3297047a8fe' 2018-06-22 15:00:02 +02:00
Twinaphex 467aa30131 Cleanups 2018-06-21 07:26:05 +02:00
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
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 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 e18f81eb74 Update libretro-common 2018-05-06 17:11:18 +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 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 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 4d64a94cb2 Updates 2018-04-19 22:28:17 +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
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 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 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
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
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
Dwedit f5e0346fc2 Runahead system 2018-03-28 14:22:07 -05: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 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
radius c52fdc469f remove task_push_http_transfer_raw, encode before sending data to the task 2018-03-16 22:38:21 -05: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 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
twinaphex df7f47d00a Create string_is_equal_case_insensitive 2018-03-01 23:16:34 +01:00
radius 692c8683b2 subsystem part 2: add missing define, fix typo 2018-02-12 02:39:24 -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
twinaphex 8d99fd7ce0 Cleanup string manipulation 2018-02-01 11:16:13 +01:00
twinaphex f9a412dc11 Create fill_pathname_join_concat_noext and use it 2018-01-31 22:43:55 +01:00
Brad Parker 722137296d add fill_pathname_parent_dir_name function 2018-01-28 15:55:27 -05:00
aliaspider 96e96b9dfd (msvc) use stdbool.h for VS 2013 and later. 2018-01-23 17:50:46 +01:00
aliaspider 5db96f35fa (WIN32) various build fixes. 2018-01-20 20:05:32 +01:00
twinaphex df1979be12 Define string_is_not_equal 2018-01-17 01:06:09 +01:00
Twinaphex 5d64adf1a6
Merge pull request #6119 from garbear/libretro-api
Add missing {, |, } and ~ to the libretro API
2018-01-16 01:37:02 +01:00
Garrett Brown 39742e24db Add missing {, |, } and ~ to the libretro API
Missing keys are found in TyrQuake's source:

https://github.com/libretro/tyrquake/blob/be5aede91/common/keys.h#L111-L114
2018-01-14 13:58:11 -08:00
Rob Loach 26b9cb3c78
libretro-common: Clean up dependencies of file_path
This moves a few functions that were defined in file_path_special to libretro-common to clean up the dependency tree.
2018-01-13 00:27:49 -05:00
radius 3b334b60d6 add display name and config name to autoconf 2018-01-11 17:06:14 -05:00
orbea eeb6230ebd libchdr: Trivial cleanup 2018-01-05 16:08:29 -08:00
twinaphex bc53b9e1b6 Update libretro-common 2018-01-05 23:32:25 +01:00
twinaphex 24a78a28c2 Update 2018-01-03 17:28:41 +01:00
twinaphex dbd2faf69a fabsf not defined for MSVC 2003 2018-01-03 14:48:53 +01:00
twinaphex f611d1c357 * Compile C code with MSVC Makefile as C instead of C++
* Add compatibility tweak for MSVC in C mode for math functions
2018-01-01 17:38:04 +01:00
Twinaphex 80f946e0a6
Merge pull request #6022 from bparker06/taskbar_progress
win32: Show progress meter on taskbar for downloads (Windows 7 and up)
2018-01-01 08:13:39 +01:00
Brad Parker e62e0c83da win32: Show progress meter on taskbar for downloads (Windows 7 and up) 2018-01-01 02:08:09 -05:00
twinaphex f2ddc8eff0 Revert "Simplify config_file_write"
This reverts commit a4500eeafc.
2018-01-01 07:45:56 +01:00
twinaphex b9248cf3af Start preparing runtime toggleable resampler quality settings 2017-12-31 20:55:26 +01:00
twinaphex 0dd2f075fe Refactor sinc resampler so that we can set resampler quality
at runtime
2017-12-31 20:40:04 +01:00
Alcaro 9ab6957dc4 Fix #6009 v2.0 2017-12-31 14:32:14 +01:00
Alcaro 93f0679ead Fix #6009 2017-12-31 13:20:05 +01:00
misson20000 6d2a7b1f26 Nintendo Switch (libtransistor) port 2017-12-29 00:10:01 +01:00
Ian House 78c49047a5 Changed the retro environment LED interface to 46 to avoid a numbering conflict 2017-12-27 11:18:49 -05:00
Ian House 8178e21cda Merge branch 'master' of https://github.com/libretro/RetroArch into leds 2017-12-27 11:14:35 -05:00
Ian House aa7c289708 Added an LED interface and a Raspberry Pi GPIO implementation 2017-12-27 11:11:08 -05:00
twinaphex 2e1e2cb406 Update 2017-12-24 18:53:03 +01:00
twinaphex a4500eeafc Simplify config_file_write 2017-12-20 17:07:31 +01:00
twinaphex 259b077eef (PS3) Set PATH_MAX_LENGTH to CELL_FS_MAX_FS_PATH_LENGTH 2017-12-20 15:45:11 +01:00
twinaphex 7cda1aaab9 Set PATH_MAX_LENGTH to 512 for PS3 2017-12-20 15:39:01 +01:00
Twinaphex 5eb6c5dae9
Merge pull request #5936 from clienthax/ps3res
More ps3 networking fixs.
2017-12-19 23:02:14 +01:00
clienthax 73aa381b27 More ps3 networking fixs. 2017-12-19 21:39:22 +00:00
David Walters adffa5fc4c Fixes for overlay buttons 2017-12-17 12:36:18 +00:00
twinaphex 9596cc2866 Update 2017-12-16 17:06:37 +01:00
twinaphex 6622cb0810 Update libretro API 2017-12-16 14:12:38 +01:00
twinaphex 1b6b670882 filestream - use int64_t 2017-12-15 21:10:58 +01:00
Alcaro cbdb91a668 Remove file_ prefixes, for consistency with the rest of libretro. They're not useful, anything they'd mean is provided by the vfs_iface-> anyways. Also rename delete to remove to match libc and avoid C++ keywords. 2017-12-15 17:28:55 +01:00
Alcaro 03723118e5 Some minor clarifications 2017-12-15 10:02:49 +01:00
twinaphex 1932513edb Update libretro-common 2017-12-15 00:31:37 +01:00
Alcaro ecf5d55a25 Rename this one, to not codify policy in what should be a frontend decision 2017-12-14 21:21:18 +01:00
twinaphex c7c4b723d6 Move path_file_exists to filestream and do away with filestream
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
Brad Parker 8c0adf3594 move path_file_rename and path_file_remove into VFS 2017-12-14 13:32:26 -05:00
Alcaro d5847c2391 Revert and fix "Don't use opaque handle to get around warnings and other issues"
This reverts commit e23409926e.
2017-12-14 17:28:13 +01:00
twinaphex e23409926e Don't use opaque handle to get around warnings and other issues 2017-12-14 15:06:28 +01:00
twinaphex 0b6c191354 Start moving file stream code over to vfs_implementation.c 2017-12-14 14:03:42 +01:00
twinaphex 7788a852c0 Some more cleanups 2017-12-14 00:16:18 +01:00
gblues 0f7de204f7 Last batch of whitespace cleanup (post-rebase)
-- looks like a few files committed with DOS line endings
2017-12-12 00:24:46 -08:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex 57b730ab61 Start implementing VFS layer ; first split up VFS libretro functionality
to separate header until things are finalized
2017-12-11 21:24:14 +01:00
twinaphex c03b791b46 Start adding stub VFS implementation 2017-12-11 20:51:46 +01:00
twinaphex ad70bb9866 Get rid of unused filestream_get_ext 2017-12-11 17:42:00 +01:00
twinaphex 43c9bb374d filestream_set_size can be made a static function 2017-12-11 17:39:56 +01:00
twinaphex 32511090ca (task_save.c) Move to intfstream 2017-12-11 14:56:58 +01:00
twinaphex e62e9233d7 Add intfstream_get_size 2017-12-11 13:21:44 +01:00
twinaphex 61d3f90cae Add hint defines to libretro.h 2017-12-11 12:53:47 +01:00
twinaphex 38e6d2443f Change functions 2017-12-11 12:31:14 +01:00
twinaphex 8aa4d6d148 Move convenience functions to interface_stream.c 2017-12-11 12:23:40 +01:00
twinaphex 318f17c4cb Start using VFS API constant defines 2017-12-11 12:15:00 +01:00
twinaphex 93ee4df5f5 Move RFILE_HINT_UNBUFFERED to file_stream.c 2017-12-11 11:47:13 +01:00
twinaphex e1461cc0de Get rid of hashes in config_file.c 2017-12-11 11:40:36 +01:00
twinaphex 2fd8210e59 Create shareable filestream_getline 2017-12-10 22:35:08 +01:00
twinaphex 2e979ec537 Replace function signatures of file_stream file functions 2017-12-10 22:25:38 +01:00
twinaphex a8e031777e * Get rid of RFILE_MODE_READ_TEXT
* Get rid of PSP ifdef sinside file_stream.c
2017-12-10 22:05:24 +01:00
twinaphex 69295c2179 Fix BIT_GET 2017-12-05 16:20:52 +01:00
twinaphex b432fb4668 Bugfix 2017-12-05 13:21:29 +01:00
twinaphex 53efad05c6 Cleanups 2017-12-05 13:15:15 +01:00
Alcaro 332aee5b0f
Dehardcode some sizes (#5856) 2017-12-05 13:03:34 +01:00
twinaphex 53ce29ca31 Cleanups 2017-12-05 12:49:59 +01:00
twinaphex 6c09661a64 Move defines to retro_miscellaneous.h 2017-12-05 10:42:37 +01:00
twinaphex 31cc6a8dd7 Create 256 bit macros 2017-12-05 09:51:58 +01:00
Alcaro 0691c9e0d3
Let's not duplicate those macros more than needed 2017-12-05 08:55:42 +01:00
twinaphex 3ccce249ea Fixes hotkey issues with MSVC 2017-12-05 08:50:24 +01:00
Alcaro 0215648a83
Make booleans boolean again
#5856

why do both BIT_ and BIT128_ exist
2017-12-05 08:34:29 +01:00
Alcaro 75c59aedcf
Update fopen_utf8.h 2017-12-04 20:23:45 +01:00
Alcaro 84691c7b9b
Update retro_miscellaneous.h 2017-12-04 19:15:35 +01:00
Alcaro 8df699984e
Update fopen_utf8.h 2017-12-04 16:34:56 +01:00
Alcaro d74ad6cd5e
Create fopen_utf8.h 2017-12-04 16:32:40 +01:00
Alcaro dca30d533f
Update file_stream.h 2017-12-04 14:31:11 +01:00
Alcaro 130e4522e2
Update file_stream.h 2017-12-04 13:51:25 +01:00
Alcaro 50148c03e2
not used anymore
4e66962ba8
2017-12-04 13:27:05 +01:00
Alcaro 26008ca580
#5802 2017-11-27 17:55:05 +01:00
Alcaro 9b99a48cdb
just remembered these PRIs don't start with % 2017-11-27 17:12:30 +01:00
Alcaro ab0e1611e7
fix #5497 close #5802
according to https://github.com/libretro/RetroArch/issues/5497#issuecomment-336640951, this header exists on everything we care about except various microsoft platforms, and all of them have constant printf strings
2017-11-27 16:57:15 +01:00
David Walters 6168db8aeb correct lightgun api comment 2017-11-26 17:20:41 +00:00
David Walters 218d7f88ff New lightgun API in libretro.h 2017-11-26 16:46:33 +00:00
twinaphex e78ec12973 Can't have redefinitions of nbio_t in Griffin 2017-11-25 18:33:22 +01:00
twinaphex 7a772b9cd4 Create nbio_intf.c 2017-11-25 05:35:55 +01:00
Alcaro b5722127c7 Fix docs 2017-11-25 00:26:13 +01:00
Alcaro 053fbd6f27 Add mmap-based nbio implementation (which is too fast for the tests but otherwise passes) 2017-11-24 22:08:57 +01:00
twinaphex 3bda00edaf (libretro-common) Add strldup to compat/strl 2017-11-23 17:51:55 +01:00
Twinaphex 13a0da1f25
Merge pull request #5697 from hiddenasbestos/analog_buttons
Analog buttons
2017-11-18 10:14:35 +01:00
David Walters 668cc01c5c Added RETRO_DEVICE_INDEX_ANALOG_BUTTON constant 2017-11-17 21:50:50 +00:00
Brad Parker 94aa2cd08a document setvbuf changes, only call it with bufsize >0 2017-11-17 16:12:36 -05:00
David Walters 066cbea3c3 Add constants for mouse buttons 4&5 2017-11-17 09:58:40 +00:00
twinaphex 13e0bd1932 Change function signature of file_path_rename 2017-11-06 19:17:42 +01:00
twinaphex e5d4e2ac0a Silence a lot of warnings 2017-11-06 19:13:54 +01:00
Brad Parker 68a8198e4a convert more file IO functions to use filestream, fixes encoding issues on Windows 2017-10-29 12:08:24 -04:00
Brad Parker 1b1d5c468d win32: use unicode functions for file IO if supported 2017-10-15 17:41:34 -04:00
Brad Parker a7c8cc88e5 win32: support local multibyte encoding for file paths 2017-10-14 23:13:24 -04:00
Alcaro dc4c2cd6d9 Wipe out a buncha warnings and pointless ifdefs (some warnings will remain until #5497 is fixed) 2017-10-03 00:26:29 +02:00
Alcaro b97853a536 Rename STRING_REP_ULONG to STRING_REP_USIZE 2017-10-02 22:51:51 +02:00
twinaphex 3564562563 database_info.c - use malloc 2017-09-29 05:01:00 +02:00
twinaphex cc8e897222 C89_BUILD fixes 2017-09-22 05:12:26 +02:00
twinaphex 6141761e63 Take out libchdr include from interface_stream.h 2017-09-22 04:47:58 +02:00
Twinaphex 4bbaa65361 Prevent redefinition of typedef; C11 only 2017-09-22 04:43:17 +02:00
twinaphex 46b79ccd78 Compilation fixes - headers need to be moved to separate include dir 2017-09-21 19:34:46 +02:00
Brian Koropoff 5b20c13f92 chd_stream: support PRIMARY special track 2017-09-18 09:00:39 -07:00
Twinaphex 6648ebed0d Silence some warnings 2017-09-18 11:56:59 +02:00
twinaphex e35eeb8a42 Cleanups 2017-09-17 19:06:58 +02:00
Brian Koropoff a5dc63b390 common: integrate chd into interface stream 2017-09-17 02:02:04 -07:00
Brian Koropoff 2c7b6a94e4 common: add chd_stream interface 2017-09-17 02:02:04 -07:00
twinaphex 587747e030 Update 2017-09-12 23:09:06 +02:00
twinaphex 3ef416d8ef Update libretro-common 2017-09-07 16:35:49 +02:00
Brad Parker ac949a14bf msvc2003 buildfixes 2017-09-07 02:02:43 -04:00
Brad Parker 6f572654a2 add va_copy for all MSVC below 2013 2017-09-06 23:05:31 -04:00
Brad Parker 0a1b3fedc0 VC6 support (targets NT 3.51) 2017-09-06 23:03:02 -04:00
twinaphex 47b4de7bbf Update 2017-09-06 23:17:00 +02:00
Brad Parker 8d525f711a msvc2003 buildfixes 2017-09-03 23:39:25 -04:00
Higor Eurípedes d40deb737d (file_list.c) Add file_list_reserve() 2017-09-03 14:58:01 -03:00
Higor Eurípedes 9a50f5f8b1 (file_list.c) Document file_list_free() behavior 2017-09-03 10:30:01 -03:00
twinaphex e979eece1c Updates 2017-08-08 18:45:56 +02:00
twinaphex c7615fdf00 Add RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT 2017-08-07 18:06:03 +02:00
Brad Parker 6b369775cf add unicode-aware option for word_wrap (only needed for xmb) 2017-08-06 03:33:13 -04:00
Romain Tisserand cbe2d9a941 Preliminary MOD/S3M/XM support through ibmx library (part of micromod repository) 2017-08-04 15:05:29 +02:00
twinaphex 252dc1b130 Updates 2017-07-28 09:24:35 +02:00
twinaphex e517e9b96a Add file_stream_transforms 2017-07-27 09:09:37 +02:00
Brad Parker 02381aabef add SSL/TLS support 2017-07-26 09:18:17 -04:00
twinaphex 70e85ad719 Buildfix 2017-07-23 07:45:57 +01:00
twinaphex 058dc172c7 Update 2017-07-20 04:37:19 +01:00
twinaphex 6bf26dc420 Update libretro-common 2017-07-20 04:36:38 +01:00
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 63d2e543af Don't try to redefine WIN32_LEAN_AND_MEAN if already defined 2017-06-28 06:44:17 +02:00
twinaphex 17d699c75b Cleanups 2017-06-28 06:26:56 +02:00
twinaphex ddb4867c52 (file_path.c) Cleanups 2017-06-28 04:51:58 +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 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 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
aliaspider 5a92ec15cf (WiiU) fix netplay. 2017-05-26 12:32:45 +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 b4f0ebca4d Cleanups 2017-05-20 17:55:26 +02:00
twinaphex 58787e6d89 (libretro-common) Create stdin_stream.c 2017-05-20 14:58:51 +02:00
twinaphex 3ae54e0eed Move send_udp_packet to libretro-common 2017-05-20 14:28:18 +02:00
twinaphex be22290495 Rename to inet_ntop_compat 2017-05-17 07:00:47 +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 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 e378b7053d Update 2017-05-13 17:55:29 +02:00
twinaphex 19db4f63a7 Take out filestream from audio_mixer.c 2017-05-13 07:53:42 +02:00
twinaphex 83b0d3e412 Update rwav.h 2017-05-09 02:46:32 +02:00
twinaphex 8e3d0612d2 Try to fix MSVC error 2017-05-08 21:12:55 +02:00
twinaphex fec24bd47b Cleanup rwav 2017-05-08 18:45:37 +02:00
twinaphex 0411aba219 (audio_mixer.c) Cleanups 2017-05-08 18:11:09 +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 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 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 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 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 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 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 c6887aa999 Update compat/zlib.h 2017-04-10 23:17:30 +02:00
BlueKore f6ebe7c6a9 Changed the language enums. Fixed the language references in the msg files. 2017-04-07 19:15:44 +01: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
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 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 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 216e7bcdaf Silence more warnings on iOS 2017-02-26 21:46:19 +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 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 ed3d75738c Simplify audio conversion code 2017-01-31 07:33:58 +01:00
twinaphex fda9b01ab3 Buildfixes 2017-01-31 03:54:50 +01:00
Brad Parker 18f78613ae Merge branch 'wav_loader' 2017-01-27 11:13:28 -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 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 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 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
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 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
Josh Palmer 453d823d2a Fix jsonsax compilation on QNX, 'index' appears to be a reserved symbol 2017-01-09 20:26:09 +00: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 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
twinaphex faf939856b Rewrite task_queue.c - get rid of messy internal Rarch code 2017-01-03 18:27:09 +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 c81d54bd46 (libretro-common) Cleanups 2016-12-20 00:39:45 +01:00
Gregor Richards 900e5a79ec Use nonblocking sockets for Netplay to avoid some stalls. 2016-12-18 19:28:38 -05:00
twinaphex d4796caabd (libetro-common) Turn path_contains_compressed_file into a macro 2016-12-17 14:01:25 +01:00
twinaphex c739ca016c Add net_http_parse 2016-12-17 00:46:23 +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 b65e16d39d Added support for loading 8 and 16 bps, mono/stereo, uncompressed PCM wave files 2016-12-12 23:23:36 +00: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
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 d20acaa63d more unicode fixes 2016-12-02 23:00:27 -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
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 bb499b70be Merge pull request #4104 from GregorR/natt
NAT traversal
2016-11-30 16:09:53 +01: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 cd9d09d1f3 use unicode versions of windows functions 2016-11-29 14:34:35 -05: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 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
twinaphex 83d91ae85a (libretro-common) Update copyrights 2016-11-08 17:55:35 +01:00
twinaphex a7585f9988 Move video_frame.h to libretro-common 2016-11-08 15:35:24 +01:00
Twinaphex 38b3e4042d Merge pull request #3953 from aliaspider/master
(WiiU) working sound.
2016-11-06 19:18:11 +01:00
Alcaro d64aa98bee Clarify this one, all known fronts already do this 2016-11-06 12:02:37 +01:00
aliaspider 31edafde03 (WIIU) add timers, fix retro_sleep. 2016-11-06 11:55:56 +01:00
twinaphex 9a9f76d71c (FFT) Add potential non-GLM code 2016-11-04 21:25:12 +01:00
twinaphex 01961cbf5e Turn matrix_4x4_identity into inline function 2016-11-04 15:58:32 +01:00
twinaphex 85dd30ca3e (Android) Issues with ABI target version 9 - just do
ugly preprocessor hacks instead
2016-11-03 16:35:04 +01:00
twinaphex 19ee1a4751 Move macros of matrix functions to C files 2016-11-03 14:52:22 +01:00
twinaphex cb23aec500 Try to prevent GLES 2 compile-time issues where GLuint64/GLint64
is already provided by a system header
2016-11-03 14:25:10 +01:00
twinaphex 9fd40831ef float_minmax.h - include math.h 2016-11-01 11:43:00 +01:00
twinaphex 6c6daeca5b (libretro-common) Add float_minmax.h 2016-11-01 11:27:00 +01:00
Twinaphex 92a9f8aec7 Merge pull request #3887 from aliaspider/master
(WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
2016-10-29 04:02:54 +02:00
aliaspider e055b7cbc1 (WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
from WUT.
2016-10-29 02:56:40 +01:00
Jean-André Santoni c99b4f7252 Preliminary support for the Vietnamese language 2016-10-27 20:49:56 +02:00
twinaphex 4fb6808321 libretro-common is MIT and we don't want individual copyright
per authors here; RetroArch is GPL and it's fine there
2016-10-27 19:52:58 +02:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
aliaspider a4d745a471 preliminary port to the wiiu platform 2016-10-27 01:34:10 +01:00
Jean-André Santoni 07421c3cd4 Fix build on some platform missing int64 types in their headers 2016-10-26 20:13:56 +02:00
twinaphex 4454fdbfc2 Fix MSVC build 2016-10-24 08:33:35 +02:00
twinaphex 213e357918 Move gl_capabilities to libretro-common 2016-10-24 04:06:05 +02:00
Henri Gomez eaed1c96be ASIMD detection on ARMv8 2016-10-18 17:10:43 +02:00
Higor Eurípedes 330a8d7594 Make thread local storage optional 2016-10-17 21:24:03 -03:00
Higor Eurípedes 471ff4a999 (libretro-common) Add thread local storage 2016-10-17 20:49:37 -03:00
Higor Eurípedes 2109a13ce2 (libretro-common) Fix sthread_isself() documentation 2016-10-17 19:14:31 -03:00
Francisco José García García 81e7a60759 (VITA) Try to use NEON 2016-10-17 18:39:53 +02:00
Twinaphex 8da65e73f6 Update 2016-10-14 17:07:33 +02:00
twinaphex 6a0ed60121 khronos_int64_t/khronos_uint64_t are just int64_t/uint64_t, change
this up - this was preventing iOS 10 build from being compilable
2016-10-14 17:01:11 +02:00
twinaphex f10cfda93e Updates 2016-10-14 15:34:02 +02:00
Francisco José García García 4c19543427 (VITA) Workaround for scanning content 2016-10-13 18:00:40 +02:00
twinaphex 648a13b3b8 vec2 - same header guard as vec3 - fix 2016-10-08 09:19:27 +02:00
Alcaro f92d34e183 Clarify this one. 2016-10-06 01:06:31 +02:00
Gregor Richards 8cfb4b573b Removing confusing "or C type" verbage 2016-10-04 23:07:36 -04:00
Gregor Richards 701cc5a18c Splitting endian and other platform savestate quirks. 2016-10-04 23:07:36 -04:00
Gregor Richards a636bac428 Style and clarity nits. 2016-10-04 23:07:36 -04:00
Gregor Richards 1483aa710f Changing the initialization quirk to communicate by retro_serialize and
the variable size quirk to use a core and front flag.
2016-10-04 23:07:36 -04:00
Gregor Richards 919897c464 Some style/clarity nits. 2016-10-04 23:07:35 -04:00
Gregor Richards fad6e2e87e Make quirks a bidirectional interface, so the frontend can refuse quirks
it doesn't support, in particular variable sized states.
2016-10-04 23:07:35 -04:00
Gregor Richards 90bd741786 Switching serialization quirks to uint64_t for consistency with other
bitfields
2016-10-04 23:07:35 -04:00
Gregor Richards b974fa5718 Add a libretro environment for serialization quirks
The new environment RETRO_ENVIRONMENT_SET_SERIALIZATION_QUIRKS allows
cores to communicate any quirks their implementation of serialization
may exhibit. This is useful for distinguishing between serialization
implementations that are sufficient for netplay, rewind, regular use,
etc, as each of these have different requirements and it should be
possible to support a "good enough" serialization without breaking
frontend features.
2016-10-04 23:05:50 -04:00
Brad Parker 795fd0cfa3 add blocking task type that only allows one instance in the queue 2016-10-02 19:05:30 -04:00
Brad Parker 88d70d7da6 whitespace 2016-10-02 19:05:30 -04:00
twinaphex 107a962171 Add RARCH_OVERRIDE_SETTING_LIBRETRO_DEVICE 2016-10-01 06:02:18 +02:00
Logan McNaughton 1ea200b564 GLES3 fix
Fixes #3658
2016-09-26 15:30:42 -06:00
Brad Parker af98ee1c8a Add CRC calculation function that works with archives with or without a path inside (first file is used if no path)
Add all archive's contents to database scan list when scanning files and directories

Allow scanning a single file that is an archive

Remove unnecessary prototypes from archive_file.h

Simplify retrieving of CRCs from archives when scanning
2016-09-25 00:15:05 -04:00
twinaphex 4e14ff8a66 Go through opaque pointer for glDeleteSync - GLsync as a type
might not be available
2016-09-24 00:04:19 +02:00
Twinaphex 4d49bb44f2 (OSX) Buildfix 2016-09-21 02:30:21 +02:00
Brad Parker 137968c001 treat .apk files as .zip, set archive_path any time we need to decompress a file 2016-09-19 18:38:33 -04:00
twinaphex 1d53bbe110 Update libretro-common 2016-09-19 19:25:20 +02:00
twinaphex 871621fdfa Move implementation file_archive_file_data to archive_file.c 2016-09-19 18:26:16 +02:00
Brad Parker fb26f3bbb7 fix divide by zero, use non-opaque type for file_archive functions 2016-09-19 12:06:07 -04:00
Brad Parker 2a75b88d89 file_archive_extract_first_file can choose any file now 2016-09-18 21:22:13 -04:00
Brad Parker 050ab56038 set archive path before extracting 2016-09-18 16:05:58 -04:00
twinaphex d25cace9ed Add config_file_exists 2016-09-18 21:55:53 +02:00
Brad Parker a7ffead8f6 fix more memory corruption 2016-09-18 15:20:27 -04:00
Brad Parker dbbd49f9f9 merge with master, remove alignment test code 2016-09-18 12:44:00 -04:00
Alcaro 62ecce7644 Fix weird types and other legacy leftovers 2016-09-18 18:09:16 +02:00
twinaphex 78e0e817dd Change wrong function prototype 2016-09-18 18:06:10 +02:00
twinaphex 91f7efc62d Add encoding_crc32 2016-09-18 17:22:12 +02:00
twinaphex 870182cd88 Turn into static function 2016-09-18 16:55:56 +02:00
Brad Parker 7c29fd6c33 create 7z archive backend, enables scanning of 7z content 2016-09-18 10:31:21 -04:00
twinaphex 7c40d808df (libretro-common) Update 2016-09-17 23:21:11 +02:00
twinaphex ee4c893c07 Update matrix_4x4_projection 2016-09-16 18:03:30 +02:00
twinaphex 028bb38ec5 Add vector_4 2016-09-16 17:45:41 +02:00
twinaphex 54b65b689e Potential buildfixes for GLES2 2016-09-16 03:06:44 +02:00
twinaphex fb133a7487 Update GLSM 2016-09-16 01:14:35 +02:00
Twinaphex 18c52dac39 (iOS) Buildfix 2016-09-14 15:42:40 +02:00
twinaphex 37ddbc10da Buildfix 2016-09-14 14:11:19 +02:00
twinaphex 1b9a067bcc Move code to apple_compat.h 2016-09-14 14:10:39 +02:00
twinaphex 79222de018 Move define to scaler_filter.c 2016-09-12 17:32:35 +02:00
twinaphex 164d3b034c Get rid of OSX_PPC 2016-09-09 15:56:56 +02:00
twinaphex 4811e1124d (features CPU) add CMOV 2016-09-04 06:07:45 +02:00
radius cb25a9e4b8 should fix other platforms 2016-08-27 23:39:47 -05:00
radius 7092c0dbf4 windows build fix 2016-08-27 22:59:47 -05:00
Brad Parker cf4bf344a9 add configuration option to toggle showing hidden files (default on), fixes issue #2769 2016-08-27 21:48:55 -04:00
Twinaphex 89d0798e68 Merge pull request #3423 from bparker06/utf8
Initial UTF-8 support for rgui/xmb/glui. Enables first 256 codepoints.
2016-08-26 17:27:20 +02:00
Twinaphex 7edf762ac6 Merge pull request #3426 from bparker06/hash_filename
correctly handle content paths containing a hash (#), fixes issue #3273
2016-08-26 17:20:43 +02:00
Brad Parker 4daecbf04d false is still not 1 2016-08-25 21:46:59 -04:00
Brad Parker 89f9b096e7 style cleanup and fix typos 2016-08-25 21:40:37 -04:00
Brad Parker 097f326298 simplify delimiting of compressed archive filenames 2016-08-25 16:18:29 -04:00
Brad Parker 2e4fd540ac re-enable UTF-8 by default, inline utf8_walkbyte, fix missing ifdef in utf8_walk 2016-08-24 10:56:00 -04:00
twinaphex 465d17a6e2 (libretro-common) Update files 2016-08-24 01:45:59 +02:00
twinaphex 18f999d8de (libretro-common) Header updates 2016-08-24 01:22:29 +02:00
twinaphex 3547fb3351 (libretro-common) Update headers 2016-08-24 01:20:32 +02:00
Brad Parker 30e99927d2 undo previous new files and use existing encoding_utf header 2016-08-23 19:16:18 -04:00
Brad Parker 80d4626908 forgot to add extra utf8 files 2016-08-23 19:02:26 -04:00
Brad Parker c9815fadce update parameter list in header 2016-08-21 01:06:38 -04:00
Brad Parker cc582db6fb recursively scan directories for database content, fixes issue #3139 2016-08-21 00:59:41 -04:00
Alcaro e559085540 Merge pull request #3407 from meleu/screenshot_with_gamename
Screenshot with gamename
2016-08-19 22:08:34 +02:00
twinaphex acf76f6a58 (libretro-common) Simplify compat_ctz 2016-08-19 20:18:04 +02:00
meleu e1f4b41bb6 added fill_str_dated_filename() prototype 2016-08-19 08:49:09 -03:00
twinaphex 1eaa29eed8 Fix prototype 2016-08-12 01:09:56 +02:00
twinaphex 8617b9f649 Add zconf headers 2016-08-12 01:02:19 +02:00
twinaphex 35939125b0 (MSVC 2003) Start adding MSVC 2003 solution files 2006-01-17 04:25:59 +01:00
twinaphex 340519fa61 (libretro-common) Updates 2016-08-11 00:41:11 +02:00
Logan McNaughton 2daf102111 Fix GLES3 compling 2016-08-07 22:33:07 -06:00
twinaphex df1c0bc9b4 Backport changes 2016-08-07 02:49:34 +02:00
twinaphex fda2495021 Get rid of HAVE_ZLIB_DEFLATE - implicitly enable it 2016-08-02 15:34:48 +02:00
Andre Leiradella 260625bd83 Use MD5 functions from libretro-common 2016-07-31 23:08:07 +01:00
twinaphex d245bbf12e Add sys/types.h to interface_stream.h 2016-07-31 17:53:14 +02:00
twinaphex 45c33c7acf Create fill_pathname_base_ext 2016-07-01 11:12:24 +02:00
twinaphex 83bafe1b19 Cleanups 2016-06-30 05:04:27 +02:00
twinaphex 5f71ecc1d1 Create fill_pathname_join_special_ext 2016-06-30 04:59:57 +02:00
twinaphex 5d7367e89a Create vec2_t/vec3_t typedefs 2016-06-29 19:42:41 +02:00
twinaphex 668b4b5d26 Remove duplicate fill_string_concat 2016-06-29 18:14:42 +02:00
twinaphex a7e8707f7d Create fill_pathname_join_delim_concat 2016-06-29 17:51:25 +02:00
twinaphex c38c28a0f5 Create fill_pathname_join_concat 2016-06-29 17:46:50 +02:00
twinaphex f4ef5e82c2 Create and use fill_string_concat 2016-06-29 17:41:32 +02:00
twinaphex 7647c9be59 Add noext versions 2016-06-28 13:08:03 +02:00
twinaphex ca3eecf5c0 Create fill_pathname_join_noext 2016-06-28 13:05:46 +02:00
twinaphex c03e566eba Create filL_short_pathname_representation_noext 2016-06-28 12:49:37 +02:00
twinaphex 481e7d2f34 (libretro-common) Move STRING_REP_UINT64 to retro_common_api.h 2016-06-28 08:50:22 +02:00
Hans-Kristian Arntzen c80127d29d Vulkan: Hook up async compute test more properly.
Supports multiple queues and queues from different families.
2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen 4729ec9e1b Add support for signalling semaphores from frontend.
Useful for conserving framebuffer memory.
2016-06-27 20:54:53 +02:00
twinaphex a51a259e58 Add STRING_REP_INT64 2016-06-27 08:24:28 +02:00
Hans-Kristian Arntzen 54c1759f45 Vulkan: Make a more general purpose symbol loader.
Avoids painful manual loading and wrapping function pointers everywhere
...

Reusable for cores, so move to libretro-common.
Also update built-in Vulkan headers.
2016-06-26 13:10:58 +02:00
Hans-Kristian Arntzen 1da2e2dbab Vulkan: Hook up negotiation interface device creation. 2016-06-26 10:40:07 +02:00
Hans-Kristian Arntzen 10a6d7a458 Vulkan: Begin hooking up negotiation interface. 2016-06-25 21:01:36 +02:00
Hans-Kristian Arntzen 2293bce616 Vulkan: Sketch out context negotiation interface. 2016-06-25 12:14:56 +02:00
Hans-Kristian Arntzen d043123f71 Vulkan: Add support for queue transfers in HW rendering. 2016-06-25 11:39:52 +02:00
twinaphex dee7533d65 (libretro-common) Start creating STRING_REP_ULONG 2016-06-23 07:37:02 +02:00
twinaphex e3fa9ae5ee Update GLSM 2016-06-20 21:34:26 +02:00
twinaphex 560f8dda60 Remove tasks_internal.c - no longer needed 2016-06-20 06:02:50 +02:00
Twinaphex f4772f07f3 Buildfix to features_cpu.h 2016-06-18 19:42:04 +02:00
twinaphex 39742dae1f Update GLSM 2016-06-17 02:18:17 +02:00
twinaphex 72355683a3 (GLSM) GLuint64 might not be available depending on which GLES
version we are targeting
2016-06-16 16:34:31 +02:00
twinaphex 455b28eaca Update complex.h 2016-06-15 21:37:03 +02:00
twinaphex 962c52c5ae Move math/complex.h to libretro-common 2016-06-15 21:35:48 +02:00
twinaphex 94545127a6 Ifdef __builtin_ctz to not be used for consoles 2016-06-11 22:21:04 +02:00
twinaphex e4f25d9984 Add new versions of whitespace trimming functions 2016-06-09 08:01:55 +02:00
twinaphex a63fcc36aa Remove string functions 2016-06-09 04:35:39 +02:00
twinaphex a877fc24fb (libretro-common/stdstring) Add string_trim_whitespace_left/string_trim_whitespace_right 2016-06-08 19:12:23 +02:00
twinaphex f4c3a41f84 (Win32) Implement application process events 2016-06-07 17:28:51 +02:00
twinaphex b1fe3506d7 Change preprocessor conditional 2016-06-07 04:48:06 +02:00
twinaphex d14444e0fc Include intrin.h header for MSVC 2016-06-07 04:22:21 +02:00
twinaphex 53701a565f Add compat_clz_u16 2016-06-07 04:15:27 +02:00
twinaphex 6fc943228e Create libretro-common/include/compat/intrinsics.h 2016-06-07 04:07:12 +02:00
twinaphex d240437f6b Update GLSM 2016-06-07 02:18:45 +02:00
twinaphex e3919c9d49 (GLSM) Remove this -unnecessary 2016-06-07 02:09:19 +02:00
twinaphex 4b76f88939 Update libretro-common 2016-06-06 21:48:59 +02:00
aliaspider 5a80bd6b30 (VITA) build fix for latest sdk. 2016-06-05 22:01:25 +01:00
twinaphex b7bf13ed1c Update GLSM 2016-06-04 02:35:06 +02:00
twinaphex a759694b97 Add fxp.h 2016-06-03 22:35:12 +02:00
twinaphex a503db016e Create filestream_eof 2016-06-03 07:29:27 +02:00
twinaphex d40eade52c Create filestream_getline 2016-06-03 07:09:50 +02:00
twinaphex 2b33c731d0 Create RFILE_MODE_READ_TEXT 2016-06-03 03:14:42 +02:00
twinaphex 4dc3fe9f8c Create filestream_getc 2016-06-03 00:07:00 +02:00
twinaphex 97427b343b (libretro-common) Create filestream_gets 2016-06-03 00:03:58 +02:00
twinaphex e7aedb6fb9 Remove unneeded async_job - plug memory leak in cheevos.c 2016-05-27 05:19:27 +02:00
Andre Leiradella d791da9507 undefined debug macros 2016-05-27 00:06:03 -03:00
Alcaro 26190043eb this mmap env is way more complicated than it has any right to be. 2016-05-24 22:06:21 +02:00
Torsten Paul 845dcef6ab Add cleanup handler for tasks to free allocated resources after the task finished. 2016-05-23 22:36:29 +02:00
twinaphex 7e36dcb27f move video_texture_image to libretro-common and rename it to image_texture.c 2016-05-18 12:58:00 +02:00
Alcaro 4fd3a4743a Another todo 2016-05-18 12:51:17 +02:00
twinaphex 265c931c46 (gfx/video_texture_image.c) remove dependencies 2016-05-18 12:49:52 +02:00
Alcaro bc53d6fdc3 More TODO for this env. 2016-05-18 12:30:43 +02:00
twinaphex 1ef5eee8b3 Header cleanup 2016-05-18 11:08:09 +02:00
twinaphex dd774bd13c Cleanups 2016-05-18 11:04:23 +02:00
twinaphex 9bc11731fb Start reimplementing TGA image load support 2016-05-18 10:52:23 +02:00
twinaphex 492dd59164 Hook up BMP image loading - color channels swapped - RGBA to ARGB
conversion won't work here
2016-05-17 21:38:51 +02:00
twinaphex 4309793b1d Add rbmp.c 2016-05-17 21:21:45 +02:00
Alcaro 56ce7b9b22 because @leiradel wants me to 2016-05-17 21:08:28 +02:00
twinaphex 4af31cee97 (ARM NEON) Buildfix 2016-05-17 17:00:16 +00:00
twinaphex 070b7b78b1 Create matrix_4x4_copy 2016-05-17 18:12:43 +02:00
twinaphex 8b915bbc22 Add memalloc_alloc_aligned 2016-05-17 16:56:13 +02:00
twinaphex 8c640a28c6 (RJPEG) Remove unused rjpeg_image_load 2016-05-17 16:40:11 +02:00
twinaphex 1166be62ae (gfx/video_texture_image.c) Drop more implementation details 2016-05-17 16:32:53 +02:00
twinaphex 52948b436e We can take out RPNG implementation details out of video_texture_image.c
now
2016-05-17 16:23:22 +02:00
Alcaro c19a39f49c Set calling convention for those pointers. (Yes, it's ugly.) 2016-05-16 23:51:11 +02:00
twinaphex 2fa1c5abb2 (GLSM) Expand GLSM 2016-05-16 20:07:29 +02:00
twinaphex 3f9afce2cd (GLSM) Extend GLSM 2016-05-16 19:43:05 +02:00
twinaphex bb1d1da693 Remove runloop_iterate_data 2016-05-16 17:29:02 +02:00
twinaphex c66219846f (mismatch.h) Add another header 2016-05-16 15:39:15 +02:00
twinaphex 8cd2d1deff (Windows) Buildfix 2016-05-16 15:35:00 +02:00
twinaphex d84be35fcc (PSP) Buildfix 2016-05-16 12:09:36 +02:00
twinaphex 65d33700d4 Move audio_utils to libretro-common as s16_to_float 2016-05-16 11:33:49 +02:00
twinaphex 2422dfbbbe (libretro-common) Create libretro-common/conversion/float_to_s16 2016-05-16 11:11:02 +02:00
twinaphex 1405db5b19 Move mismatch.c to libretro-common/algorithms 2016-05-16 10:27:20 +02:00
twinaphex 1983604134 Remove GLSM_CTL_IS_FRAMEBUFFER_LOCKED 2016-05-16 06:02:03 +02:00
twinaphex cb73de77e9 (libretro-common) Update 2016-05-15 06:59:23 +02:00
twinaphex f8982a89d7 Add vector_3.c 2016-05-15 06:46:41 +02:00
twinaphex 3257ecdaef (features_cpu.c) Move _WIN32 up in priority 2016-05-14 01:27:09 +02:00
twinaphex 101539b489 (RJPEG) more internal changes 2016-05-13 09:58:42 +02:00
twinaphex fa27a8447e Rename RPNG functions 2016-05-13 09:49:38 +02:00
twinaphex 1623d538d5 Add rjpeg_set_buf_ptr 2016-05-13 09:42:02 +02:00
twinaphex 8efe2de0ec (RJPEG/RPNG) Add debug logs and change function signatures 2016-05-13 09:08:32 +02:00
twinaphex 5068accc4e Start preparing image transfer for RJPEG 2016-05-13 08:50:50 +02:00
twinaphex 17d39fd54f Add rjpeg_free 2016-05-13 08:16:13 +02:00
twinaphex d3df016005 (RJPEG) Add rjpeg_alloc 2016-05-13 08:13:21 +02:00
twinaphex 13f49e1d9a Split up image transfer code to separate file 2016-05-13 04:38:21 +02:00
Andre Leiradella bc8b75148e updated with upstream 2016-05-12 22:36:49 -03:00
twinaphex 6b33c19802 Fix CXX_BUILD 2016-05-12 09:31:25 +02:00
twinaphex 2321ee829f Add glsym_es3 2016-05-11 23:17:42 +02:00
twinaphex 377f09f12a Change back retro_dirent_is_dir to hopefully avoid sshfs issues
- more rigorous testing should be applied before changing these
functions
2016-05-11 18:54:22 +02:00
twinaphex 1ac30884c4 (RJPEG) Prevent warnings 2016-05-11 03:40:25 +02:00
twinaphex 9aed52ac65 Move performance.c to libretro-common/features/features_cpu.c 2016-05-10 20:31:27 +02:00
twinaphex 4a7ab8366b Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
twinaphex 35ea37b37f Revert "Move cpu_features to libretro-common"
This reverts commit 2b8ff3bf38.
2016-05-10 09:32:24 +02:00
twinaphex 2b8ff3bf38 Move cpu_features to libretro-common 2016-05-10 09:27:29 +02:00
twinaphex 87b83ecf56 (RetroPad) Use socket_set_target 2016-05-09 06:40:51 +02:00
twinaphex e1d04737cb (OSX PPC) Add line to libretro-common/include/compat/zlib.h 2016-05-09 04:51:18 +02:00
twinaphex 11ec23bc18 Create inet_ptrton 2016-05-08 15:41:34 +02:00
twinaphex 2f6baffe45 Expand net_socket.c 2016-05-08 07:24:10 +02:00
twinaphex eb689fdd24 C89_BUILD fix 2016-05-08 04:21:56 +02:00
twinaphex 1968b0a333 Dunno where this came from 2016-05-08 04:06:07 +02:00
twinaphex ae9ea8f2db (MSVC) Buildfixes 2016-05-08 04:04:50 +02:00
twinaphex 7f272a4bd0 Add missing parameters 2016-05-07 16:24:26 +02:00
twinaphex f86d4d400d Start adding jpeg hooks 2016-05-07 06:20:17 +02:00
twinaphex b2df35bd7c Correct glDeleteVertexArrays 2016-05-07 05:00:14 +02:00
twinaphex 5127536217 (libretro-common) Expand GLSM 2016-05-07 04:42:18 +02:00
twinaphex 268be70fe8 Cleanups 2016-05-07 04:15:39 +02:00
twinaphex 7eef9b87b0 Add glTexSubImage2D 2016-05-06 23:54:48 +02:00
twinaphex d997526a1d Updates 2016-05-06 22:40:11 +02:00
twinaphex dd36a3792c (GLSM) Add new wrapper functions 2016-05-06 22:20:03 +02:00
twinaphex 5d5ad0548a Update 2016-05-06 22:15:24 +02:00
twinaphex 2e319213e3 Expand glsm 2016-05-06 22:08:49 +02:00
Sebastien Ronsse 8f6bb23f38 task queue: Implement running tasks retrieval mechanism 2016-05-06 14:41:45 +10:00
twinaphex b91ad3a70e (libretro-common) Update glsm 2016-05-06 05:08:42 +02:00
Andre Leiradella b38e234d2e made find_last_slash public 2016-05-05 16:22:35 -03:00
Andre Leiradella 8be7fd5f0a http tasks can now be cancelled 2016-05-05 15:32:36 -03:00
Twinaphex 1c2bf6e305 Revert "http tasks can now be cancelled; on-demand thumbnail download working" 2016-05-05 17:00:43 +02:00
Andre Leiradella 9b889e14d4 http tasks can now be cancelled; on-demand thumbnail download working 2016-05-05 09:48:50 -03:00
twinaphex b0193885ca (GLSM) Update 2016-05-05 00:23:12 +02:00
twinaphex 9a7bde6a02 (GLSM) Add glBlendEquationSeparate 2016-05-04 23:53:21 +02:00
twinaphex 5889489ff7 (libretro-common) Update GLSM 2016-05-04 21:12:34 +02:00
twinaphex f60676f43e Create inet_htons 2016-05-03 04:35:51 +02:00
twinaphex dbd56997f4 Changes to getaddrinfo_retro 2016-05-02 19:30:12 +02:00
twinaphex 00a49d068e Implement TCP protocol for socket_create 2016-05-02 18:47:34 +02:00
twinaphex 18f8ded154 Flesh out socket_create some more 2016-05-02 18:42:13 +02:00
twinaphex 62508eca77 Create socket_create 2016-05-02 18:37:08 +02:00
twinaphex 31f3fc0abb Create socket_receive_all_nonblocking 2016-05-02 02:09:22 +02:00
twinaphex 2e1fa648b8 Create socket_connect 2016-05-01 23:45:59 +02:00
twinaphex bd9dd06ddd Get rid of duplicate function net_http_send 2016-05-01 23:17:17 +02:00
twinaphex 004d9a613c Create socket_bind 2016-05-01 22:57:44 +02:00
twinaphex 78bb85e2f3 Reuse socket_init for net_http code 2016-05-01 22:45:32 +02:00
twinaphex 8b9456f419 Add socket_type to socket_init 2016-05-01 22:25:23 +02:00
twinaphex 0268212d40 Move socket code to net_socket.c 2016-05-01 21:36:28 +02:00
twinaphex a7b856b65f (libretro-common) Create net_socket 2016-05-01 21:18:45 +02:00
twinaphex eb53356522 Add __INTEL_COMPILER ifdef to retro_inline.h 2016-04-27 16:05:24 +02:00
twinaphex 1efff4bdc3 CXX_BUILD fix 2016-04-27 14:52:28 +02:00
Twinaphex 6b6a2b93fa C89_BUILD fix for OSX 2016-04-27 14:43:42 +02:00
Twinaphex 2c221e747e (libretro_common) Include retro_common_api.h - interface_stream.h 2016-04-27 14:37:03 +02:00
twinaphex 3b9c406123 Add rule for OSX/iOS - ssize_t 2016-04-27 14:35:59 +02:00
twinaphex 08b7ac500b (libretro-common) Updates 2016-04-23 10:40:46 +02:00
twinaphex ac18671ead Update libretro-common 2016-04-22 05:28:49 +02:00
Twinaphex 899db8fb37 (libretro-common) Buildfix for OSX 2016-04-13 22:08:23 +02:00
twinaphex 06ccd36b2f (PS3) Cut down on warnings 2016-04-13 01:49:38 +02:00
twinaphex 8d4d0d16c6 (libretro-common) Update GLSM 2016-04-12 02:22:12 +02:00
Jean-André Santoni 1dea1fa0e2 Rename file_list_push to file_list_prepend 2016-04-12 01:40:48 +07:00
twinaphex a430c7f543 Add experimental menu_entries_push/file_list_push 2016-04-11 18:02:50 +02:00
twinaphex 494ceee05e Update glsm 2016-04-10 16:31:08 +02:00
twinaphex 175d601a4e Make it possible to initialize memory stream interface in
writable mode
2016-04-07 05:06:41 +02:00
twinaphex bf017e3a0c Add intfstream_putc 2016-04-07 03:24:41 +02:00
twinaphex 2bb90f3702 Add filestream_putc 2016-04-07 03:23:01 +02:00
twinaphex f0a1b94a11 Update memory_stream.c with FCEUmm update code 2016-04-07 03:07:23 +02:00
twinaphex a8144abbce Add intfstream_tell 2016-04-07 02:44:21 +02:00
twinaphex 0da67ad4f9 Add intfstream_close 2016-04-07 02:30:09 +02:00
twinaphex 99a9769014 Add intfstream_rewind 2016-04-07 02:27:33 +02:00
twinaphex ea037799a4 Add memstream_rewind 2016-04-07 02:24:31 +02:00