10033 Commits

Author SHA1 Message Date
twinaphex
7b30d4eec2 Move macro up in the file 2020-08-27 12:13:21 +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
b4d26aca9c Turn vulkan_write_quad_vbo into macro 2020-08-27 02:29:32 +02:00
twinaphex
9672d9b12f Cleanup 2020-08-27 02:07:33 +02:00
twinaphex
e8a0ea15cd Improve glslang_read_shader_file somewhat 2020-08-26 23:46:16 +02:00
twinaphex
044209bc5a Create string_separate_noalloc 2020-08-26 23:46:16 +02:00
twinaphex
4388303077 video_shader_write_conf_preset - use less mallocs 2020-08-26 19:19:26 +02:00
twinaphex
1118ba09ec video_shader_resolve_current_parameters - don't use malloc 2020-08-26 19:10:43 +02:00
twinaphex
3ff29abbc8 video_shader_parse_pass - don't use malloc 2020-08-26 19:07:36 +02:00
twinaphex
603b2bf166 Simplify video_shader_read_conf_preset 2020-08-26 18:54:14 +02:00
twinaphex
662e37f670 Replace more instances of string_split 2020-08-26 13:35:05 +02:00
twinaphex
86424a0cd8 (video_shader_parse) Use string_split_noalloc 2020-08-26 04:22:18 +02:00
twinaphex
3b555ab508 (gfx_animation) use string_split_noalloc 2020-08-26 04:12:29 +02:00
twinaphex
a9ffc4991b Reorder structs/alignment 2020-08-25 20:39:06 +02:00
twinaphex
6af6d5eb1c (jdgleaver) Initialize string lists properly to prevent memory leaks 2020-08-25 13:25:27 +02:00
jdgleaver
2a58920e4e Improve appearance of 'generic_message' widget 2020-08-24 13:31:51 +01:00
twinaphex
c2a8a0f04e use string_list_initialize/deinitialize in more places 2020-08-24 01:16:14 +02:00
twinaphex
0a69d14b11 Reimplement slang_preprocess_parse_parameters 2020-08-24 00:54:24 +02:00
twinaphex
6b3fcf79f0 (DXGI) Turn these into macros 2020-08-24 00:04:12 +02:00
twinaphex
4ec216dc0b Get rid of file_path_str 2020-08-22 01:06:10 +02:00
jdgleaver
d43e92907e Improve appearance of 'libretro_message' widget 2020-08-21 11:33:27 +01:00
twinaphex
50efd72a8e gfx_display_draw_texture_slice - don't use malloc/free 2020-08-21 10:03:32 +02:00
twinaphex
6b978eb057 (D3D11) Cleanups 2020-08-19 11:26:30 +02:00
twinaphex
54c31348ce Further simplify vulkan_write_quad_vbo 2020-08-19 06:06:30 +02:00
twinaphex
2f405c4088 Optimize vulkan_write_quad_vbo 2020-08-19 05:32:40 +02:00
twinaphex
6136035f2e Optimize vulkan_write_quad_vbo 2020-08-19 04:59:14 +02:00
twinaphex
4fb388ca4d Cleanup 2020-08-19 04:34:22 +02:00
twinaphex
bbb4d12881 (vulkan_common.c) Optimize array access 2020-08-19 03:19:21 +02:00
twinaphex
5166eebcaf for loop cleanups - use space after 'for' 2020-08-19 03:06:22 +02:00
twinaphex
4f991ab640 Reorder structs, alignment 2020-08-18 17:16:59 +02:00
twinaphex
3a21a6e134 Cleanup 2020-08-18 16:53:19 +02:00
twinaphex
21855dfb85 Reorder structs, alignment 2020-08-18 16:51:15 +02:00
twinaphex
acc34d1820 (gfx_thumbnail_path) Further cleanups 2020-08-18 15:36:51 +02:00
twinaphex
eb604502bb (gfx_thumbnail_path) Cleanups 2020-08-18 15:32:25 +02:00
twinaphex
0c5611d10e Clean up more string variables on heap; move to stack 2020-08-18 13:17:28 +02:00
twinaphex
4177ea4256 Update 2020-08-17 15:11:48 +02:00
twinaphex
c81d06d0a1 Reorder structs, alignment 2020-08-17 15:09:19 +02:00
twinaphex
aeeff7f350 (D3D11) Cleanup 2020-08-16 03:11:00 +02:00
twinaphex
4958e30d8f (slang shader backends) Cleanups 2020-08-16 02:29:54 +02:00
twinaphex
e35d2cb527 CLeanups 2020-08-16 02:20:13 +02:00
twinaphex
bb58b0d6e3 (GLSLANG) Move more common code out of shader_gl_core and shader_vulkan
and into glslang_util.h
2020-08-16 02:05:38 +02:00
twinaphex
789bc83276 reorder structs, alignment 2020-08-15 23:02:01 +02:00
twinaphex
f09df7c6e3 Reorder structs, alignment 2020-08-15 19:43:17 +02:00
twinaphex
6e1445c658 Reorder structs, alignment 2020-08-15 02:55:29 +02:00
twinaphex
3ec21b292c Reorder structs, alignment 2020-08-15 01:18:23 +02:00
twinaphex
e399a2f78e reorder structs, alignment 2020-08-15 00:35:15 +02:00
twinaphex
acfb7d0a23 Reorder structs, alignment 2020-08-14 23:13:05 +02:00
twinaphex
327d82cc1d Struct reordering/alignment 2020-08-14 22:21:05 +02:00
twinaphex
8a530aa5dd Reorder structs/alignment 2020-08-14 21:48:12 +02:00
twinaphex
bfc8a7beca Reorder structs/alignment 2020-08-14 21:45:41 +02:00