Commit Graph

1648 Commits

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