Commit Graph

1458 Commits

Author SHA1 Message Date
twinaphex 2c6ff22862 Move libretro_dspfilter.h to libretro-common 2017-01-09 12:17:57 +01:00
twinaphex faf939856b Rewrite task_queue.c - get rid of messy internal Rarch code 2017-01-03 18:27:09 +01:00
twinaphex dde441e1d2 Remove prototypes 2016-12-29 23:51:48 +01:00
twinaphex 9657bbd998 Get rid of set_rgba/unset_rgba inside image_texture.c 2016-12-29 23:22:40 +01:00
twinaphex 6a166faa0c Revert "Remove supports_rgba varaible from image_texture.c"
This reverts commit bd0c97fdc4.
2016-12-29 22:53:10 +01:00
twinaphex bd0c97fdc4 Remove supports_rgba varaible from image_texture.c 2016-12-29 22:39:52 +01:00
Brad Parker 41f40acfc4 guard task struct read/writes across threads with a mutex, fixes several data races found by ThreadSanitizer and helgrind 2016-12-29 00:54:12 -05:00
Twinaphex c81d54bd46 (libretro-common) Cleanups 2016-12-20 00:39:45 +01:00
Gregor Richards 900e5a79ec Use nonblocking sockets for Netplay to avoid some stalls. 2016-12-18 19:28:38 -05:00
twinaphex d4796caabd (libetro-common) Turn path_contains_compressed_file into a macro 2016-12-17 14:01:25 +01:00
twinaphex c739ca016c Add net_http_parse 2016-12-17 00:46:23 +01:00
Logan McNaughton 8cd2566128 Simplify glTexImage2D/glTexStorage2D calls
Also add support for glTexStorage2DEXT (GLES2)
2016-12-14 07:29:37 -08:00
Twinaphex 93b29aab5a Merge pull request #4234 from leiradel/master
Added support for loading 8 and 16 bps, mono/stereo, uncompressed PCM wave files
2016-12-13 01:11:03 +01:00
Andre Leiradella 2c90258353 Include retro_common_api.h 2016-12-12 23:53:44 +00:00
Andre Leiradella 6fd6329b41 Fixed copyright notice 2016-12-12 23:28:17 +00:00
Andre Leiradella b65e16d39d Added support for loading 8 and 16 bps, mono/stereo, uncompressed PCM wave files 2016-12-12 23:23:36 +00:00
twinaphex 08a60c94d0 Move audio resampler drivers (Sinc/nearest) to libretro-common; maister gave permission to relicense to MIT 2016-12-12 13:02:29 +01:00
twinaphex 8042c2ac62 Move config_file_userdata.c to libretro-common 2016-12-12 12:36:46 +01:00
Gregor Richards 65224dc2a5 NAT traversal also needs to avoid IPv6 with SOCKET_LEGACY 2016-12-10 13:58:51 -05:00
Brad Parker 1f39426195 only use fancy ribbon on GLES if GL_OES_standard_derivatives extension is detected 2016-12-09 19:32:55 -05:00
Logan McNaughton 1d69baca82 Use glTexStorage2D for FBO textures 2016-12-08 21:14:10 -07:00
Brad Parker e39031cbd0 revert rest of unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker d20acaa63d more unicode fixes 2016-12-02 23:00:27 -05:00
Brad Parker 826afd137c disable unicode until GL context is fixed 2016-12-02 15:34:15 -05:00
Brad Parker 3b8a81dd31 make existing hard-coded unicode calls switchable back to ansi 2016-12-02 14:34:29 -05:00
Brad Parker d891f1c90b remove explicit unicode def/undefs 2016-12-02 14:34:29 -05:00
Brad Parker 3846ce1837 build fixes for MSVC, start moving back to TCHAR usage so we can switch unicode on and off 2016-12-02 12:54:39 -05:00
Twinaphex bb499b70be Merge pull request #4104 from GregorR/natt
NAT traversal
2016-11-30 16:09:53 +01:00
Gregor Richards 42da0a0184 NAT traversal in Netplay
For the time being, if NAT traversal is successful it simply announces
it as an OSD message. In the future it will be used to inform a
matchmaking server of the public port.

This patch also included minor fixes to the NAT traversal implementation
to make the select it demands actually doable.
2016-11-29 22:59:46 -05:00
Gregor Richards 8f61e2b978 Spacing correction (three spaces, not four) 2016-11-29 21:16:04 -05:00
Gregor Richards da406c3abb Adding copyright headers and support for specifying protocol (TCP/UDP) 2016-11-29 21:09:47 -05:00
Gregor Richards 65355994b3 NAT traversal
Adding NAT traveral interface to libretro-common, with (currently) a
backend support MiniUPNPC. Sensible future backends would be libupnp and
a direct implementation of PCP/NAT-PMP.
2016-11-29 21:00:53 -05:00
Brad Parker cd9d09d1f3 use unicode versions of windows functions 2016-11-29 14:34:35 -05:00
Twinaphex a09ad05a76 Merge pull request #4064 from GregorR/netplay-compression
Netplay compression
2016-11-26 23:43:05 +01:00
Gregor Richards 096eb072e1 Replacing archive_file_zlib backend with trans_stream 2016-11-26 15:48:58 -05:00
twinaphex 82b1cbf04a Not sure why this is in include/hash 2016-11-26 17:14:40 +01:00
Gregor Richards ac50e17f50 Moving zlib stream interface
Moving the zlib streaming interface out of archive_file and into
trans_stream, including updating the png support to use the new
trans_stream interface. archive_file_zlib itself still needs updating.
2016-11-26 10:47:24 -05:00
Gregor Richards f27476b4ef Adding a transcoding stream interface for in-memory compression. 2016-11-26 09:19:46 -05:00
twinaphex 66795c35cc Fix for GLES2 target 2016-11-18 23:29:48 +01:00
Alcaro a973bd8dfa Clarify this function 2016-11-16 14:36:48 +01:00
twinaphex 83d91ae85a (libretro-common) Update copyrights 2016-11-08 17:55:35 +01:00
twinaphex a7585f9988 Move video_frame.h to libretro-common 2016-11-08 15:35:24 +01:00
Twinaphex 38b3e4042d Merge pull request #3953 from aliaspider/master
(WiiU) working sound.
2016-11-06 19:18:11 +01:00
Alcaro d64aa98bee Clarify this one, all known fronts already do this 2016-11-06 12:02:37 +01:00
aliaspider 31edafde03 (WIIU) add timers, fix retro_sleep. 2016-11-06 11:55:56 +01:00
twinaphex 9a9f76d71c (FFT) Add potential non-GLM code 2016-11-04 21:25:12 +01:00
twinaphex 01961cbf5e Turn matrix_4x4_identity into inline function 2016-11-04 15:58:32 +01:00
twinaphex 85dd30ca3e (Android) Issues with ABI target version 9 - just do
ugly preprocessor hacks instead
2016-11-03 16:35:04 +01:00
twinaphex 19ee1a4751 Move macros of matrix functions to C files 2016-11-03 14:52:22 +01:00
twinaphex cb23aec500 Try to prevent GLES 2 compile-time issues where GLuint64/GLint64
is already provided by a system header
2016-11-03 14:25:10 +01:00
twinaphex 9fd40831ef float_minmax.h - include math.h 2016-11-01 11:43:00 +01:00
twinaphex 6c6daeca5b (libretro-common) Add float_minmax.h 2016-11-01 11:27:00 +01:00
Twinaphex 92a9f8aec7 Merge pull request #3887 from aliaspider/master
(WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
2016-10-29 04:02:54 +02:00
aliaspider e055b7cbc1 (WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
from WUT.
2016-10-29 02:56:40 +01:00
Jean-André Santoni c99b4f7252 Preliminary support for the Vietnamese language 2016-10-27 20:49:56 +02:00
twinaphex 4fb6808321 libretro-common is MIT and we don't want individual copyright
per authors here; RetroArch is GPL and it's fine there
2016-10-27 19:52:58 +02:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
aliaspider a4d745a471 preliminary port to the wiiu platform 2016-10-27 01:34:10 +01:00
Jean-André Santoni 07421c3cd4 Fix build on some platform missing int64 types in their headers 2016-10-26 20:13:56 +02:00
twinaphex 4454fdbfc2 Fix MSVC build 2016-10-24 08:33:35 +02:00
twinaphex 213e357918 Move gl_capabilities to libretro-common 2016-10-24 04:06:05 +02:00
Henri Gomez eaed1c96be ASIMD detection on ARMv8 2016-10-18 17:10:43 +02:00
Higor Eurípedes 330a8d7594 Make thread local storage optional 2016-10-17 21:24:03 -03:00
Higor Eurípedes 471ff4a999 (libretro-common) Add thread local storage 2016-10-17 20:49:37 -03:00
Higor Eurípedes 2109a13ce2 (libretro-common) Fix sthread_isself() documentation 2016-10-17 19:14:31 -03:00
Francisco José García García 81e7a60759 (VITA) Try to use NEON 2016-10-17 18:39:53 +02:00
Twinaphex 8da65e73f6 Update 2016-10-14 17:07:33 +02:00
twinaphex 6a0ed60121 khronos_int64_t/khronos_uint64_t are just int64_t/uint64_t, change
this up - this was preventing iOS 10 build from being compilable
2016-10-14 17:01:11 +02:00
twinaphex f10cfda93e Updates 2016-10-14 15:34:02 +02:00
Francisco José García García 4c19543427 (VITA) Workaround for scanning content 2016-10-13 18:00:40 +02:00
twinaphex 648a13b3b8 vec2 - same header guard as vec3 - fix 2016-10-08 09:19:27 +02:00
Alcaro f92d34e183 Clarify this one. 2016-10-06 01:06:31 +02:00
Gregor Richards 8cfb4b573b Removing confusing "or C type" verbage 2016-10-04 23:07:36 -04:00
Gregor Richards 701cc5a18c Splitting endian and other platform savestate quirks. 2016-10-04 23:07:36 -04:00
Gregor Richards a636bac428 Style and clarity nits. 2016-10-04 23:07:36 -04:00
Gregor Richards 1483aa710f Changing the initialization quirk to communicate by retro_serialize and
the variable size quirk to use a core and front flag.
2016-10-04 23:07:36 -04:00
Gregor Richards 919897c464 Some style/clarity nits. 2016-10-04 23:07:35 -04:00
Gregor Richards fad6e2e87e Make quirks a bidirectional interface, so the frontend can refuse quirks
it doesn't support, in particular variable sized states.
2016-10-04 23:07:35 -04:00
Gregor Richards 90bd741786 Switching serialization quirks to uint64_t for consistency with other
bitfields
2016-10-04 23:07:35 -04:00
Gregor Richards b974fa5718 Add a libretro environment for serialization quirks
The new environment RETRO_ENVIRONMENT_SET_SERIALIZATION_QUIRKS allows
cores to communicate any quirks their implementation of serialization
may exhibit. This is useful for distinguishing between serialization
implementations that are sufficient for netplay, rewind, regular use,
etc, as each of these have different requirements and it should be
possible to support a "good enough" serialization without breaking
frontend features.
2016-10-04 23:05:50 -04:00
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
twinaphex 107a962171 Add RARCH_OVERRIDE_SETTING_LIBRETRO_DEVICE 2016-10-01 06:02:18 +02:00
Logan McNaughton 1ea200b564 GLES3 fix
Fixes #3658
2016-09-26 15:30:42 -06: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 4e14ff8a66 Go through opaque pointer for glDeleteSync - GLsync as a type
might not be available
2016-09-24 00:04:19 +02:00
Twinaphex 4d49bb44f2 (OSX) Buildfix 2016-09-21 02:30:21 +02: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 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
Brad Parker 2a75b88d89 file_archive_extract_first_file can choose any file now 2016-09-18 21:22:13 -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
Brad Parker dbbd49f9f9 merge with master, remove alignment test code 2016-09-18 12:44:00 -04: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
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 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 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
twinaphex 164d3b034c Get rid of OSX_PPC 2016-09-09 15:56:56 +02:00
twinaphex 4811e1124d (features CPU) add CMOV 2016-09-04 06:07:45 +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 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
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
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
Alcaro e559085540 Merge pull request #3407 from meleu/screenshot_with_gamename
Screenshot with gamename
2016-08-19 22:08:34 +02:00
twinaphex acf76f6a58 (libretro-common) Simplify compat_ctz 2016-08-19 20:18:04 +02:00
meleu e1f4b41bb6 added fill_str_dated_filename() prototype 2016-08-19 08:49:09 -03:00
twinaphex 1eaa29eed8 Fix prototype 2016-08-12 01:09:56 +02:00
twinaphex 8617b9f649 Add zconf headers 2016-08-12 01:02:19 +02: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
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
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
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 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
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 481e7d2f34 (libretro-common) Move STRING_REP_UINT64 to retro_common_api.h 2016-06-28 08:50:22 +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 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
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 e3fa9ae5ee Update GLSM 2016-06-20 21:34:26 +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 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 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 4b76f88939 Update libretro-common 2016-06-06 21:48:59 +02:00
aliaspider 5a80bd6b30 (VITA) build fix for latest sdk. 2016-06-05 22:01:25 +01: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 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 2b33c731d0 Create RFILE_MODE_READ_TEXT 2016-06-03 03:14:42 +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
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
Alcaro 26190043eb this mmap env is way more complicated than it has any right to be. 2016-05-24 22:06:21 +02: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 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 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 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
Alcaro c19a39f49c Set calling convention for those pointers. (Yes, it's ugly.) 2016-05-16 23:51:11 +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 bb1d1da693 Remove runloop_iterate_data 2016-05-16 17:29:02 +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 65d33700d4 Move audio_utils to libretro-common as s16_to_float 2016-05-16 11:33:49 +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 1983604134 Remove GLSM_CTL_IS_FRAMEBUFFER_LOCKED 2016-05-16 06:02:03 +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 3257ecdaef (features_cpu.c) Move _WIN32 up in priority 2016-05-14 01:27:09 +02:00
twinaphex 101539b489 (RJPEG) more internal changes 2016-05-13 09:58:42 +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 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
Andre Leiradella bc8b75148e updated with upstream 2016-05-12 22:36:49 -03: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 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 87b83ecf56 (RetroPad) Use socket_set_target 2016-05-09 06:40:51 +02:00
twinaphex e1d04737cb (OSX PPC) Add line to libretro-common/include/compat/zlib.h 2016-05-09 04:51:18 +02:00
twinaphex 11ec23bc18 Create inet_ptrton 2016-05-08 15:41:34 +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 7f272a4bd0 Add missing parameters 2016-05-07 16:24:26 +02:00
twinaphex f86d4d400d Start adding jpeg hooks 2016-05-07 06:20:17 +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 268be70fe8 Cleanups 2016-05-07 04:15:39 +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
Sebastien Ronsse 8f6bb23f38 task queue: Implement running tasks retrieval mechanism 2016-05-06 14:41:45 +10: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 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
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
twinaphex f60676f43e Create inet_htons 2016-05-03 04:35:51 +02:00
twinaphex dbd56997f4 Changes to getaddrinfo_retro 2016-05-02 19:30:12 +02:00
twinaphex 00a49d068e Implement TCP protocol for socket_create 2016-05-02 18:47:34 +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 31f3fc0abb Create socket_receive_all_nonblocking 2016-05-02 02:09:22 +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 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 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 08b7ac500b (libretro-common) Updates 2016-04-23 10:40:46 +02:00
twinaphex ac18671ead Update libretro-common 2016-04-22 05:28:49 +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
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 175d601a4e Make it possible to initialize memory stream interface in
writable mode
2016-04-07 05:06:41 +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 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 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 490a2f77ae Update libretro-common 2016-03-31 13:27:54 +02: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 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 c8f4d97839 Move config_file_userdata outside libretro-common 2016-03-21 18:49:50 +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 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 f7d4cc25e5 (libretro-common) file_list.c 2016-03-20 15:56:33 +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 341d0f9998 Update 2016-03-09 12:00:45 +01:00
twinaphex 08ed4d0e57 Cleanup 2016-03-08 16:11:53 +01:00
twinaphex 93de657952 (retro_inline.h) Fix backwards compatibility with older mingw versions 2016-03-04 01:43:09 +01:00
twinaphex c9e6a91137 (Android) Bake in ifaddrs for Android 2016-03-03 02:08:47 +01:00
twinaphex d805845e29 Add net_ifinfo 2016-03-03 00:17:14 +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 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 bd008748da Update 2016-02-11 18:44:48 +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 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 9459cf6445 Rename zlib_ to file_archive_ 2016-01-24 22:17:11 +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 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 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 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 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 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 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 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
twinaphex 4de1726bf6 Define CGFloat for versions lower or equal to OSX 10.4 2016-01-17 19:58:31 +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
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
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
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
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
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 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 4efb9eb645 flush the log file at every output 2015-11-08 18:47:05 -02:00
twinaphex 1dab10ceda Attempt to fix mingw32 error 2015-11-02 21:56:44 +01: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 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 c96976083e Compile retro_stat as C 2015-10-25 20:57:38 +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 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 348f28b382 Cleanups 2015-10-11 15:46:55 +02:00
twinaphex 56bc07f4b0 (CXX_BUILD) Buildfixes 2015-10-10 11:12:11 +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
twinaphex 911b9775a9 Assume strtok_r is not there on Mingw or MSVC 2015-10-03 02:33:26 +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 9d9e90e672 (libretro_common) Fix retro_stat - put it inside extern C block 2015-09-30 03:41:01 +02:00
Francisco José García García 7fa6a796be (Vita) First Networking Code and Download Overlays 2015-09-29 00:40:53 +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 3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +02:00
twinaphex 9d67d48036 Create path_is_valid 2015-09-21 22:46:27 +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 5e71c31748 Split up BMP saving into separate file libretro-common/formats/bmp/rbmp_encode.c 2015-09-19 02:44:28 +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 aed85c1617 (C89_BUILD) Some buildfixes 2015-09-18 06:51:17 +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 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 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 8d2eceaa22 (rpng) Cleanups 2015-09-06 13:02:44 +02:00
twinaphex b79c2ced37 Remove win32/compat/dirent.c 2015-09-04 20:27:41 +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 679a7ee130 (rpng) Don't expose unused internal function 2015-09-01 13:39:09 +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 15ba019ea1 Don't make asserts dependent on retro_log.h 2015-09-01 11:59:27 +02:00
twinaphex aa282c5780 Reimplement memmap.c for Windows 2015-09-01 11:29:50 +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 0b4ba8443f Create convert_argb888_rgba4444 2015-08-31 14:08:22 +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 aa382a5c7c Revert "Add include_compressed param to dir_list_new." 2015-08-30 18:36:25 +02:00
CautiousAlbino c4691b2668 Add include_compressed param to dir_list_new.
Do not try to load in compressed archives unless we expect them.
Fixes hang in input autodetect where it tried to parse a zip file as an
archive.
2015-08-30 16:57:34 +02:00
Sergi Granell 7e86e2158d (Vita) Update net and netlogger 2015-08-30 16:12:45 +02:00
twinaphex 039b4e0454 Move code back to logger.c 2015-08-29 18:57:07 +02:00
twinaphex e00ea900ed Refactor logger headers 2015-08-29 16:48:53 +02:00
twinaphex e32b99ac0c Consolidate PSL1GHT logger into logger/netlogger/logger.c
and expand net/net_compat.c
2015-08-29 16:24:38 +02:00
twinaphex 4f80afe03e Move code to net_compat.h 2015-08-29 16:02:10 +02:00
twinaphex 5b67aaaa17 Start making the logging code more portable 2015-08-29 15:40:23 +02:00
twinaphex 6edea1d9c7 Create compat versions of zlib.h and zutil.h 2015-08-28 21:35:09 +02:00
Twinaphex 05740fc55a (iOS) Buildfix 2015-08-24 01:35:52 +02:00
twinaphex 67afbea0f5 (iOS) Flesh out logger code 2015-08-24 01:32:35 +02:00
twinaphex be9f2b870a Compile in memmap.c 2015-08-22 18:38:17 +02:00
twinaphex c7c61b79e3 Add dylib_error 2015-08-20 06:21:53 +02:00
twinaphex d4c0a09a03 Make mman functions public in memmap.h header for Win32 2015-08-12 15:48:52 +02:00
twinaphex 7f615fc781 (memmap) Create wrapper functions memprotect and memsync 2015-08-12 15:45:15 +02:00
twinaphex 7031582b22 (libretro-common) Include preliminary memmap.c 2015-08-12 15:27:20 +02:00
Alcaro ee2ad0c4bd These aren't executable. 2015-08-12 01:31:03 +02:00
radius 828734e007 don't try to autoconfigure GPIO devices 2015-08-11 17:13:25 -05:00
twinaphex fa5645b1e7 (libretro-common) Add some ifdef rules for Vita 2015-08-10 23:23:03 +02:00
twinaphex bb7960c500 Fixes 2015-07-30 03:31:48 +02:00
twinaphex 99e1a9b297 Get rid of builtin_bswap16/bswap32 - breaks on OSX 10.8 2015-07-18 20:56:47 +02:00
twinaphex bbc63f7e99 Fix CXX_BUILD 2015-07-12 08:08:27 +02:00
twinaphex 135ee2f503 Use UINT64_C(1) everywhere instead of 1ULL 2015-07-12 07:53:46 +02:00
Higor Eurípedes 3cc6e07174 (task_database) Fix leaks when scanning zip files 2015-07-05 10:23:21 -03:00
David Shah 5e0469ce40 Fix building for Android
Modified retro_log.h to prevent undefined reference to rarch_main_verbosity
2015-07-02 14:16:23 +01:00
twinaphex 84ef36ee3b Create retro_environment.h for libretro-common 2015-06-30 23:00:44 +02:00
twinaphex 79ed8b2823 Fix rthreads.h 2015-06-30 22:16:31 +02:00
twinaphex 96c119bb1d Move retroarch_logger.h to libretro-common/include 2015-06-30 00:38:10 +02:00
Alcaro 4ca6c2398c More C89 cleanups, part 3 2015-06-26 18:35:52 +02:00
Alcaro c3e111605b Fix retro_inline.h under C89. 2015-06-26 15:53:20 +02:00
twinaphex a132fa0fba Some C89 build fixes 2015-06-26 15:53:18 +02:00
twinaphex d3f0954418 Start preparing internal ffmpeg core mechanisms 2015-06-21 00:03:27 +02:00
Jools Wills 417d26ed02 GCC 4.7 does not have __builtin_bswap16 on all platforms
GCC 4.7 does not have __builtin_bswap16 on all platforms so don't try to use it unless we are on gcc 4.8 or greater
2015-06-14 20:16:48 +01:00
Higor Eurípedes 72fa1c9d36 (config_file.c) Speed up setting lookup with hashes 2015-06-14 12:36:29 -03:00
Higor Eurípedes 70c845a6b2 Rewrite file_list_copy() 2015-06-13 19:03:41 -03:00
twinaphex e514c30d0f retro_endianness.h - need to include stdlib.h for _byteswap_ulong/
_byteswap_short
2015-06-12 16:40:48 +02:00
twinaphex 087e1354ec Create file_list_set_userdata/file_list_set_actiondata 2015-06-11 23:02:17 +02:00
Twinaphex c86c40c1cd Create file_list_free_actiondata/file_list_free_userdata 2015-06-11 21:03:28 +02:00
twinaphex 5bd138b6ac (file_list) Start adding entry_idx to file_list_* functions 2015-06-10 22:43:06 +02:00
Alcaro 0aa6747285 (retro_endianess.h) That's not how the preprocessor works. 2015-06-10 02:47:29 +02:00
Higor Eurípedes 47af2e6d1c (retro_endianess.h) Small update 2015-06-09 20:13:35 -03:00
twinaphex d3102e03c8 (file_list.c) Get rid of 'alt2' 2015-06-07 00:53:00 +02:00
twinaphex fc4755bce2 (libretro-common) Move hash.c/hash.h to libretro-common 2015-06-04 21:13:13 +02:00
twinaphex 4a37c4e020 Remove duplicate strcasestr 2015-06-02 16:49:35 +02:00
twinaphex aac21b1d11 Add '__MACH__' to ifdef rule 2015-06-02 16:45:35 +02:00
twinaphex 7370095e3e Correct compat/strl.h 2015-06-02 16:39:43 +02:00
twinaphex 3746bc1351 (glsym_gl.h) Don't depend on 'OSX' define 2015-06-02 16:37:13 +02:00
twinaphex aa56b8e1e3 (Task database) Start using zlib_parse_file_iterate in task_database.c 2015-05-27 01:36:15 +02:00
twinaphex 3d924a7556 Create zlib_parse_file_iterate 2015-05-27 01:03:49 +02:00
twinaphex c94e29ed02 Create rarch_strcasestr 2015-05-26 02:31:29 +02:00
twinaphex 30aaa265e0 Create filt_list_{set/get}_alt2_at_offset 2015-05-22 23:57:48 +02:00
twinaphex 87d9834d06 Move dylib.c to libretro-common 2015-05-08 09:49:49 +02:00
twinaphex 0704c7f0c7 Create texture_image_color_convert 2015-05-04 10:16:47 +02:00
twinaphex 51920f9e5f Simplify 'get_title' 2015-04-19 12:14:20 +02:00
twinaphex f4bd33b92f (XDK1) Build fixes 2015-04-12 22:29:55 +02:00
twinaphex a27c0714cb Take chunk_type out of struct 2015-04-10 23:45:56 +02:00
Alcaro d7be3979ea Update stdstring.h 2015-04-06 23:01:13 +02:00
twinaphex d880ffab5b Create string_is_empty 2015-04-06 19:03:14 +02:00
twinaphex 108930ddc2 retro_endianness.h - cleanups 2015-04-02 21:00:30 +02:00
twinaphex b9e6b014e3 Start preparing joypad_connection code for cross-platform purposes 2015-04-02 17:49:32 +02:00
Twinaphex db2dd5010b Merge pull request #1559 from aliaspider/master
preliminary 3DS port.
2015-04-01 23:18:12 +02:00
aliaspider 2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00
Twinaphex 76a0486f5e (ObjC) Include <objc/objc-runtime.h> 2015-03-30 18:13:23 +02:00
twinaphex 3da64fbebc (apple_compat.h) Update 2015-03-30 18:07:50 +02:00
twinaphex 7ea3da0344 (apple_compat.h) Define NSUinteger/NSInteger for OSX 10.4 and earlier 2015-03-30 18:05:38 +02:00
Twinaphex 17d6a940c0 (iOS/Apple) Include <AvailabilityMacros.h instead of #import <Availability> 2015-03-30 17:57:54 +02:00
neville f3f8db553e (Apple) Fix warnings 2015-03-30 03:32:54 +02:00
twinaphex aed83be281 image.h - changes for Xbox 2015-03-30 02:12:25 +02:00
twinaphex 12a3e56a55 (libretro-common) Use retro_inline.h everywhere 2015-03-29 16:39:31 +02:00
twinaphex 4572a1c48d Create zlib_deflate wrapper functions 2015-03-29 16:28:06 +02:00
twinaphex 7c047ea3b3 Cleanups 2015-03-29 16:19:09 +02:00
twinaphex cc2d6ea99d Create more zlib wrapper functions 2015-03-29 15:52:17 +02:00
twinaphex 5d776f15b6 Create zlib_set_stream 2015-03-29 15:35:55 +02:00
twinaphex 758d01b5da Create more wrappers around zlib in file_extract.c 2015-03-29 14:35:18 +02:00
twinaphex 32304af540 Create zlib_inflate_init 2015-03-29 14:30:53 +02:00
twinaphex 835cba4412 Create zlib_stream_new/zlib_stream_free 2015-03-29 01:57:52 +01:00
twinaphex fe5e6ffd22 Add file/file_extract.h to rpng.h 2015-03-28 21:45:57 +01:00
twinaphex 03c6265846 Take out rpng.h header include in formats/image.h 2015-03-28 21:44:17 +01:00
twinaphex 9281595024 Create zlib_perform_mode 2015-03-28 21:05:00 +01:00
twinaphex c26804335b (libretro-common) Move file_extract.c to libretro-common 2015-03-28 20:14:19 +01:00
twinaphex dcfc187179 (libretro-common) Remove config_file_macros.h 2015-03-21 07:39:51 +01:00
twinaphex 80840cac0c Put g_config on heap 2015-03-21 01:47:06 +01:00
twinaphex 45cf71770e Rename g_settings to g_config - to prevent conflicts, had to rename
some static variables in some of the gfx context driver files
2015-03-21 01:15:03 +01:00
twinaphex e92565a95b Take out some config_file_macros.h 2015-03-21 00:08:01 +01:00
Higor Eurípedes 79335249d0 (libretro-common/net_compat.c) Fix build 2015-03-20 17:41:50 -03:00
twinaphex d2c97de070 Move net_compat/net_http to libretro-common 2015-03-20 17:56:00 +01:00
twinaphex c6d0e4ec51 Add BIO_READ/BIO_WRITE to nbio_stdio.c 2015-03-18 03:59:44 +01:00
twinaphex 27367a733b (runloop_data.c) Create rarch_main_data_msg_queue_push 2015-03-15 06:41:04 +01:00
Higor Eurípedes fec88a5cb4 (Menu) Add font color settings 2015-03-14 19:22:06 -03:00
twinaphex 52eefc35ff (RPNG) Inflate process should be nonblocking now too 2015-03-14 21:51:56 +01:00
twinaphex 27c50f9dbe Start using convenience function msg_queue_push_string_list 2015-03-14 16:12:20 +01:00
twinaphex 9a0bd3c650 (RPNG) Rewrite rpng_nbio_load_image_process 2015-03-14 03:18:15 +01:00
twinaphex 4124fb7130 (RPNG) Add rpng_process 'initialized' variable 2015-03-14 02:56:38 +01:00
twinaphex 752f5dc42b (RPNG) Add data_restore_buf_size 2015-03-13 23:54:17 +01:00
twinaphex 846886c0b9 (RPNG) Don't pass palette pointer around anymore - put it inside the png_process
struct
2015-03-13 20:00:10 +01:00
twinaphex 03984168c6 (RPNG) Create adam7_restore_buf_size 2015-03-13 19:39:36 +01:00
twinaphex ccb106580e (RPNG) Restore inflate_buf to previous state at end of adam7 loop 2015-03-13 18:45:55 +01:00
twinaphex 01c19f943b Add stdstring to libretro-common 2015-03-13 15:35:55 +01:00
twinaphex 18ce5f73be Take RARCH_INTERNAL code from file_path.c out of libretro-common 2015-03-13 05:03:50 +01:00
twinaphex a179d56b75 Update compat/strl.h 2015-03-10 18:49:54 +01:00
twinaphex 21af918cba Add ifndef conditionals around strlcat / strlcpy definitions
in srl.h
2015-03-10 18:47:21 +01:00
notaz 7f5a08e2cb implement conv_rgba4444_rgb565 2015-03-07 02:42:38 +02:00
twinaphex 97b3e9134d Refactor some more code in adam7 png_reverse_filter function 2015-02-26 20:59:42 +01:00
twinaphex de95f0cc1d Create png_reverse_filter_init/png_reverse_filter_deinit 2015-02-26 07:30:13 +01:00
twinaphex 9eaf62f319 (PNG) More refactors 2015-02-26 07:14:43 +01:00
twinaphex c874ee3aa1 Add some variables to png_process_t 2015-02-26 07:07:34 +01:00
twinaphex 3c2d6020ed Move prev_scanline/decoded_scanline to rpng_process_t 2015-02-26 03:54:17 +01:00
twinaphex 0006f0a429 Make process a part of rpng_t 2015-02-26 03:49:35 +01:00
twinaphex 05e33f1ac4 Move stream to process_t handle 2015-02-26 03:28:55 +01:00
twinaphex ea99f00016 Revert "Move inflate_buf to rpng_process_t"
This reverts commit c97096287d.
2015-02-25 21:55:17 +01:00
twinaphex 4770b37273 Revert "Create palette in rpng_process_t"
This reverts commit 93706c67e8.
2015-02-25 21:55:06 +01:00
twinaphex 18da753ec1 Revert "Move more to rpng_process_t"
This reverts commit 1e2a91fca7.
2015-02-25 21:54:50 +01:00
twinaphex 1e2a91fca7 Move more to rpng_process_t 2015-02-25 10:05:21 +01:00
twinaphex 93706c67e8 Create palette in rpng_process_t 2015-02-25 09:48:06 +01:00
twinaphex c97096287d Move inflate_buf to rpng_process_t 2015-02-25 09:42:19 +01:00
twinaphex 4c7325c07c Create rpng_process_t 2015-02-25 09:38:54 +01:00
twinaphex 1bf6489da9 SImplify rpng_test.c 2015-02-22 08:42:03 +01:00
twinaphex d09574bb1f Move files around 2015-02-22 04:56:18 +01:00
twinaphex 6c54e8119e (NBIO) Make all nbio functions nonblocking 2015-02-21 03:57:34 +01:00
Higor Eurípedes e198b0e347 (nbio.h) Add include guard 2015-02-20 23:35:39 -03:00
twinaphex a48343c130 Move png_chunk to rpng_t 2015-02-21 03:28:00 +01:00
twinaphex 1b0c9d7776 Move rpng_nbio wrapper function to rpng_test.c 2015-02-21 02:42:33 +01:00
twinaphex 65ea11f7be (RPNG) rpng_t - Create userdata/ptr 2015-02-21 02:13:20 +01:00
twinaphex 7c80d7e1d0 Move inflate_buf_size and palette to rpng_t 2015-02-21 02:04:30 +01:00
twinaphex 193fef41cc Move png_ihdr to rpng_t struct 2015-02-21 01:59:59 +01:00
twinaphex 7914c8a01c Move idat_buffer to rpng.h header and to rpng_t struct 2015-02-21 01:54:57 +01:00
twinaphex 99d869abca (RPNG) Move more variables to rpng_t struct 2015-02-21 01:49:47 +01:00
twinaphex e1ff181b3f (RPNG) Start creating struct rpng_t 2015-02-21 01:40:21 +01:00
twinaphex 5cafadd167 rpng_test.c - Add nonblocking tests 2015-02-21 01:35:04 +01:00
twinaphex 0bb5e0c7fd Cleanups 2015-02-20 03:18:06 +01:00
twinaphex d32593adc4 (nbio.h) Add header guards 2015-02-20 03:06:55 +01:00
twinaphex a33016d457 Renamed libretro-sdk to libretro-common 2015-02-19 00:04:03 +01:00