twinaphex
3072342b2c
Backport libretro-common changes
2020-09-30 14:50:17 +02:00
twinaphex
c744baeb89
Add ctype variants to stdstring and use it in RA
2020-09-27 22:15:32 +02:00
jdgleaver
3d4ddebcaf
Add several LCD-effect video filters
2020-09-24 16:11:07 +01:00
twinaphex
0e49f058f3
Use strcpy_literal in more places
2020-09-19 23:59:06 +02:00
twinaphex
1296fc4745
use strlcpy_literal for string literal copies
2020-09-19 23:28:01 +02:00
Autechre
a7a28906d3
Merge pull request #11344 from Alcaro/master
...
Add BearSSL support, as alternative to mbedTLS
2020-09-19 15:07:30 +02:00
Alcaro
18f46e65ea
Add BearSSL support
2020-09-19 00:31:36 +02:00
Alcaro
c7669fdce5
Fix --enable-debug build
...
libretro-common/audio/audio_mixer.c:195:32: error: unknown type name ‘rwav_t’
static bool wav_to_float(const rwav_t* wav, float** pcm, size_t samples_out)
^~~~~~
plus about 500 errors when trying to use that struct
2020-09-18 21:45:32 +02:00
twinaphex
c2cd39379a
(gfx_widgets.c) Put FIFO queue on stack
2020-09-18 02:18:21 +02:00
Autechre
33a04a794f
Merge pull request #11312 from justinweiss/3ds-enable-threading
...
[3DS] Enable threading and add a threaded audio driver
2020-09-10 06:50:12 +02:00
Autechre
2d3c63f545
Merge pull request #11248 from justinweiss/update-libctru
...
[3DS] Update to libctru 2.0
2020-09-10 06:49:54 +02:00
Justin Weiss
fb9aa961b7
[3DS] Increase file buffer size and savestate chunk size
2020-09-09 18:29:47 -07:00
jdgleaver
5a0dc5524d
Fix string_list memory leaks
2020-09-08 14:58:49 +01:00
M4xw
bad97e29d2
Fix Regression caused by 023fd4f3
2020-09-04 20:56:26 +02:00
twinaphex
318ac1f667
(filebrowser_parse) Use non-heap allocated string_list functions
2020-09-04 06:29:30 +02:00
twinaphex
047efd2cd4
Revert "Resync"
...
This reverts commit f28056364abbe2a7fe29ea731d02b57725083aae.
2020-09-01 17:43:22 +02:00
twinaphex
f28056364a
Resync
2020-09-01 17:06:52 +02:00
twinaphex
11719badcb
Simplify mb_to_mb_string_alloc
2020-08-29 05:21:48 +02:00
Justin Weiss
f53c137459
[3DS] Enable threading
2020-08-27 19:36:39 -07:00
Justin Weiss
cb2c2c530c
Update libretro-common ctr_pthread.h
...
Older devkitARM toolchains incorrectly prevent _pthreadtypes.h from being included. Newer versions include it.
In order to make a version of ctr_pthread.h that works under both old and new toolchains, the typedefs are guarded by a define in _pthreadtypes.h that is only active if the other types are defined.
I've also added casts in order to make sure this compiles correctly with the standard pthread.h type definitions.
2020-08-27 08:36:39 -07:00
twinaphex
022fa54236
Nit
2020-08-27 15:22:40 +02:00
twinaphex
c51959d45b
Make net_http_urlencode thread-safe
2020-08-27 15:21:22 +02:00
Justin Weiss
9ae2514009
[3DS] Update to libctru 2.0
...
Set USE_CTRULIB_2=1 to build with libctru 2.0. When unset, this code
is compatible with the older toolchain.
Some 2.0 changes addressed rare problems in earlier versions:
- Save / restore stack pointer for init / exit
Otherwise, it could be outside of the range we deallocate.
- Run aptMainLoop in the audio driver to react correctly to sleep events
Other changes for 2.0:
- Remove ninjhax1 -- requires outdated APIs that have been removed
- Switch from __sync_arbiter to syncArbitrateAddress
- Use implicit gxCmdBuf
- Use gpuPresentBuffer for double buffering
2020-08-26 19:08:12 -07:00
twinaphex
044209bc5a
Create string_separate_noalloc
2020-08-26 23:46:16 +02:00
twinaphex
61c94fe248
Simplify string_list_new/string_list_initialize
2020-08-26 17:50:18 +02:00
jdgleaver
7a07cc1305
Fix 'Set Core Association' regression
2020-08-26 15:18:39 +01:00
twinaphex
e2c277d2ea
(libretro-common) Cleanups
2020-08-26 15:13:48 +02:00
twinaphex
74fc0ba494
Buildfix
2020-08-26 15:06:34 +02:00
twinaphex
662e37f670
Replace more instances of string_split
2020-08-26 13:35:05 +02:00
twinaphex
6df62bbccc
Create string_split_noalloc
2020-08-26 03:20:42 +02:00
twinaphex
a32d027f76
string_list_initialize - call deinitialize when function fails
2020-08-26 02:28:10 +02:00
twinaphex
ad61d8ff92
Simplify config_get_entry
2020-08-26 02:17:37 +02:00
twinaphex
54dfaaa3bc
Simplify config_get_bool
2020-08-26 01:37:57 +02:00
twinaphex
48f2612223
(config_file) config_set - some of the char arrays were too big
...
for the type in question
2020-08-25 20:58:55 +02:00
twinaphex
1d53f3ca29
Move static functions to the top
2020-08-25 18:38:12 +02:00
twinaphex
6cc8a2acbd
Rewrite config_file_new_from_string
2020-08-25 18:37:14 +02:00
twinaphex
d573a802c4
Simplify config_file_new_alloc
2020-08-25 18:12:28 +02:00
twinaphex
f454665be2
Optimize config_file_exists
2020-08-25 18:10:32 +02:00
twinaphex
2c0fb6ff6c
config_file_parse_line - put sub_conf on stack
2020-08-25 17:54:22 +02:00
twinaphex
6a88b3f20e
Cleanup strlen_size
2020-08-25 17:24:03 +02:00
Autechre
ed6f32fd80
Merge pull request #11240 from jdgleaver/string_list-safety
...
(string_list) Add checks to prevent undefined behaviour
2020-08-25 16:59:22 +02:00
jdgleaver
179e77c8b0
(string_list_join_concat) Prevent undefined behaviour if input string buffer is unterminated
2020-08-25 15:54:18 +01:00
twinaphex
79c8a94857
(config_file.c) config_set_string - simplify
2020-08-25 15:50:26 +02:00
twinaphex
7771dbd594
Rename config_file_new_internal to config_file_load_internal
2020-08-25 15:36:26 +02:00
twinaphex
cd0a27680a
(config_file.c) Cleanup
2020-08-25 15:34:11 +02:00
twinaphex
5a69e6e75c
Simplify config_file.c code
2020-08-25 15:29:45 +02:00
twinaphex
ce185d8be6
(DSP IIR) Prevent '-Wmaybe-uninitialized' warnings
2020-08-25 13:21:22 +02:00
twinaphex
b7b96fb142
(config_file) Cleanups
2020-08-25 12:39:28 +02:00
twinaphex
f18af41876
Cut down on add_sub_conf
2020-08-25 12:29:08 +02:00
twinaphex
1e5ccb7319
Create config_file_get_realpath
2020-08-25 12:20:09 +02:00