Commit Graph

1836 Commits

Author SHA1 Message Date
twinaphex
73acd4aa0f (sinc_resampler.c) Do away with function pointer 2017-01-30 18:45:37 +01:00
twinaphex
cdb45a38d3 Refactor code - do away with sinc_resampler_common 2017-01-30 18:43:09 +01:00
twinaphex
21508003c9 Create sinc_resampler_common 2017-01-30 18:15:41 +01:00
Alcaro
22cf87adc9 Shut up false positive 2017-01-28 18:07:00 +01:00
twinaphex
544c7a3c92 Solve warnings 2017-01-28 00:28:11 +01:00
Brad Parker
0e90ab36a0 fix rwav sample memcpy 2017-01-27 18:02:16 -05:00
Brad Parker
18f78613ae Merge branch 'wav_loader' 2017-01-27 11:13:28 -05:00
Brad Parker
9c9fc5b765 16-bit samples don't need conversion from 8-bit 2017-01-27 11:12:45 -05:00
Brad Parker
d7aaab7a33 fixes 2017-01-26 21:20:59 -05:00
Brad Parker
9cf4562f26 fix memory allocation 2017-01-26 18:46:50 -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
f8ad1c6622 use aligned memory buffers 2017-01-25 17:30:15 -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
e3842d4169 Make audio_mix.c C89-compatible 2017-01-24 16:59:03 +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
379ce5eb05 Revert "Guard crash on OSX"
This reverts commit 1afda04966.
2017-01-23 14:14:46 +01:00
twinaphex
3e87196a43 Revert "Implicit declaration buildfix"
This reverts commit 77fa8c39ef.
2017-01-23 14:14:40 +01:00
twinaphex
77fa8c39ef Implicit declaration buildfix 2017-01-23 14:11:22 +01:00
Twinaphex
1afda04966 Guard crash on OSX 2017-01-23 14:10:51 +01:00
twinaphex
7c722fca9a (nbio_stdio.c) Try to prevent 'argument cannot be negative' coverity warning 2017-01-22 20:30:47 +01:00
twinaphex
67f850c3dc Prevent another NULL pointer dereference 2017-01-22 20:06:11 +01:00
twinaphex
4feab7a268 (trans_stream_zlib.c) Add some early returns in case it's a NULL pointer 2017-01-22 20:04:58 +01:00
Brad Parker
a2d37adc53 Windows 95 does not have GetFileAttributesEx 2017-01-22 13:48:49 -05: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
zeromus
168de31fb9 make scond_signal slightly more pthreads compliant (and other tidying). re: PR #4392 2017-01-21 22:44:31 -06:00
zeromus
3e8e02c953 change the main lock mutex to a critical section, and update copyrights year 2017-01-21 17:10:09 -06:00
zeromus
10157c5831 apply feedback re: PR #4392 2017-01-21 16:49:10 -06:00
twinaphex
dd1fa96321 Fix 2017-01-21 01:46:35 +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
c6e1b47d98 (libretro-common) Style nits 2017-01-17 19:20:15 +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
Brad Parker
e1f4db8081 Win2000 buildfixes 2017-01-16 20:41:08 -05:00
twinaphex
b95a817471 (GLSM) Update 2017-01-10 22:53:22 +01:00
twinaphex
a07f591859 (file_list.c) Cleanups 2017-01-10 22:24:46 +01:00
zeromus
f4c187e980 - port slock and scond fixes from desmume
- make sthread_isself return false for null test thread
full disclosure: this work was done months ago. I can't be 100% sure I've merged it correctly with recent rthreads.c changes
2017-01-09 16:46:35 -06:00
Josh Palmer
453d823d2a Fix jsonsax compilation on QNX, 'index' appears to be a reserved symbol 2017-01-09 20:26:09 +00:00
Josh Palmer
ef205447df QNX-specific default directory and file permission handling 2017-01-09 20:26:09 +00:00
twinaphex
99421b42d5 Update Makefile 2017-01-09 17:47:25 +01: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
92f9ad0714 Move audio DSP filters to libretro-common 2017-01-09 12:30:11 +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
Brad Parker
51504286be revert flush flug for positive OSD progress 2017-01-07 12:23:18 -05:00
Brad Parker
9d7fe2c3f0 early return is mutex is null 2017-01-05 21:20:37 -05:00
twinaphex
7d08244204 Prevent crash when togglign between thraded and non-threaded
video
2017-01-05 08:56:16 +01:00
twinaphex
faf939856b Rewrite task_queue.c - get rid of messy internal Rarch code 2017-01-03 18:27:09 +01:00
twinaphex
7dfd5625ab Set flush to false for task queue messages 2017-01-03 17:57:52 +01:00
twinaphex
89dcc9bf5f Task queue - shows all the task queue messages now 2017-01-03 08:42:33 +01:00
Alcaro
9cf987c328 warning: comparison between signed and unsigned integer expressions 2017-01-02 02:18:54 +01:00
Alcaro
f95759c39b No need for those casts 2017-01-02 02:11:30 +01:00
twinaphex
dae80e4e26 (MSVC) Buildfixes 2017-01-02 01:41:00 +01:00
twinaphex
f94d07b0fc Cleanup msg_queue_new 2017-01-01 05:58:12 +01:00
Brad Parker
daa5553777 fix another race condition 2016-12-29 23:39:51 -05:00
Brad Parker
94309b3acd fix ThreadSanitizer data race warning 2016-12-29 23:16:00 -05:00
Twinaphex
f962723943 Silence warning - unused variable 2016-12-30 03:32:35 +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
3ec564f97c Revert "(task_save.c) Cleanups"
This reverts commit d6aae88737.
2016-12-27 20:11:22 +01:00
twinaphex
d6aae88737 (task_save.c) Cleanups 2016-12-26 18:25:42 +01:00
twinaphex
43459e2269 N/A 2016-12-26 06:44:04 +01:00
twinaphex
a2515339e9 This nonsense can go now 2016-12-25 02:11:42 +01:00
twinaphex
a94c20713d Update copyright 2016-12-24 20:24:06 +01:00
twinaphex
9db910c049 Cleanup 2016-12-24 20:22:23 +01:00
twinaphex
77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex
ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex
80d8a90bce (RTGA) Cleanups 2016-12-21 14:33:42 +01:00
twinaphex
a4ca4a7eb4 (rbmp.c) Cleanups 2016-12-21 14:13:40 +01:00
twinaphex
3050240a35 (rbmp.c) Cleanups 2016-12-21 14:08:40 +01:00
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