Commit Graph

2108 Commits

Author SHA1 Message Date
twinaphex 90dca2d537 (rbmp.c) Simplify 2016-12-21 14:00:58 +01:00
twinaphex 1344e91286 Revert "Locking bug"
This reverts commit b40c1311b6.
2016-12-21 12:23:19 +01:00
Twinaphex bbed836e8f Merge pull request #4290 from GregorR/cov-112612
Locking bug
2016-12-21 01:48:34 +01:00
twinaphex e328c4ebfa (archive_file.c) Cleanup 2016-12-21 01:47:32 +01:00
Gregor Richards b40c1311b6 Locking bug 2016-12-20 19:42:53 -05:00
Twinaphex c81d54bd46 (libretro-common) Cleanups 2016-12-20 00:39:45 +01:00
twinaphex 3561949a87 Get rid of some implicit memsets 2016-12-19 18:18:40 +01:00
Twinaphex 032d29efa4 Merge pull request #4274 from GregorR/netplay-nouveau-nouveau
>2-player Netplay
2016-12-19 16:28:37 +01:00
twinaphex 4c9f2e41ff Get rid of some implicit memsets 2016-12-19 14:04:37 +01:00
Gregor Richards a6cd8c3aa1 Error reporting when a password is refused, plus a bugfix so that
socket_receive_all_nonblocking actually reports disconnects.
2016-12-18 19:28:43 -05:00
Gregor Richards 900e5a79ec Use nonblocking sockets for Netplay to avoid some stalls. 2016-12-18 19:28:38 -05:00
twinaphex 89820220b7 (libretro-common) Cleanup/style nits for archive_file_{7z/zlib} 2016-12-19 00:12:24 +01:00
twinaphex 2fa5b09e7a (RJPEG) Cleanups 2016-12-18 15:57:47 +01:00
twinaphex d6ece7f1b8 (RJPEG) Cleanups 2016-12-18 15:51:08 +01:00
twinaphex a44afda5c5 (RJPEG) Cleanups 2016-12-18 15:30:29 +01:00
twinaphex 099f3a8d52 (RJPEG) Style nits 2016-12-18 15:28:02 +01:00
twinaphex e9d9f1d90f (RBMP) Cleanups 2016-12-18 14:51:57 +01:00
twinaphex 35de6df7f9 (RJPEG) Cleanups 2016-12-18 12:15:36 +01:00
twinaphex 222650df35 (rjpeg.c) Cleanups 2016-12-18 12:12:09 +01:00
twinaphex 6935ce902e (archive_file.c) Cleanups/style nits 2016-12-17 17:19:32 +01:00
twinaphex 1ddd0ab1d3 (Statically linked RA) Make 'Open Archive' work when there are
no core info files
2016-12-17 17:12:53 +01:00
twinaphex feae0823ce Prevent some implicit memsets 2016-12-17 14:40:06 +01:00
twinaphex d4796caabd (libetro-common) Turn path_contains_compressed_file into a macro 2016-12-17 14:01:25 +01:00
twinaphex 96ffd8e025 Revert "Remove HAVE_COMPRESSION ifdefs in file_path.c"
This reverts commit 4103b70833.
2016-12-17 12:55:38 +01:00
twinaphex 4103b70833 Remove HAVE_COMPRESSION ifdefs in file_path.c 2016-12-17 12:20:49 +01:00
twinaphex 39b41a1f51 file_archive_get_file_list - take out HAVE_COMPRESSION code 2016-12-17 11:59:19 +01:00
twinaphex 5364b0b837 Move compression-related code outside of libretro-common file_path.c
and move it into RetroArch's file_path_special.c file instead
2016-12-17 11:54:46 +01:00
twinaphex bd67208d74 Remove some unnecessary ifdefs for file_path.c 2016-12-17 11:16:43 +01:00
twinaphex 4409c89d43 (dir_list.c) Cleanups/style nits 2016-12-17 11:15:04 +01:00
twinaphex c739ca016c Add net_http_parse 2016-12-17 00:46:23 +01:00
twinaphex af6128d976 Put around parentheses 2016-12-15 11:59:33 +01:00
Logan McNaughton 8cd2566128 Simplify glTexImage2D/glTexStorage2D calls
Also add support for glTexStorage2DEXT (GLES2)
2016-12-14 07:29:37 -08:00
Twinaphex 93b29aab5a Merge pull request #4234 from leiradel/master
Added support for loading 8 and 16 bps, mono/stereo, uncompressed PCM wave files
2016-12-13 01:11:03 +01:00
Andre Leiradella 2c90258353 Include retro_common_api.h 2016-12-12 23:53:44 +00:00
Andre Leiradella 6fd6329b41 Fixed copyright notice 2016-12-12 23:28:17 +00:00
Andre Leiradella d6625434a7 Fixed copyright notice and removed reference to stb_image 2016-12-12 23:26:08 +00:00
Andre Leiradella b65e16d39d Added support for loading 8 and 16 bps, mono/stereo, uncompressed PCM wave files 2016-12-12 23:23:36 +00:00
twinaphex 0c9a831bf3 (libretro-common) Cleanup 2016-12-12 14:09:58 +01:00
twinaphex 08a60c94d0 Move audio resampler drivers (Sinc/nearest) to libretro-common; maister gave permission to relicense to MIT 2016-12-12 13:02:29 +01:00
twinaphex 8042c2ac62 Move config_file_userdata.c to libretro-common 2016-12-12 12:36:46 +01:00
Gregor Richards 65224dc2a5 NAT traversal also needs to avoid IPv6 with SOCKET_LEGACY 2016-12-10 13:58:51 -05:00
Brad Parker 1f39426195 only use fancy ribbon on GLES if GL_OES_standard_derivatives extension is detected 2016-12-09 19:32:55 -05:00
Logan McNaughton 1d69baca82 Use glTexStorage2D for FBO textures 2016-12-08 21:14:10 -07:00
Logan McNaughton 07a9a75a00 Fix GL_CAPS_ARGB8
ARM_argb8 should be ARM_rgba8, and GLES3 always supports this feature
2016-12-07 12:34:02 -07:00
Gregor Richards c2c2c57095 Remove support for MiniUPNPC < 2.0 2016-12-04 13:04:30 -05:00
Brad Parker e39031cbd0 revert rest of unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker b69734ce4a more unicode fixes 2016-12-02 23:01:44 -05:00
Brad Parker d20acaa63d more unicode fixes 2016-12-02 23:00:27 -05:00
Brad Parker fcf09f10ef more unicode fixes 2016-12-02 22:12:00 -05:00
Brad Parker cc7bf6b4fa more unicode fixes 2016-12-02 21:11:55 -05:00
Brad Parker 826afd137c disable unicode until GL context is fixed 2016-12-02 15:34:15 -05:00
Brad Parker 3b8a81dd31 make existing hard-coded unicode calls switchable back to ansi 2016-12-02 14:34:29 -05:00
Brad Parker d891f1c90b remove explicit unicode def/undefs 2016-12-02 14:34:29 -05:00
Twinaphex 673c0ab626 Merge pull request #4130 from GregorR/netplay-socket-legacy-may-as-well-be-called-no-sockets
More stripping out of NAT traversal for SOCKET_LEGACY
2016-12-02 19:37:46 +01:00
Gregor Richards a082df0027 More stripping out of NAT traversal for SOCKET_LEGACY 2016-12-02 13:18:35 -05:00
Brad Parker 3846ce1837 build fixes for MSVC, start moving back to TCHAR usage so we can switch unicode on and off 2016-12-02 12:54:39 -05:00
twinaphex 3b78c848a2 Another Xbox buildfix 2016-12-02 01:06:53 +01:00
Twinaphex b551da1fda Merge pull request #4120 from GregorR/natt-more-1.9-fixes
Yet another pre-2.0 fix for MiniUPNPC
2016-12-01 17:54:50 +01:00
Gregor Richards 8dc9c64297 Yet another pre-2.0 fix for MiniUPNPC (if we have more problems I'll
just drop support for pre-2.0)
2016-12-01 09:39:41 -05:00
terry1994 86c7afdd7c Merge branch 'master' of ssh://github.com/terry1994/RetroArch 2016-12-01 09:53:10 +01:00
terry1994 f54b8cb9a9 Fix building on iOS 9 and 10.
Adjusted iOS 10 project to target minimum iOS version of 10.
Using minimum iOS version to determine availablity of clock_gettime (exists only on iOS 10+). Building with 10/10.1 SDK would cause this method to be called in iOS 9 builds, resulting in a crash on start.
2016-12-01 09:39:53 +01:00
Gregor Richards a0ac7e6a68 Make net_ifinfo's allocation behavior simpler and clearer 2016-11-30 19:57:18 -05:00
Gregor Richards 4ad1aa7eff Don't double-free net_ifinfo structure. 2016-11-30 19:21:33 -05:00
Gregor Richards ef65f6c57a Support for both MiniUPNPC 2.0 and MiniUPNPC < 2.0
MiniUPNPC 2.0 was a backwards-incompatible change (as .0s tend to be)
but configure detects them the same. This adds support for the changed
functions.
2016-11-30 10:48:11 -05:00
Twinaphex bb499b70be Merge pull request #4104 from GregorR/natt
NAT traversal
2016-11-30 16:09:53 +01:00
Andrés Suárez 153b879a6e Merge pull request #4108 from GregorR/netplay-ipv6
Fix Netplay IPv6 support
2016-11-30 00:31:05 -05:00
Gregor Richards b3ababce9a Fix Netplay IPv6 support 2016-11-30 00:25:16 -05:00
Gregor Richards b1f9ef6073 Since I've allocated net_ifinfo, I'd better free it in all returns 2016-11-29 23:31:35 -05:00
Gregor Richards 8e5e760773 Remove accidentally-left debug printf 2016-11-29 23:30:12 -05:00
Gregor Richards 2522f68870 C++ fixes 2016-11-29 23:10:19 -05:00
Gregor Richards 025993231f Use net_ifinfo how it's intended (?) to be used 2016-11-29 23:08:48 -05:00
Gregor Richards c342c103ae Always get numeric host/ports instead of names. 2016-11-29 23:08:26 -05:00
Gregor Richards 42da0a0184 NAT traversal in Netplay
For the time being, if NAT traversal is successful it simply announces
it as an OSD message. In the future it will be used to inform a
matchmaking server of the public port.

This patch also included minor fixes to the NAT traversal implementation
to make the select it demands actually doable.
2016-11-29 22:59:46 -05:00
Gregor Richards 8f61e2b978 Spacing correction (three spaces, not four) 2016-11-29 21:16:04 -05:00
Gregor Richards da406c3abb Adding copyright headers and support for specifying protocol (TCP/UDP) 2016-11-29 21:09:47 -05:00
Gregor Richards 65355994b3 NAT traversal
Adding NAT traveral interface to libretro-common, with (currently) a
backend support MiniUPNPC. Sensible future backends would be libupnp and
a direct implementation of PCP/NAT-PMP.
2016-11-29 21:00:53 -05:00
Brad Parker 367dea6723 unicode-ify a couple other windows files, start changing function names to W version explicitly 2016-11-29 20:32:24 -05:00
Brad Parker 187e1fc71b use wide fopen() on windows 2016-11-29 14:34:36 -05:00
Brad Parker 8adafa9249 use UTF8/16 conversion functions instead of codepage ones 2016-11-29 14:34:36 -05:00
Brad Parker 495deae31b still not working 2016-11-29 14:34:36 -05:00
Brad Parker cd9d09d1f3 use unicode versions of windows functions 2016-11-29 14:34:35 -05:00
twinaphex 5b2c4db656 (libretro-common) Fix header 2016-11-27 15:35:04 +01:00
twinaphex 4029709658 Fix warning 2016-11-27 14:50:42 +01:00
Twinaphex a09ad05a76 Merge pull request #4064 from GregorR/netplay-compression
Netplay compression
2016-11-26 23:43:05 +01:00
Gregor Richards 096eb072e1 Replacing archive_file_zlib backend with trans_stream 2016-11-26 15:48:58 -05:00
twinaphex 82b1cbf04a Not sure why this is in include/hash 2016-11-26 17:14:40 +01:00
Gregor Richards ac50e17f50 Moving zlib stream interface
Moving the zlib streaming interface out of archive_file and into
trans_stream, including updating the png support to use the new
trans_stream interface. archive_file_zlib itself still needs updating.
2016-11-26 10:47:24 -05:00
Gregor Richards f27476b4ef Adding a transcoding stream interface for in-memory compression. 2016-11-26 09:19:46 -05:00
twinaphex 490b3f5ed2 Add updates to libretro-common 2016-11-26 11:12:46 +01:00
twinaphex 97eb8bb747 Silence warning 2016-11-19 04:06:04 +01:00
twinaphex 66795c35cc Fix for GLES2 target 2016-11-18 23:29:48 +01:00
Alcaro a973bd8dfa Clarify this function 2016-11-16 14:36:48 +01:00
Francisco José García García d99d8d1a56 (MACH) Fix compilation 2016-11-15 00:05:37 +01:00
Francisco José García García c68325a713 (VITA) Add support for -mthumb 2016-11-14 19:13:07 +01:00
twinaphex 18da1fc088 More logging 2016-11-09 00:20:44 +01:00
Jean-André Santoni 1d8b6ceafd Use BGRA8888 on VideoCore 2016-11-08 20:22:38 +01:00
twinaphex 02e4dbfa0f Fix matrix_4x4_projection 2016-11-08 20:09:43 +01:00
twinaphex f6b273e1be (Desktop GL) GL_CAPS_BGRA8888 - return true by default 2016-11-08 19:11:54 +01:00
twinaphex 83d91ae85a (libretro-common) Update copyrights 2016-11-08 17:55:35 +01:00
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 1a04875a6c (scaler_int) Cleanups 2016-11-04 22:12:32 +01:00
twinaphex 9a9f76d71c (FFT) Add potential non-GLM code 2016-11-04 21:25:12 +01:00
twinaphex 848db5b1c5 Complete matrix_4x4_lookat 2016-11-04 21:07:30 +01:00
twinaphex c8e8070c02 Update matrix_4x4_translate 2016-11-04 20:36:47 +01:00
twinaphex 5398fa5f39 (libretro-common) Nit 2016-11-04 20:34:31 +01:00
twinaphex f4e27befb4 matrix_4x4_lookat - remove memset 2016-11-04 20:32:26 +01:00
twinaphex 01961cbf5e Turn matrix_4x4_identity into inline function 2016-11-04 15:58:32 +01:00
twinaphex cd2599456a Matrix code 4x4 - prevent memsets 2016-11-04 15:50:28 +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 de3c1a04db Simplifications 2016-10-31 15:24:03 +01:00
lasers 47e91d835b Fix broken (and ugly) task popup 2016-10-29 09:53:57 -05: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
Twinaphex 73ec076160 Merge pull request #3878 from aliaspider/master
set config file streams to full buffering. dramatically reduces startup/
2016-10-28 02:57:05 +02:00
aliaspider fd43a460f4 set config file streams to full buffering. dramatically reduces startup/
shutdown latency on some devices with slow I/O access.
2016-10-28 01:49:53 +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
twinaphex 88e88e92f3 Prevent crash with zipped roms 2016-10-27 19:50:19 +02:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex 6310f53587 Prevent some implicit memsets and reduce the size of some
char variables
2016-10-27 10:45:53 +02:00
twinaphex c1b59df7ae Reduce size of char variables 2016-10-27 09:32:07 +02: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 053208676f Prevent null pointer dereference 2016-10-26 09:55:09 +02:00
twinaphex 45688b2a9d Coverity doesn't understand retro_assert and these checks are
superfluous anyway
2016-10-26 09:53:15 +02:00
Twinaphex c2713a6173 Prevent warning 2016-10-26 02:46:15 +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
twinaphex cb772047ff Prevent some more memsets 2016-10-21 19:32:44 +02:00
twinaphex f3ad815dd9 Prevent implicit memsets 2016-10-21 06:15:20 +02:00
twinaphex 5fab3e2246 Update GLSM 2016-10-21 05:07:30 +02:00
Henri Gomez a2274d45be fix asimd detection 2016-10-18 17:18:33 +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 df87fc7043 Cleanups - prevent implicit memsets 2016-10-16 02:00:59 +02:00
twinaphex 2b834ce9d8 (rpng) Prevent implicit memsets 2016-10-16 01:34:16 +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
twinaphex 3603cafbba Merged jeapostrophe patch for iOS 10 2016-10-14 15:32:41 +02:00
Francisco José García García 4c19543427 (VITA) Workaround for scanning content 2016-10-13 18:00:40 +02:00
Brad Parker f0d1a733e3 fix 7z extraction endless loop 2016-10-11 02:07:21 -04:00
Higor Eurípedes 5f883b7ad1 (task_http) Don't use 100% CPU in threaded mode
This task is network bound and the HTTP functions use non-blocking I/O,
so task_http_iterate_transfer() returns "too fast" and the worker thread
gets no rest.
2016-10-09 14:44:27 -03:00
twinaphex d82055bc04 (libretro-common) net_compat.c - cleanup 2016-10-09 10:04:02 +02:00
twinaphex 481ebced22 Prevent implicit memsets 2016-10-09 09:56:03 +02:00
twinaphex 5f5571e241 (libretro-common) don't do implicit memset 2016-10-08 20:04:48 +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
aliaspider e9618dd6a0 (3DS) opendir with an empty string isn't returning NULL as it should. 2016-10-04 19:40:36 +01: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
Francisco José García García ba619c1582 (VITA) Increase thread stack, fixes overlays 2016-10-02 15:58:44 +02:00
twinaphex 107a962171 Add RARCH_OVERRIDE_SETTING_LIBRETRO_DEVICE 2016-10-01 06:02:18 +02:00
twinaphex 13cf804a70 Fix signed/unsigned mismatch warnings 2016-09-30 08:23:24 +02:00
twinaphex 7787475361 Relocate samples/utils 2016-09-30 02:49:10 +02:00
twinaphex 2c4da47bfd Move udp-test.c file around 2016-09-29 21:31:03 +02:00
twinaphex a1c2036769 Create samples/file/nbio 2016-09-29 21:28:56 +02:00
twinaphex 17ded1a9ac Move net/test to samples/net/test 2016-09-29 21:27:26 +02:00
aliaspider 4ebe84d89c (3DS) use Makefile.commmon for non griffin builds 2016-09-28 15:01:46 +01:00
twinaphex efdee89d09 Create samples 2016-09-28 12:44:41 +02:00
Logan McNaughton 1ea200b564 GLES3 fix
Fixes #3658
2016-09-26 15:30:42 -06:00
twinaphex b3ec735e75 Silence some more scan-build warnings 2016-09-25 15:25:20 +02: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 3f35e10014 Solve some warnings pointed out by scan-build 2016-09-25 05:55:55 +02:00
twinaphex 8025110f07 Cleanups 2016-09-25 05:18:42 +02: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 dac5b1aabd Fix warning 'dereference after null' 2016-09-23 02:05:12 +02:00
twinaphex d641930baf Fix statement is unreachable warning 2016-09-22 23:10:11 +02:00
Brad Parker d493273bcf use first extracted file if one is not specified and !need_fullpath and !block_extract 2016-09-22 16:03:31 -04:00
twinaphex 7dc297edfc (GLSM) Prevent warning 2016-09-22 04:09:10 +02:00
Gregor Richards b0672e47ae Fix socket_send_all_blocking to fail on errors not related to blocking 2016-09-21 14:01:25 -04:00
twinaphex 3cbc03b675 (libretro-common/utils) Buildfix 2016-09-21 12:35:38 +02:00
twinaphex 84d8d97ea5 Update libretro-common/utils 2016-09-21 12:33:42 +02:00
Twinaphex 4d49bb44f2 (OSX) Buildfix 2016-09-21 02:30:21 +02:00
twinaphex dbf6d9331f (rpng_encode.c) Use encoding_crc32 2016-09-21 02:16:56 +02:00
twinaphex 1a55721c78 Fix some high-priority Coverity-catched defects 2016-09-20 16:10:27 +02:00
twinaphex 14b297b144 Simplify file_archive_file_list_new 2016-09-20 03:25:34 +02:00
Brad Parker 992b87321a more archive paths 2016-09-19 21:06:23 -04: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 bfeb0111f8 Fix C89_BUILD errors 2016-09-19 18:29:10 +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
Twinaphex e72a62a905 Merge pull request #3621 from frangarcj/master
(VITA) Remove Warnings
2016-09-19 13:37:34 +02:00
frangarcj df4a1cc502 (VITA) Remove Warnings 2016-09-19 13:34:07 +02:00
Twinaphex 3642764064 (archive_file.c) fix warning 2016-09-19 13:30:29 +02:00
Brad Parker 0899cd091e fix selecting 7z archive files other than the first one 2016-09-19 02:43:09 -04:00
Brad Parker 653f5fe96c remove debug prints 2016-09-18 21:22:13 -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 162efd86dc uncompressed 7z files do not have a compressed size 2016-09-18 17:37:39 -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
twinaphex bd1eebc579 Nit 2016-09-18 19:07:48 +02:00
twinaphex 4a39d98bbd Nit 2016-09-18 19:06:22 +02:00
Alcaro b7526e9c61 Kill spaghetticode, no reason to re-roll an unrolled loop like that. 2016-09-18 19:05:06 +02:00
twinaphex 7da0c4fa46 Avoid these macros 2016-09-18 19:00:39 +02:00
twinaphex 64ea2256e5 Add undef preprocessor statements 2016-09-18 18:58:35 +02:00
twinaphex b432842b37 Uniquely name static variable 2016-09-18 18:57:18 +02:00
Brad Parker 25105ed565 upstream merge 2016-09-18 12:52:20 -04:00
Brad Parker dbbd49f9f9 merge with master, remove alignment test code 2016-09-18 12:44:00 -04:00
twinaphex 93738fae9f CXX_BUILD fix 2016-09-18 18:34:59 +02:00
Brad Parker f13bce4e50 - use the detected stream backend's crc32 function
- remove zlib/7zip ifdef from archive_file.c, task_content.c and task_database.c
- don't re-compute CRC from one stored in archive
2016-09-18 12:31:24 -04:00
twinaphex c2e2d41452 C89_BUILD fixes 2016-09-18 18:28:33 +02:00
twinaphex 4e32fb0fd7 Update archive_file.c 2016-09-18 18:23:14 +02:00
Alcaro 5d2c0ba04f buh, stupid headers 2016-09-18 18:21:43 +02: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
Twinaphex 61c3de1f6a Griffin buildfixes 2016-09-18 16:49:09 +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 eac7bcf38f Create unfinished version of matrix_4x4_lookat 2016-09-16 18:27:00 +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 f395e851c4 Use stdstring.h 2016-09-16 17:25:47 +02:00
twinaphex f101e1bb8e Update glsm 2016-09-16 03:18:56 +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
Francisco José García García 01d23d5d68 (VITA) Fix some bugs 2016-09-10 01:20:34 +02:00
frangarcj caffd7e3b0 Revert "(VITA) Use SDK sockets"
This reverts commit 5d1d1a1ed8620a5e164c0a0c84afa4fd5bfd774b.
2016-09-09 17:14:50 +02:00
frangarcj 731f3b093d (VITA) Use SDK sockets 2016-09-09 17:14:50 +02:00
frangarcj c3bf05de96 (VITA) Let's use SDK pthreads 2016-09-09 17:14:50 +02:00
twinaphex 4197d81dcf Update glsm.c 2016-09-09 16:04:23 +02:00
twinaphex 164d3b034c Get rid of OSX_PPC 2016-09-09 15:56:56 +02:00
twinaphex 0ceffb87f2 matrix_4x4_ortho - cleanup 2016-09-09 04:02:41 +02:00
twinaphex 2080301088 matrix_4x4_multiply - add early return to prevent null
pointer dereferences
2016-09-07 00:57:05 +02:00
frangarcj 434d70ce13 (VITA) Silence rthreads 2016-09-06 09:27:52 +02:00
frangarcj 5be5ce8416 (VITA) libco: Fix small bug 2016-09-06 09:26:25 +02:00
Francisco José García García 105d5fc20f (VITA) fiber based libco 2016-09-06 00:08:17 +02:00
Alcaro 5aa0628ebf Kill an overflow or two. Or twelve. 2016-09-04 18:12:03 +02:00
twinaphex 4811e1124d (features CPU) add CMOV 2016-09-04 06:07:45 +02:00
twinaphex fea033268a sceRtcGetCurrentTick's first and only parameter is uint64_t * 2016-09-01 17:20:17 +02:00
twinaphex 174852ef35 (PSP) PSP doesn't have SceRtcTick typedef 2016-09-01 17:11:58 +02:00
Brad Parker ae36b0f73d 7z extension is .7z not .zip 2016-08-30 16:31:53 -04:00
Francisco José García García 7f0624ff32 (VITA) Update to latest sdk 2016-08-30 14:27:12 +02:00
twinaphex aed2dfe630 (psp_pthread.h) Cleanup 2016-08-29 21:26:06 +02:00
twinaphex 65cae1fdc0 Update 2016-08-29 17:55:51 +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 9629bd126e Turn utf8_walkbyte into static INLINE 2016-08-27 02:24:32 +02:00
Twinaphex efc245b85a Remove unused variables 2016-08-27 02:23:44 +02:00
Alcaro 9ffffcd249 Fix missing header 2016-08-26 18:29:41 +02:00
Alcaro dd7caa4ad4 Wipe out this flag, not needed anymore. 2016-08-26 17:47:46 +02:00
Brad Parker 6eebbfd8ae use const delimiter and remove pointer arithmetic 2016-08-26 11:36:52 -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
Francisco José García García c852c98e70 (VITA) FIX mame2000 2016-08-25 13:56:24 +02:00
Alcaro 0bd9ccddc1 false is most certainly not 1. 2016-08-25 12:02:42 +02:00
Brad Parker 5275c0a45d correctly handle content paths containing a hash (#), fixes issue #3273 2016-08-24 16:54:10 -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
twinaphex db36b40b20 Rework this code 2016-08-23 20:12:37 +02:00
twinaphex 1b44f44822 Buildfix 2016-08-23 20:11:12 +02:00
Francisco José García García 5bd2364575 (VITA) Fix screenshots and some debug options 2016-08-23 18:17:46 +02: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
twinaphex 838524dc49 Add thumb2 support for libco armeabi 2016-08-20 21:55:40 +02:00
Alcaro be4e0aee1f Clean up this thing 2016-08-20 21:23:32 +02:00
twinaphex 7f3e63a18d config_set_string - prevent potential crash 2016-08-20 21:21:09 +02:00
Alcaro e559085540 Merge pull request #3407 from meleu/screenshot_with_gamename
Screenshot with gamename
2016-08-19 22:08:34 +02:00
meleu db204afc9c changes based on the @Alcaro suggestions
Suggestions made here: https://github.com/libretro/RetroArch/pull/3407
2016-08-19 16:31:13 -03:00
twinaphex acf76f6a58 (libretro-common) Simplify compat_ctz 2016-08-19 20:18:04 +02:00
meleu c92efacebe avoid problems if ROM name has percents
As @Alcaro noted here: https://github.com/libretro/RetroArch/pull/3407
2016-08-19 10:13:33 -03:00
meleu e1f4b41bb6 added fill_str_dated_filename() prototype 2016-08-19 08:49:09 -03:00
meleu 4e44ab99a1 added fill_str_dated_filename() function
This function creates a 'dated' filename prefixed by the string `in_str`, and concatenates extension (`ext`) to it.
2016-08-19 08:45:58 -03:00
Francisco José García García 6e920f17dc (VITA) Add threads support 2016-08-19 02:59:25 +02:00
Alcaro 4ce3683333 Fix indentation derp 2016-08-17 13:53:41 +02:00
twinaphex 602d076aef (libco) Add libco for PSP2/Vita 2016-08-15 04:28:08 +02:00
twinaphex 1eaa29eed8 Fix prototype 2016-08-12 01:09:56 +02:00
twinaphex b75aef372b Silence some warnings 2006-01-17 06:14:21 +01:00
twinaphex 4791174ea3 (MSVC 2003) Fixes 2006-01-17 06:11:55 +01:00
twinaphex 8617b9f649 Add zconf headers 2016-08-12 01:02:19 +02:00
twinaphex fed9c1521b Use vsnprintf for MSVC 2003 2006-01-17 04:51:24 +01: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
twinaphex c675bcb7d8 (Rthreads) Update for Vita 2016-08-08 19:42:36 +02:00
Alcaro 43a6a667be We don't need this one. 2016-08-08 19:14:00 +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
Francisco José García García 3cf448b6e2 (VITA) Fix File Reading 2016-08-05 01:47:05 +02:00
Francisco José García García 63b637cf6c (VITA) Fix reading files 2016-08-04 02:05:55 +02:00
twinaphex b64070793a (PS3) Fix two warnings 2016-08-03 16:30:58 +02:00
twinaphex 3d667999ab Cleanup 2016-08-02 16:19:27 +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
Francisco José García García 80c3bf0ec2 (VITA) FIX gets 2016-07-31 09:58:53 +02:00
Ernesto Ramirez 5b17cbcb2a (GX) Fix long lasting bug that prevented PCE CD and SEGA CD games to run on Wii. 2016-07-25 20:27:08 -05:00
twinaphex a532bc2b0e (PS3 Salamander) Silence unused variable warning 2016-07-24 11:33:44 +02:00
twinaphex 68a5cdb984 Update glsm 2016-07-14 17:29:50 +02:00
twinaphex f91a44cbc7 Update vulkan_symbol_wrapper.c 2016-07-11 23:40:24 +02:00
Yoshi Sugawara 9173397f08 iOS 10 support: cores need to be in the modules directory of app bundle, added script to code sign cores in modules directory 2016-07-10 09:02:40 -10:00
Twinaphex a2c435ab2c Reintroduce deinit and get rid of slock_unlock at bottom of threaded_worker function 2016-07-06 16:35:00 +02:00
twinaphex 51e2da2cbd Revert this back - reintroduce the leak but should hopefully
solve issues on newer Intel CPUs
2016-07-06 13:21:08 +02:00
twinaphex 6a9fb1186d Should hopefully fix issues 2016-07-06 00:32:41 +02:00
twinaphex b0ea1e09ac thread_wrapp - improve this a bit 2016-07-04 11:39:20 +02:00
twinaphex b2bc4cd300 Check if data->func is NULL and if so, early return 2016-07-04 11:32:43 +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 3f8b1d04ed Reuse code 2016-06-29 18:54:40 +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
Andre Leiradella 50f538dc9e honor the tasks 'mute' property again 2016-06-28 17:02:01 -03: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 0709f2b11b (libretro-common) (file_path.c) Cleanups 2016-06-28 12:43:50 +02:00
twinaphex 481e7d2f34 (libretro-common) Move STRING_REP_UINT64 to retro_common_api.h 2016-06-28 08:50:22 +02:00
twinaphex 1c1c1fa32c Don't return false for this symbol lookup so that MESA Intel Ivy Bridge Vulkan drivers will still work 2016-06-27 23:57:57 +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 aefcca125a Fix TGA color conversion 2016-06-27 09:23:01 +02:00
Sebastien Ronsse 62b1c5a7af image transfer: Add TGA support to image_transfer_new function 2016-06-27 17:17:35 +10: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
Twinaphex 6ab368811f Merge pull request #3152 from FIX94/master
some small code corrections for the video settings
2016-06-25 17:19:24 +02:00
FIX94 dc127f1555 fixed a typo in the video settings setup and added back display of the driver specific video settings
(GX) removed a compiler warning
2016-06-25 17:14:31 +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 f7bd9a7843 HAVE_IMAGEVIEWER no longer has to be excluded for the C89/C90 build 2016-06-21 06:59:31 +02:00
Sebastien Ronsse e77599be32 image texture: Add length argument to image_transfer_process 2016-06-21 14:34:34 +10:00
twinaphex 4e534fec6f Update GLSM 2016-06-21 00:35:57 +02:00
twinaphex e3fa9ae5ee Update GLSM 2016-06-20 21:34:26 +02:00
twinaphex 390a7d76c6 (task_queue/RetroArch) Add ugly kludge so that we print progress 2016-06-20 06:16:46 +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 7e822f8126 Update 2016-06-17 02:25:27 +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 7c92289a96 Buildfix 2016-06-09 03:54:40 +02:00
Alcaro b70c5b7529 We're including the ctype headers already, let's use them. 2016-06-08 19:42:09 +02:00
Alcaro 152adc953c Someone forgot something... (why aren't we using normal int here?) 2016-06-08 19:40:57 +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 14fce400ce Another C89 fix 2016-06-07 00:17:00 +02:00
twinaphex 4b76f88939 Update libretro-common 2016-06-06 21:48:59 +02:00
Twinaphex 680aafe8f8 Merge pull request #3077 from aliaspider/master
(VITA) build fix for latest sdk.
2016-06-05 23:03:03 +02:00
aliaspider 5a80bd6b30 (VITA) build fix for latest sdk. 2016-06-05 22:01:25 +01:00
Alcaro 2b338651ab That's not just use after free, it's complete crazy. 2016-06-05 22:50:01 +02:00
twinaphex 7e2a077bd5 filestream_eof - prevent 'improper usage of negative value' 2016-06-05 19:20:08 +02:00
Twinaphex 810447e3ec (file_stream.c) Fix warnings 2016-06-04 07:37:54 +02:00
twinaphex 563089558b Implement filestream_getc for PSP/Vita by just calling filestream_read
instead
2016-06-04 03:42:55 +02: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 0b6578f869 Turn file_list_epand_if_needed static 2016-06-03 10:16:40 +02:00
twinaphex 6e86f3ab5b Create file_list_expand_if_needed 2016-06-03 10:15:49 +02:00
twinaphex 7d7a9a2384 Move increment of list to file_list_add 2016-06-03 10:12:35 +02:00
twinaphex 8a6f1be61c Create static function file_list_add 2016-06-03 10:10:19 +02:00
twinaphex 3ef925d692 file_list_append - use memset too 2016-06-03 10:06:48 +02:00
twinaphex 44dc3f70b4 Fix regression in file_list_prepend 2016-06-03 10:05:05 +02:00
twinaphex 0ae2e90783 Buildfix for targets that don't have HAVE_BUFFERED_IO defined 2016-06-03 09:24:34 +02:00
twinaphex d95c421ba9 (config_file.c) Cleanups 2016-06-03 07:52:57 +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 e9cf351c67 Move settings around for User Interface -
(config_file) Try to get rid of forward declarations
2016-06-03 06:43:11 +02:00
Twinaphex 75ad88e171 Cleanups 2016-06-03 05:09:54 +02:00
twinaphex 2b33c731d0 Create RFILE_MODE_READ_TEXT 2016-06-03 03:14:42 +02:00
twinaphex 9c8f29c1ec (features_cpu.c) Use filestream 2016-06-03 00:17:09 +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
Alcaro 9b2f6522a2 Fix use-after-free (thanks, Coverity) 2016-06-02 21:31:08 +02:00
twinaphex d6430b2f5e Attempt to fix wrong sizeof argument 2016-06-02 20:45:32 +02:00
twinaphex 5eb43846da Prevent explicit NULL dereferenced warnings 2016-06-01 04:14:48 +02:00
twinaphex bc3eb34da5 Remove unused variables 2016-06-01 04:09:59 +02:00
twinaphex da6ac4aae7 Fix explicit NULL dereferenced warnings 2016-06-01 04:05:14 +02:00
twinaphex 2e42778f1e (task_queue.c) Prevent resource leak 2016-06-01 02:37:26 +02:00
Andre Leiradella 9cc830ecd6 fixed getting wrong alpha values from tRNS chunk 2016-05-29 11:30:04 -03:00
Andre Leiradella 88eab60b13 optimized palette decoding 2016-05-29 11:25:28 -03:00
Andre Leiradella d9ea20727c support tRNS chunks in palettized images 2016-05-29 01:03:44 -03: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
twinaphex 03ded43280 Prevent explicit null dereferenced warnings 2016-05-26 18:09:46 +02:00
twinaphex a98616b45b Fix explicit NULL dereferenced/dereference before null check warnings 2016-05-26 17:47:21 +02:00
twinaphex 0f954fd4c8 Resource leaks fixes (catched by Coverity) 2016-05-26 17:26:55 +02:00
twinaphex 20cc877ad3 (PS3) Cleanup warnings 2016-05-26 06:41:28 +02:00
twinaphex 7859868ffc (RPNG) Dehardcode return values 2016-05-25 15:24:18 +02:00
Sebastien Ronsse 58328fa2b0 rjpeg: Fix invalid read/writes during JPEG RGBA to ARGB conversion 2016-05-25 15:57:01 +10:00
twinaphex d037d12faa (RJPEG) Attempt to solve defect 2016-05-24 23:43:51 +02:00
twinaphex bfa6f49ae6 Fix logically dead code warnings 2016-05-24 22:12:51 +02: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
twinaphex 42971febba Fix resource leaks (pointed out by Coverity) 2016-05-24 22:01:43 +02:00
twinaphex 3cc84d60c8 (RJPEG) Cleanup 2016-05-24 20:54:32 +02:00
twinaphex fc37ef5c7d rjpeg_load_jpeg_image - cleanup 2016-05-24 20:44:46 +02:00
Twinaphex fae5eb89df rjpeg_process_image - cleanup 2016-05-24 20:36:27 +02:00
twinaphex d04810f5fd Reimplement rjpeg_process_image 2016-05-24 20:19:17 +02:00
twinaphex ae4cd05690 (RPNG) Simplification 2016-05-24 20:15:09 +02:00
Twinaphex 7e6f23ea54 (RJPEG) Cleanup 2016-05-24 20:05:45 +02:00
twinaphex 8f7e253f1f (config_file.c) Fix control flow issue 2016-05-24 14:20:03 +02:00
twinaphex ffaa32842f (libretro-common) Update 2016-05-24 14:18:29 +02:00
twinaphex d1d46a59db Rewrite file_list_capacity 2016-05-24 04:19:36 +02:00
twinaphex ac407588fa Include stdstring.h 2016-05-24 01:08:01 +02:00
radius 86b5b361da fix the last commit 2016-05-23 18:06:50 -05:00
radius 9300313fce fix lockup
this seems to fix a lockup that happens randomly on windows at startup, content load/content unload/controller hotplug
2016-05-23 17:57:15 -05: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 d5d2f7f8ee Fix resource leaks 2016-05-23 22:17:28 +02:00
twinaphex 974d3245d2 Fix logically dead code warnings 2016-05-23 22:04:00 +02:00
Twinaphex 44edf684db (RPNG) Another potential leak plugged 2016-05-23 21:33:26 +02:00
twinaphex faef7b498d (Coverity) Fix some resource leaks 2016-05-23 21:28:43 +02:00
twinaphex 0692a321c5 (GLSM )update 2016-05-22 03:49:42 +02:00
twinaphex 44bf799d36 Update GLSM 2016-05-21 23:00:39 +02:00
twinaphex 59f3e733fb (libretro-common) rthreads - PS3 buildfix 2016-05-21 13:38:07 +02:00
twinaphex 45cbe06401 rpng_process_image - cleanup resources if we fail 2016-05-20 21:05:27 +02:00
twinaphex 1fd7cf473d Initialize file_path 2016-05-20 19:17:21 +02:00
twinaphex d02d27f92a (PNG) Cleanup 2016-05-20 15:37:36 +02:00
twinaphex 033bc60939 (RPNG) Cleanup 2016-05-19 01:00:03 +02:00
twinaphex ceb657eba2 Cleanups 2016-05-19 00:51:34 +02:00
twinaphex 6c2e933321 rpng_process_init - free resources when failing 2016-05-19 00:46:07 +02:00
twinaphex a0974a899d (RPNG) Rewrite initialization of process struct 2016-05-19 00:42:05 +02:00
twinaphex e21a655dc6 (RPNG) Use image process codes 2016-05-18 17:18:36 +02:00
twinaphex 9b572d0fe4 Make RBMP optional too 2016-05-18 13:28:20 +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 248b99e8e7 (BMP) Fix color conversion 2016-05-17 22:40:29 +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 cecb50bd19 (RJPEG) Cleanups 2016-05-17 20:30:35 +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
twinaphex 99bcf5946c Take out DEBUG printfs 2016-05-17 16:04:54 +02:00
twinaphex 7a282eab23 (rbmp_encode.c) Cleanups 2016-05-17 15:58:50 +02:00
twinaphex a64f0a24c6 (RJPEG) Cleanups 2016-05-17 14:07:05 +02:00
Twinaphex beac855ff7 (RJPEG) Remove unused variable 2016-05-17 13:51:42 +02:00
twinaphex ce0376e382 Remove debug printf 2016-05-17 13:50:35 +02:00
twinaphex 185050075a (RJPEG) Cleanups 2016-05-17 12:56:11 +02:00
twinaphex 6c79ecdae7 (RJPEG) Cleanups 2016-05-17 12:52:45 +02:00
twinaphex 808004a132 (RJPEG) Cleanups 2016-05-17 12:47:46 +02:00
twinaphex 609d00b3d7 (RJPEG) Image needs to be converted from RGBA to ARGB 2016-05-17 12:17:45 +02:00
twinaphex 9202256c3c Don't need rjpeg__jpeg_test 2016-05-17 12:02:24 +02:00
twinaphex 64c176288b Should fix JPEG decoding tasks 2016-05-17 10:07:40 +02:00
twinaphex c62f8cc7f4 (algorithms/mismatch.c) __STDC_LIMIT_MACROS not necesary here 2016-05-17 09:21:30 +02:00
Alcaro c19a39f49c Set calling convention for those pointers. (Yes, it's ugly.) 2016-05-16 23:51:11 +02:00
twinaphex e9d29d246a (GLSM) Buildfix 2016-05-16 20:12:33 +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 9e9584c42d (GLSM) Add documentation 2016-05-16 19:11:38 +02:00
twinaphex d2fc91295e Revert "(Apple) Add workarounds for Apple when not using GL core profile"
This reverts commit 1be3042ef9.
2016-05-16 18:55:06 +02:00
twinaphex 1be3042ef9 (Apple) Add workarounds for Apple when not using GL core profile 2016-05-16 18:52:53 +02:00
twinaphex bb1d1da693 Remove runloop_iterate_data 2016-05-16 17:29:02 +02:00
twinaphex cb801ec065 (Windows) Buildfixes 2016-05-16 15:40:08 +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 cde1fb0490 Cleanups 2016-05-16 12:08:43 +02:00
twinaphex 65d33700d4 Move audio_utils to libretro-common as s16_to_float 2016-05-16 11:33:49 +02:00
Twinaphex 0c1d639911 (iOS) Buildfix 2016-05-16 11:15:46 +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 0d833c903a Merge remote-tracking branch 'origin/vulkan-windows' 2016-05-16 07:51:01 +02:00
twinaphex 1983604134 Remove GLSM_CTL_IS_FRAMEBUFFER_LOCKED 2016-05-16 06:02:03 +02:00
twinaphex e5f00e8346 (PS3) Non-zipped rom file loading should work again 2016-05-15 20:45:21 +02:00
twinaphex 01777ac500 (GLSM) Add some documentation 2016-05-15 10:05:31 +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 271f4b6f8d Update 2016-05-15 06:07:25 +02:00
twinaphex b56f880c44 (memalign) Cleanups 2016-05-15 06:06:07 +02:00
Alcaro 33e9003107 This is just noise. 2016-05-14 23:20:35 +02:00
twinaphex 1e27312c25 Get rid of unused functions 2016-05-14 13:35:50 +02:00
twinaphex d3f4be0bbc (features_cpu.c) Fix mingw error 2016-05-14 02:54:56 +02:00
twinaphex 9e1276d76f (MSVC) Buildfixes 2016-05-14 01:32:05 +02:00
twinaphex 3257ecdaef (features_cpu.c) Move _WIN32 up in priority 2016-05-14 01:27:09 +02:00
twinaphex 23f410c5fe (RPNG) Fix test 2016-05-14 01:12:05 +02:00
twinaphex f8e99403a4 Cleanups 2016-05-14 00:48:40 +02:00
twinaphex 7a16cf8806 Revert "(RJPEG) Remove rjpeg_test"
This reverts commit 5a4b062b0d.
2016-05-13 13:31:10 +02:00
twinaphex e56abc03b3 (rjpeg_process_image) Handle error 2016-05-13 11:15:31 +02:00
twinaphex 5a4b062b0d (RJPEG) Remove rjpeg_test 2016-05-13 11:10:59 +02:00
twinaphex 19eaa05040 (RJPEG) Cleanups 2016-05-13 10:55:22 +02:00
twinaphex 101539b489 (RJPEG) more internal changes 2016-05-13 09:58:42 +02:00
twinaphex ee95af8ae3 (RPNG) Cleanup 2016-05-13 09:51:08 +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 1512d36220 rjpeg_process_image should not set the texture image's width/height -
that is done later
2016-05-13 09:34:42 +02:00
twinaphex 1e872108b7 (RJPEG) Add back rgba to bgra routines 2016-05-13 09:27:58 +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
twinaphex f20b969165 (libretro-common) features_cpu - reimplement ARM cpu features code 2016-05-13 04:02:08 +02:00
Andre Leiradella bc8b75148e updated with upstream 2016-05-12 22:36:49 -03:00
twinaphex 3bdfbb6318 features_cpu.c - cleanups 2016-05-12 12:22:32 +02:00
twinaphex 597102e863 Remove __ARM_ARCH__ ifdefs 2016-05-12 12:15:53 +02: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 eec4218ebb (RJPEG) Use features_cpu 2016-05-10 20:36:05 +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 ea8715ca92 (RJPEG) Cleanup 2016-05-10 07:16:27 +02:00
twinaphex f3af0263ed Remove RJPEG_NO_JPEG 2016-05-10 07:15:23 +02:00
twinaphex bb063fb692 Cleanups 2016-05-10 07:13:52 +02:00
twinaphex 8d3f6c39ac Replace STBI_ with RJPEG_ 2016-05-10 07:10:42 +02:00
Twinaphex b59b56d2fc (RJPEG) Last buildfixes 2016-05-10 07:09:27 +02:00
twinaphex 3c4329aa1f (RJPEG) uniquely namespace all functions 2016-05-10 07:08:45 +02:00
Twinaphex 88f259d3ef (RJPEG) Mass renaming (pt. 1) 2016-05-10 07:05:52 +02:00
twinaphex c321c161a8 Update rjpeg 2016-05-10 06:51:58 +02:00
twinaphex f931ce7606 Adds conversion when color shifts are BGRA 2016-05-10 06:02:00 +02:00
twinaphex 7462988f33 Use stb_image jpeg code 2016-05-10 05:50:38 +02:00
Sebastien Ronsse bab8935b58 rbmp encode: Fix memory leak when saving image 2016-05-10 13:09:38 +10:00
Sebastien Ronsse 3db9623809 rbmp encode: Fix saving mechanism resulting in vertically flipped screenshots. 2016-05-10 11:51:56 +10:00
twinaphex b9c9df3a8b (GLSM) Buildfix 2016-05-10 03:48:05 +02:00
twinaphex bca9c687a1 (RJPEG) Remove register storage class 2016-05-10 03:23:15 +02:00
twinaphex 8bcc889d90 Comment this out - makes all tasks way too slow 2016-05-09 07:54:45 +02:00
twinaphex 87b83ecf56 (RetroPad) Use socket_set_target 2016-05-09 06:40:51 +02:00
twinaphex e87f030246 C89_BUILD fixes 2016-05-09 05:50:08 +02:00
twinaphex e1d04737cb (OSX PPC) Add line to libretro-common/include/compat/zlib.h 2016-05-09 04:51:18 +02:00
twinaphex 3f3adf0c0e Add return value for inet_aton 2016-05-09 02:50:02 +02:00
twinaphex 510c804781 (Win32) Provide inet_aton implementation 2016-05-08 19:12:01 +02:00
twinaphex 4791c37039 (Vita) Reimplement inet_ptrton for Vita 2016-05-08 18:09:03 +02:00
twinaphex 60789e0141 Cleanups 2016-05-08 16:25:26 +02:00
twinaphex e2090dc02d Vita doesn't support inet_pton either 2016-05-08 16:13:55 +02:00
twinaphex 11ec23bc18 Create inet_ptrton 2016-05-08 15:41:34 +02:00
Hans-Kristian Arntzen 8faa6231db Fix some warnings. 2016-05-08 09:37:27 +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 ef5da43d35 Cleanups 2016-05-07 18:35:06 +02:00
twinaphex 7f272a4bd0 Add missing parameters 2016-05-07 16:24:26 +02:00
twinaphex 0a2544c1bf (rjpeg) Try manual conversion to RGB 2016-05-07 06:55:52 +02:00
twinaphex c5895b4aa0 (libretro-common/formats/jpeg/rjpeg.c) Allocate out_img->pixels 2016-05-07 06:49:48 +02:00
twinaphex f86d4d400d Start adding jpeg hooks 2016-05-07 06:20:17 +02:00
twinaphex 7b79975516 Start adding rjpeg_image_load 2016-05-07 06:16:02 +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 0ab61a2428 (libretro-common) Add rjpeg 2016-05-07 04:33:54 +02:00
twinaphex 268be70fe8 Cleanups 2016-05-07 04:15:39 +02:00
twinaphex b8644536d2 (video_texture_image.c) Cleanups - we use nbio now in video_texture_image_load
for both TGA and PNG, and we remove the file I/O based RPNG function
2016-05-07 04:04:09 +02:00
twinaphex b38e269215 (GLSM) Some buildfixes 2016-05-07 01:32:34 +02:00
twinaphex f4553505a4 (GLSM) Update 2016-05-07 00:07:49 +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
Twinaphex 77649b2f23 Fix memory leak in async_job_free 2016-05-06 19:14:38 +02:00
twinaphex 648da7b6e6 (task_queue) Remove unused variable 2016-05-06 18:57:11 +02:00
Sebastien Ronsse 8f6bb23f38 task queue: Implement running tasks retrieval mechanism 2016-05-06 14:41:45 +10:00
twinaphex 10fe532d29 Cleanup 2016-05-06 06:25:06 +02:00
twinaphex 5db093924c Cleanup - slock_new 2016-05-06 06:05:30 +02: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 18e94a5365 (task_queue.c) Remove unused variable 2016-05-05 17:46:04 +02: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
Sebastien Ronsse cc4b5dbf35 task queue: Fix multi-threading issues in threaded worker 2016-05-05 10:18:29 +10:00
Sebastien Ronsse d3c3d20994 task queue: Add task_queue_remove method 2016-05-05 10:18:29 +10: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
Sebastien Ronsse 3c23159148 Fix deadlock due to missing unlock in task threaded find function 2016-05-04 15:23:30 +10:00
twinaphex f9bd28663a Nit 2016-05-04 04:03:46 +02:00
twinaphex d8dcaab996 (RPNG) Cleanup 2016-05-04 03:58:29 +02:00
Alcaro 64501d2cb0 No point pegging the CPU to download a file. 2016-05-03 18:17:12 +02:00
twinaphex f60676f43e Create inet_htons 2016-05-03 04:35:51 +02:00
twinaphex 35b7d0423f init_network - fix some codepaths 2016-05-03 04:28:58 +02:00
twinaphex fd2096f3dc Cleanups 2016-05-03 04:26:18 +02:00
twinaphex 2eb4571290 Move this code to net_compat.c 2016-05-02 19:44:12 +02:00
twinaphex dbd56997f4 Changes to getaddrinfo_retro 2016-05-02 19:30:12 +02:00
twinaphex 44cfa6d876 Cleanup 2016-05-02 19:04:03 +02:00
twinaphex b25b2a0e6c Some code de-duplication 2016-05-02 18:54:55 +02:00
twinaphex 00a49d068e Implement TCP protocol for socket_create 2016-05-02 18:47:34 +02:00
twinaphex 317ecabadf (Retropad) Use socket_create 2016-05-02 18:45:05 +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 eeeec23c66 (OSX) Static code analyzer cleanups 2016-05-02 16:57:53 +02:00
twinaphex 96723f3a57 Cleanup 2016-05-02 02:10:45 +02:00
twinaphex 31f3fc0abb Create socket_receive_all_nonblocking 2016-05-02 02:09:22 +02:00
twinaphex e29b915536 Cleanups 2016-05-02 00:18:39 +02:00
Alcaro f11a240190 Clean up the error handlers around here. 2016-05-01 23:50:20 +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 d2a80e26db Buildfixes 2016-05-01 21:38:19 +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 5032c677e6 (Net) Only comment out printf 2016-05-01 14:44:12 +02:00
twinaphex 8dd4333e16 (net_http) Comment out debug logging 2016-05-01 14:38:23 +02:00
twinaphex 5d449d5024 (libretro-common) net_http - cleanups 2016-04-28 11:58:44 +02:00
Alcaro 68a17c5401 Fix HTTP protocol violation. 2016-04-27 21:04:16 +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 d4a50935d2 C89_BUILD fix 2016-04-27 10:58:38 +02:00
Alcaro bbb7871028 Why exactly are we iterating over this string one character per frame? 2016-04-23 22:50:46 +02:00
twinaphex 08b7ac500b (libretro-common) Updates 2016-04-23 10:40:46 +02:00
twinaphex 9a1fed8598 Don't bake in strlcpy/strlcat for OSX 2016-04-22 08:13:13 +02:00
twinaphex b34da03281 Update 2016-04-22 05:31:56 +02:00
twinaphex ac18671ead Update libretro-common 2016-04-22 05:28:49 +02:00
twinaphex 4750e87c76 (GLSM) Add comments 2016-04-21 22:47:48 +02:00
Twinaphex 66ba52eab0 CXX_BUILD fixes 2016-04-17 07:49:54 +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
twinaphex 3e4d7c404a Should hopefully fix file_list_prepend 2016-04-11 22:35:45 +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 8e2dada12a (libretro-common) message_queue.c - cleanups 2016-04-08 02:59:06 +02:00
twinaphex 8ba1f2fca6 (libretro-common) archive_file_zlib.c - cleanup 2016-04-08 02:54:37 +02:00
twinaphex e88e580832 (libretro-common) archive_file.c - Cleanups 2016-04-08 02:51:17 +02:00
twinaphex 175d601a4e Make it possible to initialize memory stream interface in
writable mode
2016-04-07 05:06:41 +02:00
twinaphex 9b4bb51c2e Cleanup filestream_tell 2016-04-07 04:20:09 +02:00
twinaphex 55a28eb8a3 Cleanup filestream_seek 2016-04-07 04:16:46 +02:00
twinaphex 2e66300320 Cleanup filestream_get_fd 2016-04-07 03:35:12 +02:00
twinaphex b20a03f3b9 Add unimplemented message 2016-04-07 03:30:02 +02:00
twinaphex 502c2a41a9 Only define HAVE_BUFFERED_IO if platform is not PS3/PSP or Vita 2016-04-07 03:29:17 +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
twinaphex f51e0f62e5 Add intfstream_seek 2016-04-07 02:21:43 +02:00
twinaphex 67cf1153c6 (streams/memory_stream.c) Cleanup 2016-04-07 02:15:48 +02:00
twinaphex 2a3bba34e0 Add intfstream_gets/intfstream_getc 2016-04-07 02:13:40 +02:00
twinaphex a20a2da85e Add intfstream_read/intfstream_write 2016-04-07 02:06:04 +02:00
twinaphex 554ca4f087 (libretro-common) Add intfstream_open 2016-04-07 01:58:54 +02:00
twinaphex 5eb3bb05f7 Start adding streams/interface_stream.c 2016-04-06 21:58:23 +02:00
twinaphex 7fe34b97a6 (libretro-common) streams - cleanups 2016-04-06 17:03:17 +02:00
twinaphex 734ef07fcc (file_stream.c) Cleanups 2016-04-06 16:55:17 +02:00
twinaphex cce0320bb5 (libretro-common) Cleanups 2016-04-06 16:48:51 +02:00
twinaphex 001aa3ba4a Add ssem_get - SDL_SemValue equivalent 2016-04-05 19:08:41 +02:00
twinaphex db24cb1ec5 (libretro-common) Update 2016-04-05 18:52:58 +02:00
twinaphex 78426895db (libretro-common) std=c99 compatibility for rsemaphore.c 2016-04-05 18:42:16 +02:00
twinaphex 26d37e006a (libretro-common) This should allow rthreads.c to compile with -std=c99 2016-04-05 17:52:23 +02:00
twinaphex 490a2f77ae Update libretro-common 2016-03-31 13:27:54 +02:00
Hans-Kristian Arntzen 72f65396c7 Fix cross-compile build on Linux. 2016-03-29 15:50:12 +02:00
twinaphex 1d5955bced (libretro-common) Update comments 2016-03-24 05:57:48 +01:00
twinaphex 1b289c0f05 (libretro-common) Update 2016-03-24 04:23:17 +01:00
twinaphex e41127459e Rename 'filestream' functions 2016-03-24 04:09:25 +01:00