Commit Graph

2108 Commits

Author SHA1 Message Date
twinaphex 871621fdfa Move implementation file_archive_file_data to archive_file.c 2016-09-19 18:26:16 +02:00
Brad Parker fb26f3bbb7 fix divide by zero, use non-opaque type for file_archive functions 2016-09-19 12:06:07 -04:00
Twinaphex e72a62a905 Merge pull request #3621 from frangarcj/master
(VITA) Remove Warnings
2016-09-19 13:37:34 +02:00
frangarcj df4a1cc502 (VITA) Remove Warnings 2016-09-19 13:34:07 +02:00
Twinaphex 3642764064 (archive_file.c) fix warning 2016-09-19 13:30:29 +02:00
Brad Parker 0899cd091e fix selecting 7z archive files other than the first one 2016-09-19 02:43:09 -04:00
Brad Parker 653f5fe96c remove debug prints 2016-09-18 21:22:13 -04:00
Brad Parker 2a75b88d89 file_archive_extract_first_file can choose any file now 2016-09-18 21:22:13 -04:00
Brad Parker 162efd86dc uncompressed 7z files do not have a compressed size 2016-09-18 17:37:39 -04:00
Brad Parker 050ab56038 set archive path before extracting 2016-09-18 16:05:58 -04:00
twinaphex d25cace9ed Add config_file_exists 2016-09-18 21:55:53 +02:00
Brad Parker a7ffead8f6 fix more memory corruption 2016-09-18 15:20:27 -04:00
twinaphex bd1eebc579 Nit 2016-09-18 19:07:48 +02:00
twinaphex 4a39d98bbd Nit 2016-09-18 19:06:22 +02:00
Alcaro b7526e9c61 Kill spaghetticode, no reason to re-roll an unrolled loop like that. 2016-09-18 19:05:06 +02:00
twinaphex 7da0c4fa46 Avoid these macros 2016-09-18 19:00:39 +02:00
twinaphex 64ea2256e5 Add undef preprocessor statements 2016-09-18 18:58:35 +02:00
twinaphex b432842b37 Uniquely name static variable 2016-09-18 18:57:18 +02:00
Brad Parker 25105ed565 upstream merge 2016-09-18 12:52:20 -04:00
Brad Parker dbbd49f9f9 merge with master, remove alignment test code 2016-09-18 12:44:00 -04:00
twinaphex 93738fae9f CXX_BUILD fix 2016-09-18 18:34:59 +02:00
Brad Parker f13bce4e50 - use the detected stream backend's crc32 function
- remove zlib/7zip ifdef from archive_file.c, task_content.c and task_database.c
- don't re-compute CRC from one stored in archive
2016-09-18 12:31:24 -04:00
twinaphex c2e2d41452 C89_BUILD fixes 2016-09-18 18:28:33 +02:00
twinaphex 4e32fb0fd7 Update archive_file.c 2016-09-18 18:23:14 +02:00
Alcaro 5d2c0ba04f buh, stupid headers 2016-09-18 18:21:43 +02:00
Alcaro 62ecce7644 Fix weird types and other legacy leftovers 2016-09-18 18:09:16 +02:00
twinaphex 78e0e817dd Change wrong function prototype 2016-09-18 18:06:10 +02:00
twinaphex 91f7efc62d Add encoding_crc32 2016-09-18 17:22:12 +02:00
twinaphex 870182cd88 Turn into static function 2016-09-18 16:55:56 +02:00
Twinaphex 61c3de1f6a Griffin buildfixes 2016-09-18 16:49:09 +02:00
Brad Parker 7c29fd6c33 create 7z archive backend, enables scanning of 7z content 2016-09-18 10:31:21 -04:00
twinaphex 7c40d808df (libretro-common) Update 2016-09-17 23:21:11 +02:00
twinaphex eac7bcf38f Create unfinished version of matrix_4x4_lookat 2016-09-16 18:27:00 +02:00
twinaphex ee4c893c07 Update matrix_4x4_projection 2016-09-16 18:03:30 +02:00
twinaphex 028bb38ec5 Add vector_4 2016-09-16 17:45:41 +02:00
twinaphex f395e851c4 Use stdstring.h 2016-09-16 17:25:47 +02:00
twinaphex f101e1bb8e Update glsm 2016-09-16 03:18:56 +02:00
twinaphex 54b65b689e Potential buildfixes for GLES2 2016-09-16 03:06:44 +02:00
twinaphex fb133a7487 Update GLSM 2016-09-16 01:14:35 +02:00
Twinaphex 18c52dac39 (iOS) Buildfix 2016-09-14 15:42:40 +02:00
twinaphex 37ddbc10da Buildfix 2016-09-14 14:11:19 +02:00
twinaphex 1b9a067bcc Move code to apple_compat.h 2016-09-14 14:10:39 +02:00
twinaphex 79222de018 Move define to scaler_filter.c 2016-09-12 17:32:35 +02:00
Francisco José García García 01d23d5d68 (VITA) Fix some bugs 2016-09-10 01:20:34 +02:00
frangarcj caffd7e3b0 Revert "(VITA) Use SDK sockets"
This reverts commit 5d1d1a1ed8620a5e164c0a0c84afa4fd5bfd774b.
2016-09-09 17:14:50 +02:00
frangarcj 731f3b093d (VITA) Use SDK sockets 2016-09-09 17:14:50 +02:00
frangarcj c3bf05de96 (VITA) Let's use SDK pthreads 2016-09-09 17:14:50 +02:00
twinaphex 4197d81dcf Update glsm.c 2016-09-09 16:04:23 +02:00
twinaphex 164d3b034c Get rid of OSX_PPC 2016-09-09 15:56:56 +02:00
twinaphex 0ceffb87f2 matrix_4x4_ortho - cleanup 2016-09-09 04:02:41 +02:00
twinaphex 2080301088 matrix_4x4_multiply - add early return to prevent null
pointer dereferences
2016-09-07 00:57:05 +02:00
frangarcj 434d70ce13 (VITA) Silence rthreads 2016-09-06 09:27:52 +02:00
frangarcj 5be5ce8416 (VITA) libco: Fix small bug 2016-09-06 09:26:25 +02:00
Francisco José García García 105d5fc20f (VITA) fiber based libco 2016-09-06 00:08:17 +02:00
Alcaro 5aa0628ebf Kill an overflow or two. Or twelve. 2016-09-04 18:12:03 +02:00
twinaphex 4811e1124d (features CPU) add CMOV 2016-09-04 06:07:45 +02:00
twinaphex fea033268a sceRtcGetCurrentTick's first and only parameter is uint64_t * 2016-09-01 17:20:17 +02:00
twinaphex 174852ef35 (PSP) PSP doesn't have SceRtcTick typedef 2016-09-01 17:11:58 +02:00
Brad Parker ae36b0f73d 7z extension is .7z not .zip 2016-08-30 16:31:53 -04:00
Francisco José García García 7f0624ff32 (VITA) Update to latest sdk 2016-08-30 14:27:12 +02:00
twinaphex aed2dfe630 (psp_pthread.h) Cleanup 2016-08-29 21:26:06 +02:00
twinaphex 65cae1fdc0 Update 2016-08-29 17:55:51 +02:00
radius cb25a9e4b8 should fix other platforms 2016-08-27 23:39:47 -05:00
radius 7092c0dbf4 windows build fix 2016-08-27 22:59:47 -05:00
Brad Parker cf4bf344a9 add configuration option to toggle showing hidden files (default on), fixes issue #2769 2016-08-27 21:48:55 -04:00
twinaphex 9629bd126e Turn utf8_walkbyte into static INLINE 2016-08-27 02:24:32 +02:00
Twinaphex efc245b85a Remove unused variables 2016-08-27 02:23:44 +02:00
Alcaro 9ffffcd249 Fix missing header 2016-08-26 18:29:41 +02:00
Alcaro dd7caa4ad4 Wipe out this flag, not needed anymore. 2016-08-26 17:47:46 +02:00
Brad Parker 6eebbfd8ae use const delimiter and remove pointer arithmetic 2016-08-26 11:36:52 -04:00
Twinaphex 89d0798e68 Merge pull request #3423 from bparker06/utf8
Initial UTF-8 support for rgui/xmb/glui. Enables first 256 codepoints.
2016-08-26 17:27:20 +02:00
Twinaphex 7edf762ac6 Merge pull request #3426 from bparker06/hash_filename
correctly handle content paths containing a hash (#), fixes issue #3273
2016-08-26 17:20:43 +02:00
Brad Parker 4daecbf04d false is still not 1 2016-08-25 21:46:59 -04:00
Brad Parker 89f9b096e7 style cleanup and fix typos 2016-08-25 21:40:37 -04:00
Brad Parker 097f326298 simplify delimiting of compressed archive filenames 2016-08-25 16:18:29 -04:00
Francisco José García García c852c98e70 (VITA) FIX mame2000 2016-08-25 13:56:24 +02:00
Alcaro 0bd9ccddc1 false is most certainly not 1. 2016-08-25 12:02:42 +02:00
Brad Parker 5275c0a45d correctly handle content paths containing a hash (#), fixes issue #3273 2016-08-24 16:54:10 -04:00
Brad Parker 2e4fd540ac re-enable UTF-8 by default, inline utf8_walkbyte, fix missing ifdef in utf8_walk 2016-08-24 10:56:00 -04:00
twinaphex 465d17a6e2 (libretro-common) Update files 2016-08-24 01:45:59 +02:00
twinaphex 18f999d8de (libretro-common) Header updates 2016-08-24 01:22:29 +02:00
twinaphex 3547fb3351 (libretro-common) Update headers 2016-08-24 01:20:32 +02:00
Brad Parker 30e99927d2 undo previous new files and use existing encoding_utf header 2016-08-23 19:16:18 -04:00
Brad Parker 80d4626908 forgot to add extra utf8 files 2016-08-23 19:02:26 -04:00
twinaphex db36b40b20 Rework this code 2016-08-23 20:12:37 +02:00
twinaphex 1b44f44822 Buildfix 2016-08-23 20:11:12 +02:00
Francisco José García García 5bd2364575 (VITA) Fix screenshots and some debug options 2016-08-23 18:17:46 +02:00
Brad Parker c9815fadce update parameter list in header 2016-08-21 01:06:38 -04:00
Brad Parker cc582db6fb recursively scan directories for database content, fixes issue #3139 2016-08-21 00:59:41 -04:00
twinaphex 838524dc49 Add thumb2 support for libco armeabi 2016-08-20 21:55:40 +02:00
Alcaro be4e0aee1f Clean up this thing 2016-08-20 21:23:32 +02:00
twinaphex 7f3e63a18d config_set_string - prevent potential crash 2016-08-20 21:21:09 +02:00
Alcaro e559085540 Merge pull request #3407 from meleu/screenshot_with_gamename
Screenshot with gamename
2016-08-19 22:08:34 +02:00
meleu db204afc9c changes based on the @Alcaro suggestions
Suggestions made here: https://github.com/libretro/RetroArch/pull/3407
2016-08-19 16:31:13 -03:00
twinaphex acf76f6a58 (libretro-common) Simplify compat_ctz 2016-08-19 20:18:04 +02:00
meleu c92efacebe avoid problems if ROM name has percents
As @Alcaro noted here: https://github.com/libretro/RetroArch/pull/3407
2016-08-19 10:13:33 -03:00
meleu e1f4b41bb6 added fill_str_dated_filename() prototype 2016-08-19 08:49:09 -03:00
meleu 4e44ab99a1 added fill_str_dated_filename() function
This function creates a 'dated' filename prefixed by the string `in_str`, and concatenates extension (`ext`) to it.
2016-08-19 08:45:58 -03:00
Francisco José García García 6e920f17dc (VITA) Add threads support 2016-08-19 02:59:25 +02:00
Alcaro 4ce3683333 Fix indentation derp 2016-08-17 13:53:41 +02:00
twinaphex 602d076aef (libco) Add libco for PSP2/Vita 2016-08-15 04:28:08 +02:00
twinaphex 1eaa29eed8 Fix prototype 2016-08-12 01:09:56 +02:00
twinaphex b75aef372b Silence some warnings 2006-01-17 06:14:21 +01:00
twinaphex 4791174ea3 (MSVC 2003) Fixes 2006-01-17 06:11:55 +01:00
twinaphex 8617b9f649 Add zconf headers 2016-08-12 01:02:19 +02:00
twinaphex fed9c1521b Use vsnprintf for MSVC 2003 2006-01-17 04:51:24 +01:00
twinaphex 35939125b0 (MSVC 2003) Start adding MSVC 2003 solution files 2006-01-17 04:25:59 +01:00
twinaphex 340519fa61 (libretro-common) Updates 2016-08-11 00:41:11 +02:00
twinaphex c675bcb7d8 (Rthreads) Update for Vita 2016-08-08 19:42:36 +02:00
Alcaro 43a6a667be We don't need this one. 2016-08-08 19:14:00 +02:00
Logan McNaughton 2daf102111 Fix GLES3 compling 2016-08-07 22:33:07 -06:00
twinaphex df1c0bc9b4 Backport changes 2016-08-07 02:49:34 +02:00
Francisco José García García 3cf448b6e2 (VITA) Fix File Reading 2016-08-05 01:47:05 +02:00
Francisco José García García 63b637cf6c (VITA) Fix reading files 2016-08-04 02:05:55 +02:00
twinaphex b64070793a (PS3) Fix two warnings 2016-08-03 16:30:58 +02:00
twinaphex 3d667999ab Cleanup 2016-08-02 16:19:27 +02:00
twinaphex fda2495021 Get rid of HAVE_ZLIB_DEFLATE - implicitly enable it 2016-08-02 15:34:48 +02:00
Andre Leiradella 260625bd83 Use MD5 functions from libretro-common 2016-07-31 23:08:07 +01:00
twinaphex d245bbf12e Add sys/types.h to interface_stream.h 2016-07-31 17:53:14 +02:00
Francisco José García García 80c3bf0ec2 (VITA) FIX gets 2016-07-31 09:58:53 +02:00
Ernesto Ramirez 5b17cbcb2a (GX) Fix long lasting bug that prevented PCE CD and SEGA CD games to run on Wii. 2016-07-25 20:27:08 -05:00
twinaphex a532bc2b0e (PS3 Salamander) Silence unused variable warning 2016-07-24 11:33:44 +02:00
twinaphex 68a5cdb984 Update glsm 2016-07-14 17:29:50 +02:00
twinaphex f91a44cbc7 Update vulkan_symbol_wrapper.c 2016-07-11 23:40:24 +02:00
Yoshi Sugawara 9173397f08 iOS 10 support: cores need to be in the modules directory of app bundle, added script to code sign cores in modules directory 2016-07-10 09:02:40 -10:00
Twinaphex a2c435ab2c Reintroduce deinit and get rid of slock_unlock at bottom of threaded_worker function 2016-07-06 16:35:00 +02:00
twinaphex 51e2da2cbd Revert this back - reintroduce the leak but should hopefully
solve issues on newer Intel CPUs
2016-07-06 13:21:08 +02:00
twinaphex 6a9fb1186d Should hopefully fix issues 2016-07-06 00:32:41 +02:00
twinaphex b0ea1e09ac thread_wrapp - improve this a bit 2016-07-04 11:39:20 +02:00
twinaphex b2bc4cd300 Check if data->func is NULL and if so, early return 2016-07-04 11:32:43 +02:00
twinaphex 45c33c7acf Create fill_pathname_base_ext 2016-07-01 11:12:24 +02:00
twinaphex 83bafe1b19 Cleanups 2016-06-30 05:04:27 +02:00
twinaphex 5f71ecc1d1 Create fill_pathname_join_special_ext 2016-06-30 04:59:57 +02:00
twinaphex 5d7367e89a Create vec2_t/vec3_t typedefs 2016-06-29 19:42:41 +02:00
twinaphex 3f8b1d04ed Reuse code 2016-06-29 18:54:40 +02:00
twinaphex 668b4b5d26 Remove duplicate fill_string_concat 2016-06-29 18:14:42 +02:00
twinaphex a7e8707f7d Create fill_pathname_join_delim_concat 2016-06-29 17:51:25 +02:00
twinaphex c38c28a0f5 Create fill_pathname_join_concat 2016-06-29 17:46:50 +02:00
twinaphex f4ef5e82c2 Create and use fill_string_concat 2016-06-29 17:41:32 +02:00
Andre Leiradella 50f538dc9e honor the tasks 'mute' property again 2016-06-28 17:02:01 -03:00
twinaphex 7647c9be59 Add noext versions 2016-06-28 13:08:03 +02:00
twinaphex ca3eecf5c0 Create fill_pathname_join_noext 2016-06-28 13:05:46 +02:00
twinaphex c03e566eba Create filL_short_pathname_representation_noext 2016-06-28 12:49:37 +02:00
twinaphex 0709f2b11b (libretro-common) (file_path.c) Cleanups 2016-06-28 12:43:50 +02:00
twinaphex 481e7d2f34 (libretro-common) Move STRING_REP_UINT64 to retro_common_api.h 2016-06-28 08:50:22 +02:00
twinaphex 1c1c1fa32c Don't return false for this symbol lookup so that MESA Intel Ivy Bridge Vulkan drivers will still work 2016-06-27 23:57:57 +02:00
Hans-Kristian Arntzen c80127d29d Vulkan: Hook up async compute test more properly.
Supports multiple queues and queues from different families.
2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen 4729ec9e1b Add support for signalling semaphores from frontend.
Useful for conserving framebuffer memory.
2016-06-27 20:54:53 +02:00
twinaphex aefcca125a Fix TGA color conversion 2016-06-27 09:23:01 +02:00
Sebastien Ronsse 62b1c5a7af image transfer: Add TGA support to image_transfer_new function 2016-06-27 17:17:35 +10:00
twinaphex a51a259e58 Add STRING_REP_INT64 2016-06-27 08:24:28 +02:00
Hans-Kristian Arntzen 54c1759f45 Vulkan: Make a more general purpose symbol loader.
Avoids painful manual loading and wrapping function pointers everywhere
...

Reusable for cores, so move to libretro-common.
Also update built-in Vulkan headers.
2016-06-26 13:10:58 +02:00
Hans-Kristian Arntzen 1da2e2dbab Vulkan: Hook up negotiation interface device creation. 2016-06-26 10:40:07 +02:00
Hans-Kristian Arntzen 10a6d7a458 Vulkan: Begin hooking up negotiation interface. 2016-06-25 21:01:36 +02:00
Twinaphex 6ab368811f Merge pull request #3152 from FIX94/master
some small code corrections for the video settings
2016-06-25 17:19:24 +02:00
FIX94 dc127f1555 fixed a typo in the video settings setup and added back display of the driver specific video settings
(GX) removed a compiler warning
2016-06-25 17:14:31 +02:00
Hans-Kristian Arntzen 2293bce616 Vulkan: Sketch out context negotiation interface. 2016-06-25 12:14:56 +02:00
Hans-Kristian Arntzen d043123f71 Vulkan: Add support for queue transfers in HW rendering. 2016-06-25 11:39:52 +02:00
twinaphex dee7533d65 (libretro-common) Start creating STRING_REP_ULONG 2016-06-23 07:37:02 +02:00
twinaphex f7bd9a7843 HAVE_IMAGEVIEWER no longer has to be excluded for the C89/C90 build 2016-06-21 06:59:31 +02:00
Sebastien Ronsse e77599be32 image texture: Add length argument to image_transfer_process 2016-06-21 14:34:34 +10:00
twinaphex 4e534fec6f Update GLSM 2016-06-21 00:35:57 +02:00
twinaphex e3fa9ae5ee Update GLSM 2016-06-20 21:34:26 +02:00
twinaphex 390a7d76c6 (task_queue/RetroArch) Add ugly kludge so that we print progress 2016-06-20 06:16:46 +02:00
twinaphex 560f8dda60 Remove tasks_internal.c - no longer needed 2016-06-20 06:02:50 +02:00
Twinaphex f4772f07f3 Buildfix to features_cpu.h 2016-06-18 19:42:04 +02:00
twinaphex 7e822f8126 Update 2016-06-17 02:25:27 +02:00
twinaphex 39742dae1f Update GLSM 2016-06-17 02:18:17 +02:00
twinaphex 72355683a3 (GLSM) GLuint64 might not be available depending on which GLES
version we are targeting
2016-06-16 16:34:31 +02:00
twinaphex 455b28eaca Update complex.h 2016-06-15 21:37:03 +02:00
twinaphex 962c52c5ae Move math/complex.h to libretro-common 2016-06-15 21:35:48 +02:00
twinaphex 94545127a6 Ifdef __builtin_ctz to not be used for consoles 2016-06-11 22:21:04 +02:00
twinaphex e4f25d9984 Add new versions of whitespace trimming functions 2016-06-09 08:01:55 +02:00
twinaphex a63fcc36aa Remove string functions 2016-06-09 04:35:39 +02:00
Twinaphex 7c92289a96 Buildfix 2016-06-09 03:54:40 +02:00
Alcaro b70c5b7529 We're including the ctype headers already, let's use them. 2016-06-08 19:42:09 +02:00
Alcaro 152adc953c Someone forgot something... (why aren't we using normal int here?) 2016-06-08 19:40:57 +02:00
twinaphex a877fc24fb (libretro-common/stdstring) Add string_trim_whitespace_left/string_trim_whitespace_right 2016-06-08 19:12:23 +02:00
twinaphex f4c3a41f84 (Win32) Implement application process events 2016-06-07 17:28:51 +02:00
twinaphex b1fe3506d7 Change preprocessor conditional 2016-06-07 04:48:06 +02:00
twinaphex d14444e0fc Include intrin.h header for MSVC 2016-06-07 04:22:21 +02:00
twinaphex 53701a565f Add compat_clz_u16 2016-06-07 04:15:27 +02:00
twinaphex 6fc943228e Create libretro-common/include/compat/intrinsics.h 2016-06-07 04:07:12 +02:00
twinaphex d240437f6b Update GLSM 2016-06-07 02:18:45 +02:00
twinaphex e3919c9d49 (GLSM) Remove this -unnecessary 2016-06-07 02:09:19 +02:00
twinaphex 14fce400ce Another C89 fix 2016-06-07 00:17:00 +02:00
twinaphex 4b76f88939 Update libretro-common 2016-06-06 21:48:59 +02:00
Twinaphex 680aafe8f8 Merge pull request #3077 from aliaspider/master
(VITA) build fix for latest sdk.
2016-06-05 23:03:03 +02:00
aliaspider 5a80bd6b30 (VITA) build fix for latest sdk. 2016-06-05 22:01:25 +01:00
Alcaro 2b338651ab That's not just use after free, it's complete crazy. 2016-06-05 22:50:01 +02:00
twinaphex 7e2a077bd5 filestream_eof - prevent 'improper usage of negative value' 2016-06-05 19:20:08 +02:00
Twinaphex 810447e3ec (file_stream.c) Fix warnings 2016-06-04 07:37:54 +02:00
twinaphex 563089558b Implement filestream_getc for PSP/Vita by just calling filestream_read
instead
2016-06-04 03:42:55 +02:00
twinaphex b7bf13ed1c Update GLSM 2016-06-04 02:35:06 +02:00
twinaphex a759694b97 Add fxp.h 2016-06-03 22:35:12 +02:00
twinaphex 0b6578f869 Turn file_list_epand_if_needed static 2016-06-03 10:16:40 +02:00
twinaphex 6e86f3ab5b Create file_list_expand_if_needed 2016-06-03 10:15:49 +02:00
twinaphex 7d7a9a2384 Move increment of list to file_list_add 2016-06-03 10:12:35 +02:00
twinaphex 8a6f1be61c Create static function file_list_add 2016-06-03 10:10:19 +02:00
twinaphex 3ef925d692 file_list_append - use memset too 2016-06-03 10:06:48 +02:00
twinaphex 44dc3f70b4 Fix regression in file_list_prepend 2016-06-03 10:05:05 +02:00
twinaphex 0ae2e90783 Buildfix for targets that don't have HAVE_BUFFERED_IO defined 2016-06-03 09:24:34 +02:00
twinaphex d95c421ba9 (config_file.c) Cleanups 2016-06-03 07:52:57 +02:00
twinaphex a503db016e Create filestream_eof 2016-06-03 07:29:27 +02:00
twinaphex d40eade52c Create filestream_getline 2016-06-03 07:09:50 +02:00
twinaphex e9cf351c67 Move settings around for User Interface -
(config_file) Try to get rid of forward declarations
2016-06-03 06:43:11 +02:00
Twinaphex 75ad88e171 Cleanups 2016-06-03 05:09:54 +02:00
twinaphex 2b33c731d0 Create RFILE_MODE_READ_TEXT 2016-06-03 03:14:42 +02:00
twinaphex 9c8f29c1ec (features_cpu.c) Use filestream 2016-06-03 00:17:09 +02:00
twinaphex 4dc3fe9f8c Create filestream_getc 2016-06-03 00:07:00 +02:00
twinaphex 97427b343b (libretro-common) Create filestream_gets 2016-06-03 00:03:58 +02:00
Alcaro 9b2f6522a2 Fix use-after-free (thanks, Coverity) 2016-06-02 21:31:08 +02:00
twinaphex d6430b2f5e Attempt to fix wrong sizeof argument 2016-06-02 20:45:32 +02:00
twinaphex 5eb43846da Prevent explicit NULL dereferenced warnings 2016-06-01 04:14:48 +02:00
twinaphex bc3eb34da5 Remove unused variables 2016-06-01 04:09:59 +02:00
twinaphex da6ac4aae7 Fix explicit NULL dereferenced warnings 2016-06-01 04:05:14 +02:00
twinaphex 2e42778f1e (task_queue.c) Prevent resource leak 2016-06-01 02:37:26 +02:00
Andre Leiradella 9cc830ecd6 fixed getting wrong alpha values from tRNS chunk 2016-05-29 11:30:04 -03:00
Andre Leiradella 88eab60b13 optimized palette decoding 2016-05-29 11:25:28 -03:00
Andre Leiradella d9ea20727c support tRNS chunks in palettized images 2016-05-29 01:03:44 -03:00
twinaphex e7aedb6fb9 Remove unneeded async_job - plug memory leak in cheevos.c 2016-05-27 05:19:27 +02:00
Andre Leiradella d791da9507 undefined debug macros 2016-05-27 00:06:03 -03:00
twinaphex 03ded43280 Prevent explicit null dereferenced warnings 2016-05-26 18:09:46 +02:00
twinaphex a98616b45b Fix explicit NULL dereferenced/dereference before null check warnings 2016-05-26 17:47:21 +02:00
twinaphex 0f954fd4c8 Resource leaks fixes (catched by Coverity) 2016-05-26 17:26:55 +02:00
twinaphex 20cc877ad3 (PS3) Cleanup warnings 2016-05-26 06:41:28 +02:00
twinaphex 7859868ffc (RPNG) Dehardcode return values 2016-05-25 15:24:18 +02:00
Sebastien Ronsse 58328fa2b0 rjpeg: Fix invalid read/writes during JPEG RGBA to ARGB conversion 2016-05-25 15:57:01 +10:00
twinaphex d037d12faa (RJPEG) Attempt to solve defect 2016-05-24 23:43:51 +02:00
twinaphex bfa6f49ae6 Fix logically dead code warnings 2016-05-24 22:12:51 +02:00
Alcaro 26190043eb this mmap env is way more complicated than it has any right to be. 2016-05-24 22:06:21 +02:00
twinaphex 42971febba Fix resource leaks (pointed out by Coverity) 2016-05-24 22:01:43 +02:00
twinaphex 3cc84d60c8 (RJPEG) Cleanup 2016-05-24 20:54:32 +02:00
twinaphex fc37ef5c7d rjpeg_load_jpeg_image - cleanup 2016-05-24 20:44:46 +02:00
Twinaphex fae5eb89df rjpeg_process_image - cleanup 2016-05-24 20:36:27 +02:00
twinaphex d04810f5fd Reimplement rjpeg_process_image 2016-05-24 20:19:17 +02:00
twinaphex ae4cd05690 (RPNG) Simplification 2016-05-24 20:15:09 +02:00
Twinaphex 7e6f23ea54 (RJPEG) Cleanup 2016-05-24 20:05:45 +02:00
twinaphex 8f7e253f1f (config_file.c) Fix control flow issue 2016-05-24 14:20:03 +02:00
twinaphex ffaa32842f (libretro-common) Update 2016-05-24 14:18:29 +02:00
twinaphex d1d46a59db Rewrite file_list_capacity 2016-05-24 04:19:36 +02:00
twinaphex ac407588fa Include stdstring.h 2016-05-24 01:08:01 +02:00
radius 86b5b361da fix the last commit 2016-05-23 18:06:50 -05:00
radius 9300313fce fix lockup
this seems to fix a lockup that happens randomly on windows at startup, content load/content unload/controller hotplug
2016-05-23 17:57:15 -05:00
Torsten Paul 845dcef6ab Add cleanup handler for tasks to free allocated resources after the task finished. 2016-05-23 22:36:29 +02:00
twinaphex d5d2f7f8ee Fix resource leaks 2016-05-23 22:17:28 +02:00
twinaphex 974d3245d2 Fix logically dead code warnings 2016-05-23 22:04:00 +02:00
Twinaphex 44edf684db (RPNG) Another potential leak plugged 2016-05-23 21:33:26 +02:00
twinaphex faef7b498d (Coverity) Fix some resource leaks 2016-05-23 21:28:43 +02:00
twinaphex 0692a321c5 (GLSM )update 2016-05-22 03:49:42 +02:00
twinaphex 44bf799d36 Update GLSM 2016-05-21 23:00:39 +02:00
twinaphex 59f3e733fb (libretro-common) rthreads - PS3 buildfix 2016-05-21 13:38:07 +02:00
twinaphex 45cbe06401 rpng_process_image - cleanup resources if we fail 2016-05-20 21:05:27 +02:00
twinaphex 1fd7cf473d Initialize file_path 2016-05-20 19:17:21 +02:00
twinaphex d02d27f92a (PNG) Cleanup 2016-05-20 15:37:36 +02:00
twinaphex 033bc60939 (RPNG) Cleanup 2016-05-19 01:00:03 +02:00
twinaphex ceb657eba2 Cleanups 2016-05-19 00:51:34 +02:00
twinaphex 6c2e933321 rpng_process_init - free resources when failing 2016-05-19 00:46:07 +02:00
twinaphex a0974a899d (RPNG) Rewrite initialization of process struct 2016-05-19 00:42:05 +02:00
twinaphex e21a655dc6 (RPNG) Use image process codes 2016-05-18 17:18:36 +02:00
twinaphex 9b572d0fe4 Make RBMP optional too 2016-05-18 13:28:20 +02:00
twinaphex 7e36dcb27f move video_texture_image to libretro-common and rename it to image_texture.c 2016-05-18 12:58:00 +02:00
Alcaro 4fd3a4743a Another todo 2016-05-18 12:51:17 +02:00
twinaphex 265c931c46 (gfx/video_texture_image.c) remove dependencies 2016-05-18 12:49:52 +02:00
Alcaro bc53d6fdc3 More TODO for this env. 2016-05-18 12:30:43 +02:00
twinaphex 1ef5eee8b3 Header cleanup 2016-05-18 11:08:09 +02:00
twinaphex dd774bd13c Cleanups 2016-05-18 11:04:23 +02:00
twinaphex 9bc11731fb Start reimplementing TGA image load support 2016-05-18 10:52:23 +02:00
twinaphex 248b99e8e7 (BMP) Fix color conversion 2016-05-17 22:40:29 +02:00
twinaphex 492dd59164 Hook up BMP image loading - color channels swapped - RGBA to ARGB
conversion won't work here
2016-05-17 21:38:51 +02:00
twinaphex 4309793b1d Add rbmp.c 2016-05-17 21:21:45 +02:00
Alcaro 56ce7b9b22 because @leiradel wants me to 2016-05-17 21:08:28 +02:00
twinaphex cecb50bd19 (RJPEG) Cleanups 2016-05-17 20:30:35 +02:00
twinaphex 4af31cee97 (ARM NEON) Buildfix 2016-05-17 17:00:16 +00:00
twinaphex 070b7b78b1 Create matrix_4x4_copy 2016-05-17 18:12:43 +02:00
twinaphex 8b915bbc22 Add memalloc_alloc_aligned 2016-05-17 16:56:13 +02:00
twinaphex 8c640a28c6 (RJPEG) Remove unused rjpeg_image_load 2016-05-17 16:40:11 +02:00
twinaphex 1166be62ae (gfx/video_texture_image.c) Drop more implementation details 2016-05-17 16:32:53 +02:00
twinaphex 52948b436e We can take out RPNG implementation details out of video_texture_image.c
now
2016-05-17 16:23:22 +02:00
twinaphex 99bcf5946c Take out DEBUG printfs 2016-05-17 16:04:54 +02:00
twinaphex 7a282eab23 (rbmp_encode.c) Cleanups 2016-05-17 15:58:50 +02:00
twinaphex a64f0a24c6 (RJPEG) Cleanups 2016-05-17 14:07:05 +02:00
Twinaphex beac855ff7 (RJPEG) Remove unused variable 2016-05-17 13:51:42 +02:00
twinaphex ce0376e382 Remove debug printf 2016-05-17 13:50:35 +02:00
twinaphex 185050075a (RJPEG) Cleanups 2016-05-17 12:56:11 +02:00
twinaphex 6c79ecdae7 (RJPEG) Cleanups 2016-05-17 12:52:45 +02:00
twinaphex 808004a132 (RJPEG) Cleanups 2016-05-17 12:47:46 +02:00
twinaphex 609d00b3d7 (RJPEG) Image needs to be converted from RGBA to ARGB 2016-05-17 12:17:45 +02:00
twinaphex 9202256c3c Don't need rjpeg__jpeg_test 2016-05-17 12:02:24 +02:00
twinaphex 64c176288b Should fix JPEG decoding tasks 2016-05-17 10:07:40 +02:00
twinaphex c62f8cc7f4 (algorithms/mismatch.c) __STDC_LIMIT_MACROS not necesary here 2016-05-17 09:21:30 +02:00
Alcaro c19a39f49c Set calling convention for those pointers. (Yes, it's ugly.) 2016-05-16 23:51:11 +02:00
twinaphex e9d29d246a (GLSM) Buildfix 2016-05-16 20:12:33 +02:00
twinaphex 2fa1c5abb2 (GLSM) Expand GLSM 2016-05-16 20:07:29 +02:00
twinaphex 3f9afce2cd (GLSM) Extend GLSM 2016-05-16 19:43:05 +02:00
twinaphex 9e9584c42d (GLSM) Add documentation 2016-05-16 19:11:38 +02:00
twinaphex d2fc91295e Revert "(Apple) Add workarounds for Apple when not using GL core profile"
This reverts commit 1be3042ef9.
2016-05-16 18:55:06 +02:00
twinaphex 1be3042ef9 (Apple) Add workarounds for Apple when not using GL core profile 2016-05-16 18:52:53 +02:00
twinaphex bb1d1da693 Remove runloop_iterate_data 2016-05-16 17:29:02 +02:00
twinaphex cb801ec065 (Windows) Buildfixes 2016-05-16 15:40:08 +02:00
twinaphex c66219846f (mismatch.h) Add another header 2016-05-16 15:39:15 +02:00
twinaphex 8cd2d1deff (Windows) Buildfix 2016-05-16 15:35:00 +02:00
twinaphex d84be35fcc (PSP) Buildfix 2016-05-16 12:09:36 +02:00
twinaphex cde1fb0490 Cleanups 2016-05-16 12:08:43 +02:00
twinaphex 65d33700d4 Move audio_utils to libretro-common as s16_to_float 2016-05-16 11:33:49 +02:00
Twinaphex 0c1d639911 (iOS) Buildfix 2016-05-16 11:15:46 +02:00
twinaphex 2422dfbbbe (libretro-common) Create libretro-common/conversion/float_to_s16 2016-05-16 11:11:02 +02:00
twinaphex 1405db5b19 Move mismatch.c to libretro-common/algorithms 2016-05-16 10:27:20 +02:00
twinaphex 0d833c903a Merge remote-tracking branch 'origin/vulkan-windows' 2016-05-16 07:51:01 +02:00
twinaphex 1983604134 Remove GLSM_CTL_IS_FRAMEBUFFER_LOCKED 2016-05-16 06:02:03 +02:00
twinaphex e5f00e8346 (PS3) Non-zipped rom file loading should work again 2016-05-15 20:45:21 +02:00
twinaphex 01777ac500 (GLSM) Add some documentation 2016-05-15 10:05:31 +02:00
twinaphex cb73de77e9 (libretro-common) Update 2016-05-15 06:59:23 +02:00
twinaphex f8982a89d7 Add vector_3.c 2016-05-15 06:46:41 +02:00
twinaphex 271f4b6f8d Update 2016-05-15 06:07:25 +02:00
twinaphex b56f880c44 (memalign) Cleanups 2016-05-15 06:06:07 +02:00
Alcaro 33e9003107 This is just noise. 2016-05-14 23:20:35 +02:00
twinaphex 1e27312c25 Get rid of unused functions 2016-05-14 13:35:50 +02:00
twinaphex d3f4be0bbc (features_cpu.c) Fix mingw error 2016-05-14 02:54:56 +02:00
twinaphex 9e1276d76f (MSVC) Buildfixes 2016-05-14 01:32:05 +02:00
twinaphex 3257ecdaef (features_cpu.c) Move _WIN32 up in priority 2016-05-14 01:27:09 +02:00
twinaphex 23f410c5fe (RPNG) Fix test 2016-05-14 01:12:05 +02:00
twinaphex f8e99403a4 Cleanups 2016-05-14 00:48:40 +02:00
twinaphex 7a16cf8806 Revert "(RJPEG) Remove rjpeg_test"
This reverts commit 5a4b062b0d.
2016-05-13 13:31:10 +02:00
twinaphex e56abc03b3 (rjpeg_process_image) Handle error 2016-05-13 11:15:31 +02:00
twinaphex 5a4b062b0d (RJPEG) Remove rjpeg_test 2016-05-13 11:10:59 +02:00
twinaphex 19eaa05040 (RJPEG) Cleanups 2016-05-13 10:55:22 +02:00
twinaphex 101539b489 (RJPEG) more internal changes 2016-05-13 09:58:42 +02:00
twinaphex ee95af8ae3 (RPNG) Cleanup 2016-05-13 09:51:08 +02:00
twinaphex fa27a8447e Rename RPNG functions 2016-05-13 09:49:38 +02:00
twinaphex 1623d538d5 Add rjpeg_set_buf_ptr 2016-05-13 09:42:02 +02:00
twinaphex 1512d36220 rjpeg_process_image should not set the texture image's width/height -
that is done later
2016-05-13 09:34:42 +02:00
twinaphex 1e872108b7 (RJPEG) Add back rgba to bgra routines 2016-05-13 09:27:58 +02:00
twinaphex 8efe2de0ec (RJPEG/RPNG) Add debug logs and change function signatures 2016-05-13 09:08:32 +02:00
twinaphex 5068accc4e Start preparing image transfer for RJPEG 2016-05-13 08:50:50 +02:00
twinaphex 17d39fd54f Add rjpeg_free 2016-05-13 08:16:13 +02:00
twinaphex d3df016005 (RJPEG) Add rjpeg_alloc 2016-05-13 08:13:21 +02:00
twinaphex 13f49e1d9a Split up image transfer code to separate file 2016-05-13 04:38:21 +02:00
twinaphex f20b969165 (libretro-common) features_cpu - reimplement ARM cpu features code 2016-05-13 04:02:08 +02:00
Andre Leiradella bc8b75148e updated with upstream 2016-05-12 22:36:49 -03:00
twinaphex 3bdfbb6318 features_cpu.c - cleanups 2016-05-12 12:22:32 +02:00
twinaphex 597102e863 Remove __ARM_ARCH__ ifdefs 2016-05-12 12:15:53 +02:00
twinaphex 6b33c19802 Fix CXX_BUILD 2016-05-12 09:31:25 +02:00
twinaphex 2321ee829f Add glsym_es3 2016-05-11 23:17:42 +02:00
twinaphex 377f09f12a Change back retro_dirent_is_dir to hopefully avoid sshfs issues
- more rigorous testing should be applied before changing these
functions
2016-05-11 18:54:22 +02:00
twinaphex 1ac30884c4 (RJPEG) Prevent warnings 2016-05-11 03:40:25 +02:00
twinaphex eec4218ebb (RJPEG) Use features_cpu 2016-05-10 20:36:05 +02:00
twinaphex 9aed52ac65 Move performance.c to libretro-common/features/features_cpu.c 2016-05-10 20:31:27 +02:00
twinaphex 4a7ab8366b Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
twinaphex 35ea37b37f Revert "Move cpu_features to libretro-common"
This reverts commit 2b8ff3bf38.
2016-05-10 09:32:24 +02:00
twinaphex 2b8ff3bf38 Move cpu_features to libretro-common 2016-05-10 09:27:29 +02:00
twinaphex ea8715ca92 (RJPEG) Cleanup 2016-05-10 07:16:27 +02:00
twinaphex f3af0263ed Remove RJPEG_NO_JPEG 2016-05-10 07:15:23 +02:00
twinaphex bb063fb692 Cleanups 2016-05-10 07:13:52 +02:00
twinaphex 8d3f6c39ac Replace STBI_ with RJPEG_ 2016-05-10 07:10:42 +02:00
Twinaphex b59b56d2fc (RJPEG) Last buildfixes 2016-05-10 07:09:27 +02:00
twinaphex 3c4329aa1f (RJPEG) uniquely namespace all functions 2016-05-10 07:08:45 +02:00
Twinaphex 88f259d3ef (RJPEG) Mass renaming (pt. 1) 2016-05-10 07:05:52 +02:00
twinaphex c321c161a8 Update rjpeg 2016-05-10 06:51:58 +02:00
twinaphex f931ce7606 Adds conversion when color shifts are BGRA 2016-05-10 06:02:00 +02:00
twinaphex 7462988f33 Use stb_image jpeg code 2016-05-10 05:50:38 +02:00
Sebastien Ronsse bab8935b58 rbmp encode: Fix memory leak when saving image 2016-05-10 13:09:38 +10:00
Sebastien Ronsse 3db9623809 rbmp encode: Fix saving mechanism resulting in vertically flipped screenshots. 2016-05-10 11:51:56 +10:00
twinaphex b9c9df3a8b (GLSM) Buildfix 2016-05-10 03:48:05 +02:00
twinaphex bca9c687a1 (RJPEG) Remove register storage class 2016-05-10 03:23:15 +02:00
twinaphex 8bcc889d90 Comment this out - makes all tasks way too slow 2016-05-09 07:54:45 +02:00
twinaphex 87b83ecf56 (RetroPad) Use socket_set_target 2016-05-09 06:40:51 +02:00
twinaphex e87f030246 C89_BUILD fixes 2016-05-09 05:50:08 +02:00
twinaphex e1d04737cb (OSX PPC) Add line to libretro-common/include/compat/zlib.h 2016-05-09 04:51:18 +02:00
twinaphex 3f3adf0c0e Add return value for inet_aton 2016-05-09 02:50:02 +02:00
twinaphex 510c804781 (Win32) Provide inet_aton implementation 2016-05-08 19:12:01 +02:00
twinaphex 4791c37039 (Vita) Reimplement inet_ptrton for Vita 2016-05-08 18:09:03 +02:00
twinaphex 60789e0141 Cleanups 2016-05-08 16:25:26 +02:00
twinaphex e2090dc02d Vita doesn't support inet_pton either 2016-05-08 16:13:55 +02:00
twinaphex 11ec23bc18 Create inet_ptrton 2016-05-08 15:41:34 +02:00
Hans-Kristian Arntzen 8faa6231db Fix some warnings. 2016-05-08 09:37:27 +02:00
twinaphex 2f6baffe45 Expand net_socket.c 2016-05-08 07:24:10 +02:00
twinaphex eb689fdd24 C89_BUILD fix 2016-05-08 04:21:56 +02:00
twinaphex 1968b0a333 Dunno where this came from 2016-05-08 04:06:07 +02:00
twinaphex ae9ea8f2db (MSVC) Buildfixes 2016-05-08 04:04:50 +02:00
twinaphex ef5da43d35 Cleanups 2016-05-07 18:35:06 +02:00
twinaphex 7f272a4bd0 Add missing parameters 2016-05-07 16:24:26 +02:00
twinaphex 0a2544c1bf (rjpeg) Try manual conversion to RGB 2016-05-07 06:55:52 +02:00
twinaphex c5895b4aa0 (libretro-common/formats/jpeg/rjpeg.c) Allocate out_img->pixels 2016-05-07 06:49:48 +02:00
twinaphex f86d4d400d Start adding jpeg hooks 2016-05-07 06:20:17 +02:00
twinaphex 7b79975516 Start adding rjpeg_image_load 2016-05-07 06:16:02 +02:00
twinaphex b2df35bd7c Correct glDeleteVertexArrays 2016-05-07 05:00:14 +02:00
twinaphex 5127536217 (libretro-common) Expand GLSM 2016-05-07 04:42:18 +02:00
twinaphex 0ab61a2428 (libretro-common) Add rjpeg 2016-05-07 04:33:54 +02:00
twinaphex 268be70fe8 Cleanups 2016-05-07 04:15:39 +02:00
twinaphex b8644536d2 (video_texture_image.c) Cleanups - we use nbio now in video_texture_image_load
for both TGA and PNG, and we remove the file I/O based RPNG function
2016-05-07 04:04:09 +02:00
twinaphex b38e269215 (GLSM) Some buildfixes 2016-05-07 01:32:34 +02:00
twinaphex f4553505a4 (GLSM) Update 2016-05-07 00:07:49 +02:00
twinaphex 7eef9b87b0 Add glTexSubImage2D 2016-05-06 23:54:48 +02:00
twinaphex d997526a1d Updates 2016-05-06 22:40:11 +02:00
twinaphex dd36a3792c (GLSM) Add new wrapper functions 2016-05-06 22:20:03 +02:00
twinaphex 5d5ad0548a Update 2016-05-06 22:15:24 +02:00
twinaphex 2e319213e3 Expand glsm 2016-05-06 22:08:49 +02:00
Twinaphex 77649b2f23 Fix memory leak in async_job_free 2016-05-06 19:14:38 +02:00
twinaphex 648da7b6e6 (task_queue) Remove unused variable 2016-05-06 18:57:11 +02:00
Sebastien Ronsse 8f6bb23f38 task queue: Implement running tasks retrieval mechanism 2016-05-06 14:41:45 +10:00
twinaphex 10fe532d29 Cleanup 2016-05-06 06:25:06 +02:00
twinaphex 5db093924c Cleanup - slock_new 2016-05-06 06:05:30 +02:00
twinaphex b91ad3a70e (libretro-common) Update glsm 2016-05-06 05:08:42 +02:00
Andre Leiradella b38e234d2e made find_last_slash public 2016-05-05 16:22:35 -03:00
Andre Leiradella 8be7fd5f0a http tasks can now be cancelled 2016-05-05 15:32:36 -03:00
twinaphex 18e94a5365 (task_queue.c) Remove unused variable 2016-05-05 17:46:04 +02:00
Twinaphex 1c2bf6e305 Revert "http tasks can now be cancelled; on-demand thumbnail download working" 2016-05-05 17:00:43 +02:00
Andre Leiradella 9b889e14d4 http tasks can now be cancelled; on-demand thumbnail download working 2016-05-05 09:48:50 -03:00
Sebastien Ronsse cc4b5dbf35 task queue: Fix multi-threading issues in threaded worker 2016-05-05 10:18:29 +10:00
Sebastien Ronsse d3c3d20994 task queue: Add task_queue_remove method 2016-05-05 10:18:29 +10:00
twinaphex b0193885ca (GLSM) Update 2016-05-05 00:23:12 +02:00
twinaphex 9a7bde6a02 (GLSM) Add glBlendEquationSeparate 2016-05-04 23:53:21 +02:00
twinaphex 5889489ff7 (libretro-common) Update GLSM 2016-05-04 21:12:34 +02:00
Sebastien Ronsse 3c23159148 Fix deadlock due to missing unlock in task threaded find function 2016-05-04 15:23:30 +10:00
twinaphex f9bd28663a Nit 2016-05-04 04:03:46 +02:00
twinaphex d8dcaab996 (RPNG) Cleanup 2016-05-04 03:58:29 +02:00
Alcaro 64501d2cb0 No point pegging the CPU to download a file. 2016-05-03 18:17:12 +02:00
twinaphex f60676f43e Create inet_htons 2016-05-03 04:35:51 +02:00
twinaphex 35b7d0423f init_network - fix some codepaths 2016-05-03 04:28:58 +02:00
twinaphex fd2096f3dc Cleanups 2016-05-03 04:26:18 +02:00
twinaphex 2eb4571290 Move this code to net_compat.c 2016-05-02 19:44:12 +02:00
twinaphex dbd56997f4 Changes to getaddrinfo_retro 2016-05-02 19:30:12 +02:00
twinaphex 44cfa6d876 Cleanup 2016-05-02 19:04:03 +02:00
twinaphex b25b2a0e6c Some code de-duplication 2016-05-02 18:54:55 +02:00
twinaphex 00a49d068e Implement TCP protocol for socket_create 2016-05-02 18:47:34 +02:00
twinaphex 317ecabadf (Retropad) Use socket_create 2016-05-02 18:45:05 +02:00
twinaphex 18f8ded154 Flesh out socket_create some more 2016-05-02 18:42:13 +02:00
twinaphex 62508eca77 Create socket_create 2016-05-02 18:37:08 +02:00
Twinaphex eeeec23c66 (OSX) Static code analyzer cleanups 2016-05-02 16:57:53 +02:00
twinaphex 96723f3a57 Cleanup 2016-05-02 02:10:45 +02:00
twinaphex 31f3fc0abb Create socket_receive_all_nonblocking 2016-05-02 02:09:22 +02:00
twinaphex e29b915536 Cleanups 2016-05-02 00:18:39 +02:00
Alcaro f11a240190 Clean up the error handlers around here. 2016-05-01 23:50:20 +02:00
twinaphex 2e1fa648b8 Create socket_connect 2016-05-01 23:45:59 +02:00
twinaphex bd9dd06ddd Get rid of duplicate function net_http_send 2016-05-01 23:17:17 +02:00
twinaphex 004d9a613c Create socket_bind 2016-05-01 22:57:44 +02:00
twinaphex 78bb85e2f3 Reuse socket_init for net_http code 2016-05-01 22:45:32 +02:00
twinaphex 8b9456f419 Add socket_type to socket_init 2016-05-01 22:25:23 +02:00
Twinaphex d2a80e26db Buildfixes 2016-05-01 21:38:19 +02:00
twinaphex 0268212d40 Move socket code to net_socket.c 2016-05-01 21:36:28 +02:00
twinaphex a7b856b65f (libretro-common) Create net_socket 2016-05-01 21:18:45 +02:00
twinaphex 5032c677e6 (Net) Only comment out printf 2016-05-01 14:44:12 +02:00
twinaphex 8dd4333e16 (net_http) Comment out debug logging 2016-05-01 14:38:23 +02:00
twinaphex 5d449d5024 (libretro-common) net_http - cleanups 2016-04-28 11:58:44 +02:00
Alcaro 68a17c5401 Fix HTTP protocol violation. 2016-04-27 21:04:16 +02:00
twinaphex eb53356522 Add __INTEL_COMPILER ifdef to retro_inline.h 2016-04-27 16:05:24 +02:00
twinaphex 1efff4bdc3 CXX_BUILD fix 2016-04-27 14:52:28 +02:00
Twinaphex 6b6a2b93fa C89_BUILD fix for OSX 2016-04-27 14:43:42 +02:00
Twinaphex 2c221e747e (libretro_common) Include retro_common_api.h - interface_stream.h 2016-04-27 14:37:03 +02:00
twinaphex 3b9c406123 Add rule for OSX/iOS - ssize_t 2016-04-27 14:35:59 +02:00
twinaphex d4a50935d2 C89_BUILD fix 2016-04-27 10:58:38 +02:00
Alcaro bbb7871028 Why exactly are we iterating over this string one character per frame? 2016-04-23 22:50:46 +02:00
twinaphex 08b7ac500b (libretro-common) Updates 2016-04-23 10:40:46 +02:00
twinaphex 9a1fed8598 Don't bake in strlcpy/strlcat for OSX 2016-04-22 08:13:13 +02:00
twinaphex b34da03281 Update 2016-04-22 05:31:56 +02:00
twinaphex ac18671ead Update libretro-common 2016-04-22 05:28:49 +02:00
twinaphex 4750e87c76 (GLSM) Add comments 2016-04-21 22:47:48 +02:00
Twinaphex 66ba52eab0 CXX_BUILD fixes 2016-04-17 07:49:54 +02:00
Twinaphex 899db8fb37 (libretro-common) Buildfix for OSX 2016-04-13 22:08:23 +02:00
twinaphex 06ccd36b2f (PS3) Cut down on warnings 2016-04-13 01:49:38 +02:00
twinaphex 8d4d0d16c6 (libretro-common) Update GLSM 2016-04-12 02:22:12 +02:00
twinaphex 3e4d7c404a Should hopefully fix file_list_prepend 2016-04-11 22:35:45 +02:00
Jean-André Santoni 1dea1fa0e2 Rename file_list_push to file_list_prepend 2016-04-12 01:40:48 +07:00
twinaphex a430c7f543 Add experimental menu_entries_push/file_list_push 2016-04-11 18:02:50 +02:00
twinaphex 494ceee05e Update glsm 2016-04-10 16:31:08 +02:00
twinaphex 8e2dada12a (libretro-common) message_queue.c - cleanups 2016-04-08 02:59:06 +02:00
twinaphex 8ba1f2fca6 (libretro-common) archive_file_zlib.c - cleanup 2016-04-08 02:54:37 +02:00
twinaphex e88e580832 (libretro-common) archive_file.c - Cleanups 2016-04-08 02:51:17 +02:00
twinaphex 175d601a4e Make it possible to initialize memory stream interface in
writable mode
2016-04-07 05:06:41 +02:00
twinaphex 9b4bb51c2e Cleanup filestream_tell 2016-04-07 04:20:09 +02:00
twinaphex 55a28eb8a3 Cleanup filestream_seek 2016-04-07 04:16:46 +02:00
twinaphex 2e66300320 Cleanup filestream_get_fd 2016-04-07 03:35:12 +02:00
twinaphex b20a03f3b9 Add unimplemented message 2016-04-07 03:30:02 +02:00
twinaphex 502c2a41a9 Only define HAVE_BUFFERED_IO if platform is not PS3/PSP or Vita 2016-04-07 03:29:17 +02:00
twinaphex bf017e3a0c Add intfstream_putc 2016-04-07 03:24:41 +02:00
twinaphex 2bb90f3702 Add filestream_putc 2016-04-07 03:23:01 +02:00
twinaphex f0a1b94a11 Update memory_stream.c with FCEUmm update code 2016-04-07 03:07:23 +02:00
twinaphex a8144abbce Add intfstream_tell 2016-04-07 02:44:21 +02:00
twinaphex 0da67ad4f9 Add intfstream_close 2016-04-07 02:30:09 +02:00
twinaphex 99a9769014 Add intfstream_rewind 2016-04-07 02:27:33 +02:00
twinaphex ea037799a4 Add memstream_rewind 2016-04-07 02:24:31 +02:00
twinaphex f51e0f62e5 Add intfstream_seek 2016-04-07 02:21:43 +02:00
twinaphex 67cf1153c6 (streams/memory_stream.c) Cleanup 2016-04-07 02:15:48 +02:00
twinaphex 2a3bba34e0 Add intfstream_gets/intfstream_getc 2016-04-07 02:13:40 +02:00
twinaphex a20a2da85e Add intfstream_read/intfstream_write 2016-04-07 02:06:04 +02:00
twinaphex 554ca4f087 (libretro-common) Add intfstream_open 2016-04-07 01:58:54 +02:00
twinaphex 5eb3bb05f7 Start adding streams/interface_stream.c 2016-04-06 21:58:23 +02:00
twinaphex 7fe34b97a6 (libretro-common) streams - cleanups 2016-04-06 17:03:17 +02:00
twinaphex 734ef07fcc (file_stream.c) Cleanups 2016-04-06 16:55:17 +02:00
twinaphex cce0320bb5 (libretro-common) Cleanups 2016-04-06 16:48:51 +02:00
twinaphex 001aa3ba4a Add ssem_get - SDL_SemValue equivalent 2016-04-05 19:08:41 +02:00
twinaphex db24cb1ec5 (libretro-common) Update 2016-04-05 18:52:58 +02:00
twinaphex 78426895db (libretro-common) std=c99 compatibility for rsemaphore.c 2016-04-05 18:42:16 +02:00
twinaphex 26d37e006a (libretro-common) This should allow rthreads.c to compile with -std=c99 2016-04-05 17:52:23 +02:00
twinaphex 490a2f77ae Update libretro-common 2016-03-31 13:27:54 +02:00
Hans-Kristian Arntzen 72f65396c7 Fix cross-compile build on Linux. 2016-03-29 15:50:12 +02:00
twinaphex 1d5955bced (libretro-common) Update comments 2016-03-24 05:57:48 +01:00
twinaphex 1b289c0f05 (libretro-common) Update 2016-03-24 04:23:17 +01:00
twinaphex e41127459e Rename 'filestream' functions 2016-03-24 04:09:25 +01:00
twinaphex e13fd6da41 vsnprintf_s needs to have stdio.h included 2016-03-23 03:47:18 +01:00
twinaphex 9e06843127 Typo fix 2016-03-23 03:45:02 +01:00
twinaphex b6941a045d isblank is available since MSVC 2013 2016-03-23 03:44:31 +01:00
twinaphex 5fe9f8dc11 We need the roundf macro for MSVC versions lower than 1800 2016-03-23 03:40:47 +01:00
twinaphex b80b52b806 Rename file_list_push to file_list_append 2016-03-21 20:20:24 +01:00
twinaphex 5a37033803 (libretro-common) Update 2016-03-21 19:46:14 +01:00
twinaphex 483699357d (RPNG) cleanups 2016-03-21 19:43:29 +01:00
twinaphex b20989d31d (libretro-common) Update headers 2016-03-21 18:51:44 +01:00
twinaphex c8f4d97839 Move config_file_userdata outside libretro-common 2016-03-21 18:49:50 +01:00
twinaphex f960e9ad26 Move files 2016-03-21 18:37:19 +01:00
twinaphex 32a8b57826 Move test files 2016-03-21 18:27:02 +01:00
twinaphex f9992c5e47 Update libretro-common 2016-03-21 05:44:45 +01:00
twinaphex bfef3b6191 Get rid of unused file_list_get_entry_index 2016-03-20 17:52:47 +01:00
twinaphex 972d3faabb (libretro-common) Cleanups 2016-03-20 17:15:40 +01:00
twinaphex f55ee11554 (libretro-common) Header updates 2016-03-20 17:13:31 +01:00
twinaphex f0fd3895b6 Updates 2016-03-20 16:36:39 +01:00
twinaphex 3720cf87e7 Rename retro_file to file_stream 2016-03-20 16:29:14 +01:00
twinaphex be9bf7dc44 (libretro-common) Move memory_stream 2016-03-20 16:17:44 +01:00
twinaphex c7e13e2bcd (libretro-common) Rename file_archive to archive_file 2016-03-20 16:14:40 +01:00
twinaphex 435aa5ee7c (libretro-common) file_list.c - update function description 2016-03-20 15:59:38 +01:00
twinaphex f7d4cc25e5 (libretro-common) file_list.c 2016-03-20 15:56:33 +01:00
Twinaphex 43b931129d (iOS) Buildfix 2016-03-20 15:07:49 +01:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex ef4a1a3c0f (libretro-common) Rename fifo_buffer to fifo_queue 2016-03-20 14:06:21 +01:00
twinaphex 87840e5b6c (rbmp) Change typedef enum 2016-03-20 05:35:52 +01:00
twinaphex 6b3c3f326a Cleanups 2016-03-20 05:12:53 +01:00
twinaphex 1270d8f96a Update libretro-common 2016-03-20 04:50:29 +01:00
twinaphex b40b169098 Copy over libretro-common changes 2016-03-20 04:49:59 +01:00
twinaphex ea7cf9d9ca (file_archive.c) Style nits 2016-03-20 04:21:47 +01:00
twinaphex 2c7cc41f1b Prevent null pointer dereference 2016-03-18 18:04:21 +01:00
twinaphex b12367c781 Update 2016-03-09 12:42:58 +01:00
twinaphex 341d0f9998 Update 2016-03-09 12:00:45 +01:00
twinaphex 08ed4d0e57 Cleanup 2016-03-08 16:11:53 +01:00
twinaphex 0de724d066 Update glsm 2016-03-08 16:09:09 +01:00
twinaphex bdb8edb708 Update to glsm 2016-03-07 01:46:47 +01:00
twinaphex 93de657952 (retro_inline.h) Fix backwards compatibility with older mingw versions 2016-03-04 01:43:09 +01:00
twinaphex 869cb8a1be (net_ifinfo.c) Bugfix 2016-03-03 07:17:17 +01:00
twinaphex ec0d9f0a70 (net_ifinfo.c) Style nits 2016-03-03 07:16:06 +01:00
twinaphex 97eea9e71f (net_ifinfo/Win32) Adapter name shows up now - IP address doesn't yet 2016-03-03 05:50:45 +01:00
twinaphex 4d630189a2 Start adding Windows implementation for net_ifinfo.c - will
need to link against iphlpapi for mingw
2016-03-03 04:40:25 +01:00
twinaphex 966f267285 (Win32) Start trying to implement Win32 backend for net_ifinfo.c 2016-03-03 04:11:24 +01:00
twinaphex dfa315f0d5 Fix compat_ifaddrs.c - network addresses are now shown on Android 2016-03-03 03:44:16 +01:00
twinaphex 5b4ba2a449 Add Network Information now 2016-03-03 03:06:54 +01:00
twinaphex e99a97d9b7 Some compilation fixes for compat_ifaddrs.c 2016-03-03 02:51:06 +01:00
twinaphex 4fce2e74ac (Win32) Buildfix 2016-03-03 02:10:34 +01:00
twinaphex 88b3b9a08d Include boolean.h 2016-03-03 02:09:30 +01:00
twinaphex c9e6a91137 (Android) Bake in ifaddrs for Android 2016-03-03 02:08:47 +01:00
twinaphex a3234f3f17 (net_ifinfo.c) ifndef this out for _WIN32 so far 2016-03-03 01:34:45 +01:00
twinaphex 61faa0a04b Bake in net_ifinfo 2016-03-03 00:26:26 +01:00
twinaphex 191b233334 Cleanup net_ifinfo 2016-03-03 00:22:38 +01:00
twinaphex cbc8bab8e2 Cleanup 2016-03-03 00:19:37 +01:00
twinaphex d805845e29 Add net_ifinfo 2016-03-03 00:17:14 +01:00
twinaphex 414c63b59a (VG) Silence some warnings
(Libretro-common) Add some headers
2016-03-02 23:09:31 +01:00
twinaphex 6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
twinaphex 1b0a9d0b1d Backport Opendingux/GCW Zero patches courtesy of gama.coder 2016-03-01 21:50:23 +01:00
twinaphex 7d346d627f Robustness fixes 2016-02-29 01:22:39 +01:00
twinaphex cec6701c0d (config_file.C) Fix segfaultthat happened at freeing of tmp->key
when tmp->key is NULL
2016-02-28 18:44:07 +01:00
twinaphex 1516ee8e76 Silence this warning too for C89 - not correct but whatever -
never used
2016-02-25 22:36:08 +01:00
twinaphex 7da6797112 CXX_BUILD - More buildfixes 2016-02-25 22:13:12 +01:00
twinaphex 433155c95f Move UTF8 helper functions to encoding_utf.c (libretro-common) -
hopefully did not introduce any regressions
2016-02-25 00:57:46 +01:00
twinaphex ce93da7cbf Updates to glsm 2016-02-12 01:42:33 +01:00
twinaphex 9b521d665d Update glsm 2016-02-11 22:08:45 +01:00
twinaphex 49e7347f3d Update glsm 2016-02-11 20:20:55 +01:00
twinaphex 99804e2427 Update glsm 2016-02-11 19:10:40 +01:00
twinaphex bd008748da Update 2016-02-11 18:44:48 +01:00
twinaphex 74547ca990 Update 2016-02-11 18:30:16 +01:00
twinaphex d09ea1bb57 Add glsm to libretro-common 2016-02-11 18:25:27 +01:00
Twinaphex 259ac2ddbd Merge pull request #2710 from fr500/master
save only modified values when saving remaps
2016-02-10 05:46:17 +01:00
radius 80845f1cd6 save only modified values when saving remaps 2016-02-09 23:39:16 -05:00
twinaphex 9af5b44453 task_queue.c - Prevent warning 2016-02-09 18:39:41 +01:00
twinaphex 5b6d310abd Rename enums 2016-02-09 18:26:27 +01:00
twinaphex 8b9c7a47e4 Move task_queue to queues/ dir 2016-02-09 18:13:47 +01:00
twinaphex 31112e937b Move task_queue.c to libretro-common 2016-02-09 18:11:11 +01:00
twinaphex eb5986d332 Cleanup 2016-01-30 04:43:35 +01:00
twinaphex a267bdfbe3 MOve gfx/image/image.c to gfx/video_texture_image.c 2016-01-30 02:39:08 +01:00
twinaphex c5597d3c9d Cleanups 2016-01-26 05:59:52 +01:00
twinaphex f89467ccbf Create fill_string_join 2016-01-26 01:46:15 +01:00
twinaphex e386bc4963 Cleanup 2016-01-26 01:27:23 +01:00
twinaphex b7434c6564 Rename to file_archive_decompress_data 2016-01-25 02:52:03 +01:00
twinaphex 9459cf6445 Rename zlib_ to file_archive_ 2016-01-24 22:17:11 +01:00
twinaphex 44ec82362e Cleanup 2016-01-24 22:06:01 +01:00
twinaphex 6878aa0844 Turn file_archive_inflate_data_to_file into static function 2016-01-24 22:04:21 +01:00
twinaphex aae1faf76f Move crc32_calculate to file_archive_zlib.c 2016-01-24 21:50:28 +01:00
twinaphex d53a0c5994 Cleanup 2016-01-24 21:36:01 +01:00
twinaphex 6580c817c2 Cleanup 2016-01-24 21:31:47 +01:00
twinaphex 2bc75715f7 Move zlib_deflate_init to file_archive_zlib.c 2016-01-24 21:26:02 +01:00
twinaphex 1a04bb4532 Add stream_decompress_data_to_file_init and stream-decompress_data_to_file_iterate to
file_archive_zlib.c
2016-01-24 21:23:33 +01:00
twinaphex c1364648e7 Cleanup 2016-01-24 21:12:16 +01:00
twinaphex 7130f0c8d8 Move zlib_set_stream to file_archive_zlib 2016-01-24 21:06:53 +01:00
twinaphex 7d29929819 Move file_archive_inflate_init to file_archive_zlib 2016-01-24 20:18:52 +01:00
twinaphex fa00f51e80 Move zlib_deflate_data_to_file to file_archive_zlib.c 2016-01-24 20:15:17 +01:00
twinaphex d1ef6f032e Create stream_compress_free and add it to file_archive_zlib 2016-01-24 20:12:12 +01:00
twinaphex f264d3d29b Move zlib_stream_ functions to file_archive_zlib.c 2016-01-24 20:08:57 +01:00
twinaphex 064c5ffc3a Move zlib_stream_free to file_archive_zlib.c 2016-01-24 20:01:35 +01:00
twinaphex 9a23d95846 Add zlib_stream_new to file_archive_zlib.c 2016-01-24 19:57:31 +01:00
twinaphex 021d8e6af8 Make file_archive_get_default_file_backend public scope 2016-01-24 19:48:25 +01:00
twinaphex 6f3adc900d Style nits 2016-01-24 19:44:18 +01:00
twinaphex c4fa71ecc3 Move functions 2016-01-24 19:29:34 +01:00
twinaphex 3e3b57200a Cleanup 2016-01-24 19:25:30 +01:00
twinaphex 14e389bccf Improve ZLIB_TRANSFER_DEINIT case 2016-01-24 19:16:26 +01:00
twinaphex b4b686fdff Cleanups/style nits 2016-01-24 19:10:02 +01:00
twinaphex 5c2acea38c Do 'free' on handle->stream in case of an error in file_archive_inflate_data_to_file_init 2016-01-24 18:55:50 +01:00
twinaphex cc69cfe6a7 Use zlib_transfer_t * instead of void * 2016-01-24 18:53:37 +01:00
twinaphex cf94c0b6c0 Move file backend back to file_archive.c 2016-01-24 16:18:18 +01:00
twinaphex 5b343c2a32 (RPNG) Update 2016-01-24 07:47:27 +01:00
twinaphex 3c2a45d923 Rename file_extract functions 2016-01-24 07:42:46 +01:00
twinaphex 552e78c9bc Rename file_extract to file_archive 2016-01-24 07:29:11 +01:00
twinaphex 09e5dc9c50 Cleanup 2016-01-24 06:55:26 +01:00
twinaphex 5c615f18e1 Turn zlib_inflate_init2 into static function 2016-01-24 06:52:14 +01:00
twinaphex 280e10195c Remove zlib_crc32_adjust - reuse zlib_crc32_calculate for this 2016-01-24 06:50:18 +01:00
twinaphex c6f7afbd9a Adjust zlib_crc32_calculate 2016-01-24 06:47:06 +01:00
twinaphex a0e9a4c68e Cleanups 2016-01-24 06:42:57 +01:00
twinaphex 8a254d0480 (Android) Fix build 2016-01-24 06:28:27 +01:00
twinaphex 78feccd0a3 Split up file extract zlib driver code to separate file 2016-01-24 06:18:53 +01:00
twinaphex 458e3a0fad Fix zlib_extract_first_content_file - we now pass a
new string to zlib_extract_first_content_file which will
fill in the extracted first file's path, we then add this
to temporary_content string list
2016-01-24 05:41:41 +01:00
twinaphex b4956ac7c1 zlib_get_file_list- cleanup 2016-01-23 23:02:16 +01:00
twinaphex 9c131dfaad Cleanup 2016-01-23 23:00:35 +01:00
twinaphex 365b27caac Simplify zip_extract_cb 2016-01-23 22:57:21 +01:00
twinaphex 23d3af9c5a Nit 2016-01-21 19:13:10 +01:00
twinaphex 71df617bee Cleanup 2016-01-21 19:12:05 +01:00
Alcaro 0d77ac3977 Fix code style mismatch. 2016-01-21 01:31:38 +01:00
Alcaro 1229ee0f1b Fix C89 build. 2016-01-21 01:27:49 +01:00
Alcaro 79b3794b93 Rewrite this for fewer malloc. 2016-01-21 01:24:29 +01:00
Alcaro c48dee0d7b If strequal checks for NULL, then striequal should too. 2016-01-21 01:09:05 +01:00
Alcaro 79edafc3aa Clean up those functions a bit. 2016-01-21 01:08:37 +01:00
Twinaphex 82dc569497 Simplify sring_is_empty 2016-01-21 01:04:07 +01:00
Twinaphex 447468a39d Change string_is_equal_noncase to just a strcasecmp wrapper for now 2016-01-21 01:00:47 +01:00
twinaphex 63e2d13b8f Create string_is_equal_noncase - try not to use strcasecmp so much 2016-01-20 17:34:19 +01:00
twinaphex 454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +01:00
Alcaro 2ffe03f732 Fix creepy type error. 2016-01-18 23:24:22 +01:00
twinaphex 4de1726bf6 Define CGFloat for versions lower or equal to OSX 10.4 2016-01-17 19:58:31 +01:00
twinaphex b5b8886894 (async_job/rsemaphore) Cleanups 2016-01-13 08:58:38 +01:00
twinaphex 39dc2a0d05 Get rid of this messy code 2016-01-08 17:58:53 +01:00
radius d2329cf192 add function to change strings to lowercase 2016-01-02 13:59:10 -05:00
twinaphex 6ff544ba1a Update libretro-common 2015-12-31 15:28:46 +01:00
twinaphex 68d66be389 C89_BUILD fixes 2015-12-26 08:13:33 +01:00
Higor Eurípedes 5cbcd90707 (retro_file.c) Get rid of uneeded error messages in retro_read_file()
fseek/ftell lie about the file size in some filesystems (like sysfs) and
this makes the function complain about incomplete read when the file has
been fully read.
2015-12-23 21:20:26 -03:00
Higor Eurípedes f386c9b7f9 (file_extract) Fix invalid read in zlib_parse_file_progress() 2015-12-05 20:57:04 -03:00
twinaphex e2144c20ff Backports/rewrites wmarquesr pt. 1 2015-12-04 10:33:06 +01:00
twinaphex 0b1f5df456 Update encoding_utf 2015-12-01 19:24:51 +01:00
Higor Eurípedes f84bea4302 (task_http) Disallow same-file concurrent downloads 2015-11-30 11:37:06 -03:00
Higor Eurípedes a171f3c6d1 (task_decompress.c) Add progress report 2015-11-30 10:41:35 -03:00
Higor Eurípedes 6dfa580dfa (runloop_msg) Add rarch_main_msg_queue_pushf() 2015-11-28 16:07:53 -03:00
radius 2b6f7f0647 sleep to avoid flodding the host 2015-11-27 19:01:06 -05:00
radius ced2131027 basic remote gamepad test program 2015-11-27 18:15:42 -05:00
twinaphex f319916e80 C89_BUILD buildfixes 2015-11-25 03:33:54 +01:00
twinaphex 40e8f4eba6 Dehardcode C89_BUILD ifdefs 2015-11-25 02:10:31 +01:00
twinaphex 6a46b4d1ec Lower PATH_MAX_LENGTH to 512 for 3DS/PSP/Wii/Gamecube/Xbox 1 2015-11-24 17:38:52 +01:00
Higor Eurípedes afce03a20e (task_http) Abort task on error 2015-11-23 22:45:36 -03:00
twinaphex d1b9dbe7dc move db_to_gain to retro_miscellaneous.h 2015-11-24 00:35:14 +01:00
twinaphex 73fcbe3786 retro_miscellaneous.h - include math.h 2015-11-24 00:33:40 +01:00
twinaphex a3e52a9369 Put M_PI inside retro_miscellaneous.h 2015-11-24 00:05:37 +01:00
Higor Eurípedes 935e03fa97 Reimplement http transfers using tasks 2015-11-23 17:42:01 -03:00
twinaphex ab6d8fe6cc (compat_getopt.c) Include stdio.h 2015-11-23 20:26:32 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex 62a556e8ce retro_log.h - hacky but necessary to get it to work 2015-11-23 11:05:19 +01:00
twinaphex ecddeef016 Add extern "C" around retro_main_verbosity 2015-11-23 10:50:15 +01:00
twinaphex d65a445acd Fix concurrency issue with global->verbose 2015-11-22 20:50:39 +01:00
twinaphex 5c71cb06d4 Remove CONFIG_GET_HEX_BASE macro 2015-11-21 18:08:37 +01:00
twinaphex f91ba67c5b Kill off two configuration macros 2015-11-21 18:02:53 +01:00
twinaphex 30272dd413 Create 'loading and saving' of configuration settings for video_driver_ctl 2015-11-21 09:32:51 +01:00
Alcaro 888ba881ec No need to free a known null... 2015-11-20 16:33:21 +01:00
Alcaro 4b96b5814f Fix some weirdness down here. 2015-11-20 16:30:55 +01:00
Jean-André Santoni 632408c70d Prevent loosing core assignations for playlists that doesn't exist yet, or doesn't exist more 2015-11-20 03:23:20 +07:00
twinaphex 1e006e3edc Comment out config_get_uint64 when compiling for C89 2015-11-19 13:52:40 +01:00
twinaphex 63d78fd1cc Buildfix for MSVC 2015-11-16 21:21:52 +01:00
twinaphex 6f50187b56 Create utf16_conv_utf8 - recycled code - should probably be
cleaned up
2015-11-16 07:55:09 +01:00
twinaphex 8918df95e1 Add encoding_utf to libretro-common 2015-11-16 07:24:21 +01:00
Higor Eurípedes 24d0f40959 (retro_file) Small cleanup in fopen() 2015-11-15 20:49:04 -03:00
twinaphex 74464f1843 retro_file.c - CXX_BUILD buildfix 2015-11-15 22:58:31 +01:00
twinaphex 1c296b6bd6 (libretro-common) fifo_buffer - move internal struct definition to C file 2015-11-15 22:40:56 +01:00
twinaphex 149d892910 Cleanup config_file.c 2015-11-15 22:28:57 +01:00
Higor Eurípedes c2eac57529 (retro_file) Fix fseek() 2015-11-15 10:42:38 -03:00
Higor Eurípedes e0e48e8d3e Fix console builds 2015-11-14 20:47:20 -03:00
Higor Eurípedes f527f6466f (libretro-db) Fix build 2015-11-14 19:44:08 -03:00
Higor Eurípedes 72aa4f951c (retro_file) Fix undefined symbols on win32 2015-11-14 17:08:16 -03:00
Higor Eurípedes 0af8b9c731 (retro_file) Fix retro_fwrite() 2015-11-14 17:08:16 -03:00
Higor Eurípedes dac22cf95b (retro_file) Make mmap fseek()/fread() a little more POSIX/ISO-C compliant 2015-11-14 16:03:49 -03:00
Higor Eurípedes eb7b46c7c1 (retro_file) Implement RFILE_HINT_MMAP 2015-11-14 16:03:49 -03:00
Higor Eurípedes 533f41259a (retro_file) Implement RFILE_HINT_UNBUFFERED 2015-11-14 16:03:49 -03:00
twinaphex ff7e5ee0c8 Avoid redefining HAVE_STRL 2015-11-11 21:59:51 +01:00
twinaphex 1b7576aa64 Kill off IS_JOYCONFIG 2015-11-11 20:15:27 +01:00
twinaphex eb64b10098 Fix CXX_BUILD 2015-11-10 02:43:30 +01:00
Andre Leiradella 804ff7df1a Merge branch 'master' of https://github.com/leiradel/RetroArch 2015-11-08 22:53:48 -02:00
Andre Leiradella b6f995a1d7 moved the async job queue to the global_t scope 2015-11-08 22:53:17 -02:00
Andre Leiradella 4efb9eb645 flush the log file at every output 2015-11-08 18:47:05 -02:00
Yongwoon Cho ca9b7c141b Fix: iOS cannot go to parent directory. 2015-11-05 05:45:01 +09:00
Yongwoon Cho 9ba6877772 Fix: iOS cannot go to parent directory. 2015-11-05 05:43:13 +09:00
Yongwoon Cho 21944b2e11 Fix: iOS cannot go to parent directory. 2015-11-05 02:43:35 +09:00
twinaphex 1dab10ceda Attempt to fix mingw32 error 2015-11-02 21:56:44 +01:00
Andrés efad7848ec Merge pull request #2313 from leiradel/master
better network initialization in net_http_new_socket
2015-10-29 19:05:45 -05:00
Andre Leiradella 0750fe50bb better network initialization in net_http_new_socket 2015-10-29 22:04:48 -02:00
Twinaphex ebd60c69e2 Merge pull request #2310 from leiradel/master
initialize the network in net_http_new_socket
2015-10-29 00:47:38 +01:00
Andre Leiradella 6f137587d1 initialize the network in net_http_new_socket 2015-10-28 21:25:27 -02:00
twinaphex 971f5277d7 Move async_job to libretro-common 2015-10-28 07:47:57 +01:00
twinaphex 4d8ead2fb7 Move ra_semaphore to libretro-common - rename rsemaphore 2015-10-28 07:08:27 +01:00
Twinaphex 6f0e632f36 Get rid of dir_list_obj.m for iOS 2015-10-26 22:42:31 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex 8c87ac03e5 Split up compat into separate files 2015-10-26 02:41:41 +01:00
twinaphex 1943ccacfb Don't use compat/strl.h for OSX/iOS either 2015-10-26 00:29:16 +01:00
twinaphex 5ea75b616f Don't use compat/posix_string.h for OSX/iOS 2015-10-26 00:21:37 +01:00
twinaphex d19477edc5 (libretro-common) Update 2015-10-25 21:12:54 +01:00
twinaphex c96976083e Compile retro_stat as C 2015-10-25 20:57:38 +01:00
twinaphex 4b41ea60a0 Fix CXX_BUILD 2015-10-25 20:40:47 +01:00
Twinaphex 9f5a9eddbd Merge pull request #2262 from leiradel/master
moved net_http_get back to cheevos.c
2015-10-20 03:24:52 +02:00
Andre Leiradella 33fc0cc803 moved net_http_get back to cheevos.c 2015-10-19 23:20:10 -02:00
twinaphex 968fbb675c Don't introduce dependencies on RetroArch headers in libretro-common 2015-10-20 03:05:47 +02:00
Andre Leiradella b6a3da5a41 moved net_http_get to net_http.c; added timeout to cheevos http requests 2015-10-19 20:37:54 -02:00
twinaphex 14e46e0048 Remove menu_list_get_alt_at_offset 2015-10-18 21:54:20 +02:00
twinaphex 0a3db8f7bb Update cheevos - style nits 2015-10-15 16:04:26 +02:00
Twinaphex 0ca3043ee4 Merge pull request #2234 from leiradel/master
added md5
2015-10-14 04:01:09 +02:00
Andre Leiradella 8173af7acf added md5 functions to libretro-common 2015-10-13 19:28:02 -03:00
twinaphex e979e16721 (menu_input.h) Rename enum
(jsonsax.c) C89_BUILD fix
2015-10-11 16:30:47 +02:00
twinaphex 348f28b382 Cleanups 2015-10-11 15:46:55 +02:00
twinaphex 56bc07f4b0 (CXX_BUILD) Buildfixes 2015-10-10 11:12:11 +02:00
twinaphex 7f164647a2 (jsonsax) Preventing more namespace / symbol collisions in the future 2015-10-09 20:58:18 +02:00
twinaphex 14688de54a (jsonsax) Buildfixes 2015-10-09 20:55:31 +02:00
Andre Leiradella 9485298f78 fix function signatures; fix license on jsonsax 2015-10-09 13:48:17 -03:00
Andre Leiradella fa3f17d219 preliminary code for retro achievements (cheevos) 2015-10-09 13:29:57 -03:00
aliaspider 3879e2a7e7 (CTR/3DS) mkdir_norecurse: correct directory exists being treated as an
error.
2015-10-05 22:20:06 +01:00
twinaphex 911b9775a9 Assume strtok_r is not there on Mingw or MSVC 2015-10-03 02:33:26 +02:00
twinaphex 56309b1f19 (retro_stat.c) Should hopefully fix this now 2015-10-03 01:46:16 +02:00
twinaphex 61a630fabe GetFileAttributesEx returns 'zero' in case of an error 2015-10-03 01:01:57 +02:00
twinaphex 85be9b907d (retro_stat.c) initialize variable 2015-10-02 18:26:01 +02:00
twinaphex 8f67989bf1 (retro_dirent.c) Don't need posix_string for retro_dirent 2015-10-02 18:03:30 +02:00
twinaphex ba1ef9c3c2 (MSVC) Buildfixes 2015-10-02 17:57:37 +02:00
twinaphex 80e129d696 Forgot to change it to GetFileAttributesEx 2015-10-02 03:40:20 +02:00
twinaphex a99183e425 (Windows) Attempt implementing reading the file size without
relying on stat
2015-10-02 03:06:13 +02:00
twinaphex 4c27cd6b5c Attempt to fix Win32 port - path_stat/path_get_size 2015-10-01 07:25:00 +02:00
twinaphex 1a2da93c9c path_get_size - change non-portable ssize_t to int32_t 2015-10-01 02:40:54 +02:00
twinaphex 90549903b7 (retro_stat.c) Implement path_get_size 2015-10-01 02:23:00 +02:00
twinaphex 0ef40d7819 (retro_file.c) Get rid of dependency on posix_string.h 2015-09-30 03:57:39 +02:00
twinaphex 9d9e90e672 (libretro_common) Fix retro_stat - put it inside extern C block 2015-09-30 03:41:01 +02:00
twinaphex 87d44af218 Static code analysis cleanups 2015-09-29 18:08:33 +02:00
twinaphex 9b4a99d506 (net_compat.c) Style nits 2015-09-29 02:41:41 +02:00
Francisco José García García 7fa6a796be (Vita) First Networking Code and Download Overlays 2015-09-29 00:40:53 +02:00
Francisco José García García 1945b7e76d (Vita) Fix creating directories 2015-09-29 00:40:00 +02:00
twinaphex 02a5d738fe Static code analysis cleanups 2015-09-28 23:00:22 +02:00
twinaphex 790bb0d0d6 Minor code cleanups based on static code analysis 2015-09-28 22:07:40 +02:00
twinaphex 0cc56e2a1a More static code analysis nits 2015-09-28 18:44:28 +02:00
twinaphex 4ca5d31f9b Some more static code analysis nits when ran with enable=all 2015-09-28 18:12:02 +02:00
radius a2a00b28a0 [PSP] fix path_stat 2015-09-24 21:11:17 -05:00
radius dc9044c6b7 [PSP] fix path_stat 2015-09-24 21:05:23 -05:00
twinaphex 6eb1a55b52 (PSP/Vita) retro_stat.t c - fix is directory check 2015-09-24 21:26:38 +02:00
twinaphex a55d4a91ca (PSP) Don't treat directory already existing as an error 2015-09-24 15:17:50 +02:00
twinaphex 764c76c84a (retro_stat.c) Add PSP ifdef 2015-09-24 12:22:19 +02:00
twinaphex 1a4c60ac65 (rxml) Use retro_file 2015-09-23 13:49:45 +02:00
twinaphex df13e6a1fd retro_stat.c - simplify code 2015-09-22 21:21:06 +02:00
twinaphex ff1078a98b (camera/drivers/video4linux2.c) Use path_is_character_special 2015-09-22 21:16:58 +02:00
twinaphex 385e030261 Move functions around 2015-09-22 19:34:16 +02:00
twinaphex 5465da0139 Rename rarch_sleep to retro_sleep 2015-09-22 18:55:14 +02:00
twinaphex 6779fcf4f1 (CXX_BUILD) Buildfix 2015-09-22 13:00:36 +02:00
twinaphex 2660606f41 (libretro-common) config_file.c - Cleanups 2015-09-22 12:58:22 +02:00
twinaphex 1f852fb23d (libretro-common) Remove some header dependencies 2015-09-22 12:54:51 +02:00
twinaphex 5da780b2fd Remove some header dependencies 2015-09-22 12:52:15 +02:00
twinaphex cbb9744c66 (retro_stat.c) Warning fixes - include header for PS3 2015-09-22 01:51:34 +02:00
twinaphex 3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +02:00
twinaphex f581dce1f7 Use path_is_directory from retro_dirent.c 2015-09-21 23:20:46 +02:00
twinaphex 15b7fa545d (PSP1) Buildfix 2015-09-21 22:48:50 +02:00
twinaphex 9d67d48036 Create path_is_valid 2015-09-21 22:46:27 +02:00
twinaphex 77d99395a2 (PS3) path_is_directory - add cellFsStat implementation 2015-09-21 21:59:04 +02:00
twinaphex 00b2ce6498 (retro_file.c) Add PS3 CellOS implementation 2015-09-21 21:53:47 +02:00
twinaphex 4c2bc0c1fe (rbmp_encode.c) Make it C89-friendly 2015-09-21 11:58:36 +02:00
twinaphex 9093cd4aba (libretro-db) Use retro_endianness.h functions completely 2015-09-21 11:37:31 +02:00
twinaphex c21df1eb7d Update retro_miscellaneous.h 2015-09-21 11:17:19 +02:00
twinaphex ed1690f819 (Vita) Define PSP_O_RDONLY 2015-09-20 11:36:07 +02:00
twinaphex 864dd33e0d (retro_file.c) Vita - cleanups 2015-09-20 10:19:08 +02:00
Francisco José García García 1255674481 (Vita) Fix retro_file for VITA 2015-09-19 18:22:47 +02:00
Francisco José García García 92406fd4fa (Vita) Fix directory creation 2015-09-19 17:27:01 +02:00
twinaphex 7eb0d2b049 (rbmp_encode.c) Document 2015-09-19 15:56:05 +02:00
twinaphex e1109c82c6 Rename tga.c to rtga.c 2015-09-19 15:36:39 +02:00
twinaphex fd4e462381 Change tga_decode.c to tga.c 2015-09-19 15:34:43 +02:00
twinaphex f4eaa2296a (CXX_BUILD) buildfixes 2015-09-19 15:33:07 +02:00
twinaphex c569aa93a6 One buildfix begets another buildfix 2015-09-19 13:13:31 +02:00
Twinaphex 6b45c9e940 Buildfix net_http_connection_new 2015-09-19 13:07:33 +02:00
twinaphex 43da185d5d Replace more usage of strcpy 2015-09-19 03:50:35 +02:00
twinaphex 28931872d6 (RPNG) Make function static 2015-09-19 03:25:56 +02:00
twinaphex 5e71c31748 Split up BMP saving into separate file libretro-common/formats/bmp/rbmp_encode.c 2015-09-19 02:44:28 +02:00
twinaphex 0a3ee51f37 (RPNG) Header cleanups 2015-09-19 01:59:46 +02:00
twinaphex 6adc124604 (RPNG) Move dword_be 2015-09-19 01:49:29 +02:00
twinaphex 714b3e3126 (RPNG) Use retro_file for rpng_encode.c 2015-09-19 01:47:03 +02:00
twinaphex 181219ea32 (RPNG) Remove one enum 2015-09-19 01:43:31 +02:00
twinaphex 93684f2741 (RPNG) Turn decode functions static 2015-09-19 01:42:58 +02:00
twinaphex 43018976e9 (RPNG) Simplify rpng 2015-09-19 01:40:29 +02:00
twinaphex 3914fb9658 Simplify rpng_test.c 2015-09-19 01:34:27 +02:00
twinaphex d0651bae82 (RPNG) Buildfix standalone RPNG 2015-09-19 01:30:11 +02:00
twinaphex a052934972 Simplify rpng_fbio.c 2015-09-19 01:29:03 +02:00
twinaphex 6f9d3d5a26 (file_extract.c) Cleanup 2015-09-19 01:06:47 +02:00
twinaphex 958dcc3c02 Get rid of retro_fmemcpy - and use retro_read_file 2015-09-19 01:03:52 +02:00
twinaphex 32ddeb3f96 Rename retro_fmemcpy_alloc to retro_read_file 2015-09-19 00:36:27 +02:00
twinaphex 3564532564 Create retro_write_file 2015-09-19 00:34:24 +02:00
twinaphex a6e0b2f22d (retro_file) Create retro_fmemcpy_alloc 2015-09-19 00:19:51 +02:00
twinaphex 3464781017 (PS/Vita) Buildfix for retro_file.c 2015-09-18 07:14:22 +02:00
twinaphex 57f390e44d (retro_file.c) Buildfix for non-HAVE_BUFFERED_IO path 2015-09-18 07:13:06 +02:00
twinaphex aed85c1617 (C89_BUILD) Some buildfixes 2015-09-18 06:51:17 +02:00
twinaphex e25f3494ba Buildfixes 2015-09-18 06:41:05 +02:00
twinaphex c8df945792 Small cleanup 2015-09-18 05:44:13 +02:00
twinaphex c4910985ed (retro_file.c) Cleanup retro_fopen 2015-09-18 05:42:54 +02:00
twinaphex 5fdb1c8c43 (PSP/Vita) Fix fseek/ftell functionality for PSP/Vita 2015-09-18 05:34:30 +02:00
twinaphex 611be4bc16 (file_ops) Convert some functions in file_ops over to retro_file
(retro_file.c) Fix retro_fseek and retro_ftell functions
2015-09-18 05:22:50 +02:00
twinaphex 133e85298f * Add retro_get_fd to retro_file.c
* Use retro_file in gfx/drivers_context/drm_egl_ctx.c
2015-09-18 03:47:44 +02:00
twinaphex a547fdef50 Fix libretrodb_open - change mode to RFILE_MODE_READ - use
buffered I/O by default
2015-09-18 03:25:53 +02:00
twinaphex b51e418c4c (retro_file.c) HAVE_BUFFERED_IO - correct fread/fwrite arguments 2015-09-18 03:21:56 +02:00
twinaphex 08456c8541 Remove fcntl header includes from more files 2015-09-18 02:48:15 +02:00
twinaphex 35bd6e6ec8 Revert retro_file.c 2015-09-18 02:38:48 +02:00
Francisco José García García b0fb027a54 (Vita) Fix MKDIR with using correct stat.h 2015-09-18 01:22:03 +02:00
twinaphex dd58492fa6 Remove fcntl.h 2015-09-17 22:30:01 +02:00
Alcaro 7cf03b6d47 Revert that, doesn't work. 2015-09-17 22:14:45 +02:00
Alcaro 7054c8b214 Add the final read block too. 2015-09-17 22:10:06 +02:00
Alcaro 097f81ef4e Return the correct length in this fmemcpy thing. 2015-09-17 22:08:56 +02:00
Alcaro c8d627ff13 This looks like a buffer overflow. 2015-09-17 21:59:27 +02:00
Alcaro 691b7cffa9 Stupid fread/fwrite why do you need two arguments 2015-09-17 21:56:51 +02:00
Alcaro 1bb353ad59 This should be binary as well. 2015-09-17 21:55:50 +02:00
Alcaro 091409cc5a Rename these variables, so missed ifdefs throw more violent errors. 2015-09-17 21:54:33 +02:00
twinaphex 714972bae9 (retro_file.c) Add USE_BUFFERED_IO 2015-09-17 21:31:00 +02:00
twinaphex a6458d6ab6 Add PSP/Vita ifdefs to retro_file.c 2015-09-17 20:48:06 +02:00
twinaphex 4ed3d66c04 Have rhash.c use retro_file 2015-09-17 20:36:44 +02:00
twinaphex 52213c46d5 (PSP/Vita) Set mode to 0777 2015-09-17 20:25:31 +02:00
twinaphex 82e15d1377 CLeanups/fixes 2015-09-17 20:24:49 +02:00
twinaphex 55e54a30b4 Create retro_file, and have libretrodb use it 2015-09-17 19:58:06 +02:00
twinaphex da3bec58b1 (libretro-common) Start adding retro_file.c and retro_file.h 2015-09-17 11:41:48 +02:00
twinaphex 872314f910 Use UINT_FAST16_MAX/UINT_LEAST32_MAX 2015-09-15 18:59:40 +02:00
Lioncash fc64f6d82a msvc: Conditionally enable the snprintf macro
VS2015 implements the normal form of snprintf, so the define will cause compile errors.
2015-09-14 21:50:09 -04:00
twinaphex 8ca8b43545 Take out retro_endianness.h include out of retro_miscellaneous.h 2015-09-14 03:34:05 +02:00
twinaphex eccda8c39a (memory_stream.c) Cleanup 2015-09-13 09:45:41 +02:00
twinaphex 7f9761afb6 Create kaiser_window_function/lanzcos_window_function 2015-09-13 03:43:59 +02:00
twinaphex 5adc85a207 Create libretro-common/include/filters.h 2015-09-12 21:04:20 +02:00
aliaspider 3b85e0dd5a (3DS) fix build to work with the latest ctrulib. 2015-09-07 18:31:30 +01:00
twinaphex 79f46c574f compat/msvc.h - define snprintf macro for _WIN32 too 2015-09-07 01:43:21 +02:00
Alcaro dbccc4f4f0 Shut up some more warnings. 2015-09-06 16:07:26 +02:00
Alcaro 5f1729dbac Fix some MSVC fails. 2015-09-06 15:36:23 +02:00
Alcaro fcbaca9b66 Fix a dozen CXX_BUILD errors under Windows. 2015-09-06 15:29:48 +02:00
twinaphex 2ecd6f4406 file_extract.c - Some MISSING_DECLS buildfixes 2015-09-06 15:05:55 +02:00
twinaphex c2c49da1de More MISSING_DECLS buildfixes 2015-09-06 15:03:58 +02:00
Alcaro 474c96365d Switch to C++98. Fix some weird warnings. 2015-09-06 14:51:33 +02:00
Alcaro 9554597160 Add missing header includes, fixes CXX_BUILD. 2015-09-06 14:46:25 +02:00
Twinaphex 8d2eceaa22 (rpng) Cleanups 2015-09-06 13:02:44 +02:00
twinaphex 7d3408e731 Cleanups 2015-09-05 21:13:58 +02:00
twinaphex 7ec3c5080d Cleanups 2015-09-05 21:11:12 +02:00
twinaphex f88575633e Cleanups 2015-09-05 20:34:22 +02:00
twinaphex c4316b791c Avoid some warnings - array subscript has type char 2015-09-05 14:31:29 +02:00
twinaphex 3522c45067 Avoid some warnings - 'array subscript has type char' 2015-09-05 14:25:42 +02:00
twinaphex 42b3c79b8e (retro_dirent.c) Win32 buildfix 2015-09-05 13:37:08 +02:00
twinaphex 7e3bdf8be5 (Vita) This header needs to be included for stat 2015-09-05 01:38:09 +02:00
twinaphex a3349dc364 Cleanups 2015-09-04 21:01:22 +02:00
twinaphex 7829b3153c Cleanups 2015-09-04 20:56:23 +02:00
twinaphex ab2d13d05a Cleanups 2015-09-04 20:51:50 +02:00
twinaphex a806a67b0b (file_path.c) Remove dirent.h headers 2015-09-04 20:47:55 +02:00
twinaphex b79c2ced37 Remove win32/compat/dirent.c 2015-09-04 20:27:41 +02:00
twinaphex bdc07f4c8c (Vita) retro_dirent.c - build fixes 2015-09-04 20:09:53 +02:00
twinaphex 97f8c39865 (retro_dirent.c) PS3 - cleanup 2015-09-04 19:12:19 +02:00
twinaphex 9ef5570fcc (retro_dirent.c) Add PS3 codepaths 2015-09-04 19:11:20 +02:00
twinaphex eb8ca30a6c Add retro_dirent.c to Salamander 2015-09-04 18:54:29 +02:00
twinaphex 9b77a7ecae Don't make retro_dirent.c dependent on file/file_path.c 2015-09-04 18:50:09 +02:00
twinaphex b0f54b896a Clean up unused variables 2015-09-04 18:41:53 +02:00
twinaphex 56c8a57e0c Create retro_dirent.c/retro_dirent.h 2015-09-04 18:38:29 +02:00
twinaphex 156cdd3295 Create memalign.c 2015-09-02 17:06:02 +02:00
twinaphex 40a52e417c (memmap.c) Cleanup 2015-09-02 12:08:07 +02:00
Twinaphex 29399513c0 (file_path.c) Bugfix 2015-09-01 14:40:03 +02:00
twinaphex 6d188a4840 Move function prototypes to rpng_decode.h 2015-09-01 13:42:28 +02:00
twinaphex 7874eb9890 Move some inline functions to rpng_decode.c 2015-09-01 13:41:45 +02:00
twinaphex 30912ef535 Rename rpng_common.h to rpng_internal.h 2015-09-01 13:40:17 +02:00
twinaphex 679a7ee130 (rpng) Don't expose unused internal function 2015-09-01 13:39:09 +02:00
twinaphex 0d923d6b05 (rpng) Cleanup 2015-09-01 13:37:03 +02:00
twinaphex 3ccb4380f1 (RPNG) Move more common code outside 2015-09-01 13:27:36 +02:00
twinaphex c80e59b888 Create common png_read_plte 2015-09-01 13:22:20 +02:00
twinaphex c259b983de struct definitions now go inside rpng_common.h - move them
away from public headers
2015-09-01 13:08:10 +02:00
twinaphex 511b2c6d83 Create rpng_set_buf_ptr 2015-09-01 13:00:02 +02:00
twinaphex d5837f4b7c Don't take in as first argument rpng->buff_data - handle this internally 2015-09-01 12:56:39 +02:00
twinaphex cd79143038 (rpng) Encapsulate incrementation of buffer position 2015-09-01 12:52:04 +02:00
twinaphex 3762502112 Create rpng_is_valid 2015-09-01 12:41:31 +02:00
twinaphex 09aac8a320 Create rpng_nbio_is_valid 2015-09-01 12:39:17 +02:00
twinaphex 0676738140 Console build fixes 2015-09-01 12:10:26 +02:00
twinaphex a519654810 (Android) Some build fixes 2015-09-01 12:04:08 +02:00
twinaphex 15ba019ea1 Don't make asserts dependent on retro_log.h 2015-09-01 11:59:27 +02:00
twinaphex 7bcb3d4f27 (file_path.c) Get rid of rhash.h dependency 2015-09-01 11:46:18 +02:00
twinaphex aa282c5780 Reimplement memmap.c for Windows 2015-09-01 11:29:50 +02:00
twinaphex 2b9777e6c2 (memmap.c) Cleanup 2015-09-01 01:53:25 +02:00
twinaphex d7aebbd40e Update 2015-08-31 22:04:21 +02:00
twinaphex 2b80e89f13 Revert "Move zconf.h to libretro-common/include/compat"
This reverts commit 15c00bc997.
2015-08-31 19:40:07 +02:00
twinaphex 15c00bc997 Move zconf.h to libretro-common/include/compat 2015-08-31 18:07:38 +02:00
twinaphex de8dfb627c (PSP/Vita) dirent_is_directory - buildfix 2015-08-31 14:30:52 +02:00
twinaphex a2d6992e24 (Vita) Buildfix 2015-08-31 14:26:27 +02:00
twinaphex 081d5b5074 set_direct_pix_conv - turn conditionals into switches 2015-08-31 14:15:28 +02:00
twinaphex 0b4ba8443f Create convert_argb888_rgba4444 2015-08-31 14:08:22 +02:00
twinaphex d8ef051f57 (dir_list.c) Use Vita codepaths for PSP too 2015-08-31 13:01:39 +02:00
twinaphex b0f9e1ac9c Cleanups 2015-08-31 12:52:42 +02:00
twinaphex 7f5399071e Cleanups 2015-08-31 11:10:48 +02:00
twinaphex 27a8022af1 Cleanups 2015-08-31 11:03:00 +02:00
twinaphex 9895cd6b21 Cleanups 2015-08-31 10:58:54 +02:00
twinaphex 5a28266abf Cleanups 2015-08-31 10:58:15 +02:00
twinaphex 9ba9098cb0 Cleanups 2015-08-31 10:45:10 +02:00
twinaphex f324afc12a Cleanup 2015-08-31 10:41:30 +02:00
twinaphex 920ee70fbd dir_list_new - don't do implicit memset 2015-08-31 10:40:35 +02:00
twinaphex f6991c95a4 Cleanups 2015-08-31 10:39:10 +02:00
twinaphex d5109af2cb (Vita/Win32) Refactor dirent_is_directory 2015-08-31 10:36:46 +02:00
Twinaphex a2fc762bfc Merge pull request #2078 from CautiousAlbino/hang-fix2
Retry implementation of include_compressed to dir_list_new.
2015-08-30 20:36:43 +02:00
CautiousAlbino 173dcd3e4c Retry implementation of include_compressed to dir_list_new.
Problem was that if ext_list wasn't used, an empty list would be
created.
2015-08-30 20:19:41 +02:00
twinaphex 8f4b4c55b2 (Vita) Add naive implementation for pthread_mutex_trylock 2015-08-30 20:06:51 +02:00
twinaphex 1533d451e9 Use sceIoMkdir for PSP too 2015-08-30 18:53:41 +02:00