Commit Graph

1648 Commits

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