Commit Graph

887 Commits

Author SHA1 Message Date
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