Commit Graph

2257 Commits

Author SHA1 Message Date
Dwedit f5e0346fc2 Runahead system 2018-03-28 14:22:07 -05:00
twinaphex e71f56d4a3 Update libretro-common 2018-03-28 16:45:05 +02:00
twinaphex 89e912087b Put RARCH_INTERNAL ifdef around this 2018-03-28 16:41:37 +02:00
twinaphex 167b977c4d Fix some build errors with MSVC 2003/2005 cores 2018-03-28 16:22:35 +02:00
aliaspider 3d96cacd71 add experimental D3D11 hwrender support. 2018-03-25 23:14:14 +01:00
twinaphex 70f598c619 Use boolean.h instead of stdbool.h 2018-03-24 11:41:17 +01:00
Twinaphex 473d978d78
Merge pull request #6444 from Dwedit/original_suggestion
Functions to suspend and resume audio and video, and environment function for core to query status of enabled/disabled audio and video
2018-03-24 09:54:47 +01:00
Dwedit fbd4900031 Add documentation for RETRO_ENVIRONMENT_GET_AUDIO_VIDEO_ENABLE to the header file 2018-03-23 16:33:51 -05:00
Dwedit 7deeb6d2fa Functions to enable and disable audio and video, and an environment function to query status of audio and video enables 2018-03-23 14:12:05 -05:00
twinaphex 85d3be1245 Update libretro-common 2018-03-23 11:17:56 +01:00
twinaphex f597fd7a11 Add HAVE_CHEEVOS support for MSVC 2010 2018-03-22 20:42:06 +01:00
twinaphex c318d05803 Fix buffer overlap - pointed out by @leo150, thanks 2018-03-22 15:22:17 +01:00
radius c52fdc469f remove task_push_http_transfer_raw, encode before sending data to the task 2018-03-16 22:38:21 -05:00
radius b01e63e2cd make sure to always encode urls, also change the PS3 default urls 2018-03-14 23:04:50 -05:00
twinaphex 6bf34c36ed Update net_http_test 2018-03-15 00:38:30 +01:00
twinaphex 9cac3175c3 Buildfix 2018-03-15 00:31:29 +01:00
twinaphex 32b2808fe0 Revert "Turn scaler_ctx_scale_direct into inline function"
This reverts commit d51edd8239.
2018-03-14 23:48:47 +01:00
twinaphex e5eeed688e Add some stuff to net sample Makefile 2018-03-14 23:48:29 +01:00
twinaphex d51edd8239 Turn scaler_ctx_scale_direct into inline function 2018-03-11 18:14:17 +01:00
twinaphex d6eda2502d Improve scaler_ctx_scale_direct macro 2018-03-11 17:46:39 +01:00
meleu d5503e9e7c fix a bad in_addr manipulation on VITA - fixes #6127 (#6366)
added VITA condition
2018-03-07 22:11:30 +01:00
misson20000 dd53be15ae let scalers output in ABGR8888 2018-03-06 19:52:03 -08:00
misson20000 22c95b31ea NSW: cpu_features_get_time_usec: put SWITCH block before POSIX_MONOTONIC_CLOCK block 2018-03-05 20:23:49 -08:00
twinaphex df7f47d00a Create string_is_equal_case_insensitive 2018-03-01 23:16:34 +01:00
twinaphex b3d3cbd4e1 sthread_isself - make Win32 codepath use GetCurrentThreadId instead 2018-02-28 16:18:48 +01:00
twinaphex 175672dedc Fix ifdef 2018-02-17 20:02:18 +01:00
twinaphex 064ea5368e (Xbox 1) Add SSE/MMX 2018-02-17 19:59:26 +01:00
twinaphex 7acd4b1847 (Windows) Buildfixes - use fseek for MSVC 2003 and earlier 2018-02-17 19:11:49 +01:00
twinaphex 0de6af43bb Set cache_context to false by default 2018-02-17 15:18:28 +01:00
twinaphex 242eef6a6d Prevent problems with empty strings in the future 2018-02-17 11:41:25 +01:00
twinaphex bda5e67b48 (PS3) Use fseek for PS3 - fseeko not available 2018-02-15 06:50:15 +01:00
Brad Parker 95bb7f5aa5 use 64-bit file offsets/seeking on windows 2018-02-14 06:16:12 +00:00
radius 692c8683b2 subsystem part 2: add missing define, fix typo 2018-02-12 02:39:24 -05:00
twinaphex 8b1f8b8ae2 (Utils) fix builds 2018-02-10 23:20:34 +01:00
Brad Parker a8af4ee8c6 use 64-bit ftell on mingw also 2018-02-10 13:19:24 -05:00
Brad Parker 40e9416c6c use 64-bit ftell on Windows where available 2018-02-09 13:33:03 -05:00
Brad Parker aaf35f53f8 fill_pathname_parent_dir_name: return failure if path has no slash 2018-02-08 23:19:12 -05:00
aliaspider 45580cb9a8 add basic support for arabic. 2018-02-05 20:54:55 +01:00
aliaspider 5549b136c2 (msvc) CXX_BUILD + griffin fixes. 2018-02-05 00:25:03 +01:00
Twinaphex 5483f5fc39
Merge pull request #6234 from aliaspider/master
various fixes for CXX_BUILD.
2018-02-04 20:08:43 +01:00
aliaspider 700fce3bd2 various fixes for CXX_BUILD. 2018-02-04 20:03:27 +01:00
twinaphex 3d0e768e71 Silence some Coverity errors 2018-02-04 19:30:34 +01:00
twinaphex 75b48a866f (3DS) Fix compilation error 2018-02-02 21:44:24 +01:00
twinaphex acdbf6f069 Cleanup retro_dirent.c 2018-02-02 19:09:25 +01:00
Brad Parker dbe270476a Prevent undefined behavior reported by UBSan
runtime error: member access within null pointer of type 'const struct dirent'
2018-02-02 11:43:24 -05:00
twinaphex 8d99fd7ce0 Cleanup string manipulation 2018-02-01 11:16:13 +01:00
twinaphex e81ee5f0cb Simplifications 2018-01-31 23:13:47 +01:00
twinaphex f9a412dc11 Create fill_pathname_join_concat_noext and use it 2018-01-31 22:43:55 +01:00
twinaphex efcbb7627c (libco) Add aarch64 backend 2018-01-31 09:17:37 +01:00
twinaphex b1732efd03 (libco) Small style nit 2018-01-31 09:15:19 +01:00
Alcaro 9889f34180 Fix this issue https://forums.libretro.com/t/issue-linking-libco/14482 2018-01-31 00:39:27 +01:00
Brad Parker a7f134b5a7 forgot to free memory 2018-01-28 15:56:35 -05:00
Brad Parker 722137296d add fill_pathname_parent_dir_name function 2018-01-28 15:55:27 -05:00
twinaphex ba0986ae20 Enable this for newer versions of MSVC 2018-01-24 10:02:07 +01:00
twinaphex f10b60f14f Don't use NEON codepaths for iOS - ever since arm64 this has become
problematic
2018-01-24 07:40:09 +01:00
twinaphex 634da308aa Cleanups 2018-01-24 05:40:53 +01:00
aliaspider c5de5d9433 (msvc) support msvc's Predefined Macros in features_cpu.c
- add missing defines to makefile.msvc.
2018-01-23 19:35:39 +01:00
aliaspider 96e96b9dfd (msvc) use stdbool.h for VS 2013 and later. 2018-01-23 17:50:46 +01:00
twinaphex d5ec046c63 Use calloc 2018-01-23 03:43:38 +01:00
twinaphex 6a47669d21 Prevent some heap corruptions/exceptions 2018-01-23 03:41:25 +01:00
twinaphex 93561a042b Cleanups 2018-01-23 03:35:23 +01:00
twinaphex f680f00098 Indent nit 2018-01-23 03:31:28 +01:00
twinaphex 625ddc5e52 Prevent some null pointer dereferences 2018-01-23 03:30:55 +01:00
twinaphex 27f34bf420 Some stability fixes 2018-01-23 03:23:49 +01:00
twinaphex a80fb7c969 Add some safeguards here 2018-01-22 21:48:28 +01:00
twinaphex 6208981ad3 filestream_getline - be safer 2018-01-22 21:32:36 +01:00
aliaspider 5db96f35fa (WIN32) various build fixes. 2018-01-20 20:05:32 +01:00
kwyxz b9585df325 Update Haiku port to allow it to build again 2018-01-20 00:19:01 -08:00
twinaphex 1f8e0fdfe5 Revert "Update filestream_getline to prevent heap corruption"
This reverts commit 60a45db69e.
2018-01-19 02:49:24 +01:00
twinaphex 60a45db69e Update filestream_getline to prevent heap corruption 2018-01-19 02:44:18 +01:00
twinaphex 79b434719f Update 2018-01-18 23:23:22 +01:00
Twinaphex 318843a71d
Update ctr_pthread.h 2018-01-18 21:12:07 +01:00
meepingsnesroms da5ce6ef35 Fix writing to local thread pointer instead of actual thread. 2018-01-18 10:35:58 -08:00
meepingsnesroms 5e42401fdb Add 3DS threads 2018-01-17 14:00:57 -08:00
twinaphex bd73d4b98a Cleanups 2018-01-17 06:44:16 +01:00
twinaphex 11f26ed549 Refactor verbosity code - try to avoid log calls if verbosity is not
set
2018-01-17 06:28:26 +01:00
twinaphex df1979be12 Define string_is_not_equal 2018-01-17 01:06:09 +01:00
Twinaphex 57df01bbaa (Apple) Buildfix 2018-01-17 00:48:25 +01:00
twinaphex 61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
Twinaphex 5d64adf1a6
Merge pull request #6119 from garbear/libretro-api
Add missing {, |, } and ~ to the libretro API
2018-01-16 01:37:02 +01:00
Garrett Brown 39742e24db Add missing {, |, } and ~ to the libretro API
Missing keys are found in TyrQuake's source:

https://github.com/libretro/tyrquake/blob/be5aede91/common/keys.h#L111-L114
2018-01-14 13:58:11 -08:00
Rob Loach 26b9cb3c78
libretro-common: Clean up dependencies of file_path
This moves a few functions that were defined in file_path_special to libretro-common to clean up the dependency tree.
2018-01-13 00:27:49 -05:00
kwyxz e65ad7c6d8 Solaris 11 does not like this POSIX define 2018-01-11 14:50:07 -08:00
radius 3b334b60d6 add display name and config name to autoconf 2018-01-11 17:06:14 -05:00
twinaphex 88d1e455e3 Add code that allows for debug D3D 2018-01-07 10:46:53 +01:00
Twinaphex 74942551ff
Merge pull request #6052 from orbea/libchdr
Backport changes from libchdr upstream
2018-01-06 07:10:36 +01:00
Andrés dedcd26495
Merge pull request #6053 from aliaspider/master
(WIIU) add preliminary multi-pass shader support.
2018-01-05 21:48:30 -05:00
aliaspider 55d262f5d8 (WIIU) add preliminary multi-pass shader support.
can load *.slangp and *.slang files. since there is no runtime compiler,
precompiled shaders (*.gsh) need to be present next to each *.slang
source file.
2018-01-06 03:39:53 +01:00
orbea df885fce31 libchdr: Backport "backported chd_file::guess_unitbytes from upstream to set unitbytes and unitcount fields for pre-v5 headers"
Backports 13444fc72f
2018-01-05 16:08:29 -08:00
orbea eeb6230ebd libchdr: Trivial cleanup 2018-01-05 16:08:29 -08:00
twinaphex bc53b9e1b6 Update libretro-common 2018-01-05 23:32:25 +01:00
twinaphex 8ca98e0a18 Buildfix 2018-01-05 14:14:42 +01:00
Twinaphex f4250a1ad5 Silence unused variable warnings 2018-01-05 14:13:58 +01:00
twinaphex 751c0fe58c Sync libretro-common 2018-01-05 13:16:04 +01:00
twinaphex 21bf01ca6c Update file_stream_transforms.c 2018-01-04 08:16:43 +01:00
orbea 2d19885a17 C89_BUILD: Fix some clang compiler errors
Fixes the following -Werror warnings with C89_BUILD=1 and clang.

gfx/common/x11_common.c:407:17: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
         Status status = 0;
                ^
libretro-common/formats/libchdr/chd.c:639:12: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
                uint8_t *sector = &dest[framenum * CD_FRAME_SIZE];
                         ^
libretro-common/formats/libchdr/chd.c:723:12: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
                uint8_t *sector = &dest[framenum * CD_FRAME_SIZE];
                         ^
2018-01-03 16:53:11 -08:00
twinaphex 24a78a28c2 Update 2018-01-03 17:28:41 +01:00
twinaphex dbd2faf69a fabsf not defined for MSVC 2003 2018-01-03 14:48:53 +01:00
twinaphex 956f869974 (360) Fix Salamander build 2018-01-03 12:14:08 +01:00
Brad Parker 228049df11 7zip: only use Unicode file open on Windows 2018-01-02 20:48:19 -05:00