liamwhite
cb8acaf51e
Merge pull request #11338 from comex/warning-fixes-august-2023
...
Warnings cleanup for GCC 13 and Clang 16
2023-08-26 19:14:17 -04:00
Liam
f80e7b3136
Skip additional mbedcrypto warnings options on MSVC
2023-08-25 19:23:34 -04:00
comex
774b7d07ae
Avoid $<CXX_COMPILER_ID:Clang>
because it doesn't include AppleClang.
2023-08-25 19:22:31 -04:00
comex
4285e35375
Warnings cleanup for GCC 13 and Clang 16
...
Note: For GCC there are still a huge number of `-Warray-bounds` warnings
coming from `externals/dynarmic`. I could have added a workaround in
`externals/CMakeLists.txt` similar to what this PR does for other
externals, but given Dynarmic's close affiliation with Yuzu, it would be
better to fix it upstream.
Besides that, on my machine, this makes the build warning-free except
for some warnings from glslangValidator and AutoMoc.
Details:
- Disable some warnings in externals.
- Disable `-Wnullability-completeness`, which is a Clang warning triggered
by the Vulkan SDK where if any pointers in the header are marked
_Nullable, it wants all pointers to be marked _Nullable or _Nonnull.
Most of them are, but some aren't. Who knows why.
- `src/web_service/verify_user_jwt.cpp`: Disable another warning when
including `jwt.hpp`.
- `src/input_common/input_poller.cpp`: Add missing `override` specifiers.
- src/common/swap.h: Remove redundant `operator&`. In general, this
file declares three overloads of each operator. Using `+` as an
example, the overloads are:
- a member function for `swapped_t + integer`
- a member function for `swapped_t + swapped_t`
- a free function for `integer + swapped_t`
But for `operator&`, there was an additional free function for
`swapped_t + integer`, which was redundant with the member function.
This caused a GCC warning saying "ISO C++ says that these are
ambiguous".
2023-08-25 19:22:31 -04:00
liamwhite
8923a03bc0
Merge pull request #11377 from BenjaminHalko/reverse-slider-input
...
ui: Fixed inverted controls on ReverseSlider widgets
2023-08-25 18:06:03 -04:00
liamwhite
1a4f40ff50
Merge pull request #11378 from t895/game-flag
...
android: Use appCategory to specify the app is a game
2023-08-25 18:05:58 -04:00
liamwhite
658eaacf21
Merge pull request #11370 from FearlessTobi/fix-filesize
...
filesystem: Return correct error for RenameFile when dest_path already exists
2023-08-25 18:02:54 -04:00
liamwhite
d886f2a718
Merge pull request #11371 from FearlessTobi/fix-cli-updates
...
yuzu/main: Ensure NCAs are registered in content provider when launching from CLI
2023-08-25 18:02:47 -04:00
liamwhite
f03291268a
ssl: tolerate handshake without hostname set ( #11328 )
2023-08-26 00:02:32 +02:00
liamwhite
5552856663
registered_cache: create fake CNMT entries for program updates of multiprogram applications ( #11319 )
2023-08-26 00:00:15 +02:00
liamwhite
aa16fd2422
kernel: offset code entry point for 39-bit address space type ( #11326 )
2023-08-25 23:59:32 +02:00
Charles Lombardo
64e569ee75
android: Use appCategory to specify the app is a game
2023-08-25 17:17:48 -04:00
bunnei
22e7d8d36d
Merge pull request #11357 from liamwhite/lime-vfs
...
android: jni: ensure NCAs from loaded filepath are registered in manual content provider
2023-08-25 13:04:22 -07:00
BenjaminHalko
efff61637b
ui: Fixed inverted controls on ReverseSlider widgets
...
fixes : #11236
2023-08-25 10:06:34 -07:00
Fernando S
c5b8a8b182
Merge pull request #11375 from liamwhite/nvhost-as-gpu
...
nvhost_as_gpu: ensure mappings are aligned to big page size when deallocated
2023-08-25 17:04:16 +02:00
Liam
a8ceb25eb6
nvhost_as_gpu: ensure mappings are aligned to big page size when deallocated
2023-08-25 09:39:18 -04:00
FearlessTobi
0bb04b1ca1
yuzu/main: Ensure NCAs are registered in content provider when launching from CLI
...
Fixes updates and DLC not being loaded when launching yuzu from the command line.
Similar to https://github.com/yuzu-emu/yuzu/pull/11357 .
Fixes https://github.com/yuzu-emu/yuzu/issues/8352 ,
2023-08-24 18:48:02 +02:00
FearlessTobi
87575638fe
filesystem: Return correct error for RenameFile when dest_path already exists
...
Allows Grid Autosport to boot.
Fixes https://github.com/yuzu-emu/yuzu/issues/8287 .
2023-08-24 17:07:39 +02:00
liamwhite
728ced5458
Merge pull request #11327 from liamwhite/skyline-2
...
sockets: avoid locking around socket session calls
2023-08-24 10:33:53 -04:00
liamwhite
41e03fcb40
Merge pull request #11367 from FearlessTobi/fix-filesize
...
game_list_worker: Display correct size for NAX games
2023-08-24 10:33:42 -04:00
FearlessTobi
f3d0f6ce74
game_list_worker: Display correct size for NAX games
...
This was a regression from https://github.com/yuzu-emu/yuzu/pull/1837 .
Fixes https://github.com/yuzu-emu/yuzu/issues/1938 .
2023-08-24 01:16:19 +02:00
liamwhite
df1a6d30a0
Merge pull request #11352 from t895/recurse-subfolders
...
android: Search game directory recursively
2023-08-23 10:20:02 -04:00
Charles Lombardo
7305df2e3f
android: Set default build variant to mainlineRelWithDebInfo ( #11358 )
2023-08-23 16:12:39 +02:00
Liam
45957b2ab1
android: jni: ensure NCAs from loaded filepath are registered in manual content provider
2023-08-22 22:47:25 -04:00
Charles Lombardo
72da1cd4d2
android: Search game directory recursively
2023-08-22 15:16:20 -04:00
liamwhite
ed224b8712
Merge pull request #11302 from vonchenplus/vulkan_macos
...
Add macos moltenvk bundle, Add copy moltevk dylib script
2023-08-22 13:10:26 -04:00
liamwhite
4c4ee1b088
Merge pull request #11303 from lat9nq/screenshots-configurable
...
yuzu-qt: Add configuration for screenshot resolution
2023-08-22 11:30:25 -04:00
liamwhite
c67b2ffec0
Merge pull request #11316 from FernandoS27/stop-premature-christmas-decorating
...
Shader Recompiler: implement textureGrad 3D
2023-08-22 11:30:08 -04:00
liamwhite
453fd52d82
Merge pull request #11346 from t895/ktlint-fix
...
android: lint: Delete generated ktlint folder between builds
2023-08-22 11:30:01 -04:00
Feng Chen
ec643e7e9d
Add macos moltenvk bundle, Add copy moltevk dylib script
2023-08-22 10:22:28 +08:00
Charles Lombardo
4165adc80f
android: lint: Delete generated ktlint folder between builds
...
There's a bug in ktlint where it will run into an error if you build the project, delete a source file, and then build again. It will be unable to find the file you deleted and can't recover until these files are deleted. This just deletes those files before every run.
2023-08-21 17:31:13 -04:00
Charles Lombardo
b3646c33ae
android: Show associated value in home settings ( #11272 )
2023-08-21 22:25:11 +02:00
liamwhite
f4b28d3df7
Merge pull request #11309 from liamwhite/full-xci
...
file_sys/card_image: support dumps with prepended key area
2023-08-21 16:09:22 -04:00
liamwhite
a4ad3e2707
Merge pull request #11342 from liamwhite/skyline-4
...
patch_manager: apply manual HTML patches when present
2023-08-21 16:09:15 -04:00
liamwhite
62fbba8575
Merge pull request #11149 from ameerj/astc-perf-prod
...
host_shaders: ASTC compute shader optimizations
2023-08-21 16:08:51 -04:00
Charles Lombardo
4decc08f2b
android: Use sensor landscape for landscape mode ( #11337 )
2023-08-21 21:56:12 +02:00
Liam
82be3bde98
patch_manager: apply manual HTML patches when present
2023-08-21 10:58:23 -04:00
Fernando S
8d0f19d7ae
Merge pull request #11284 from liamwhite/nca-release
...
vfs: expand support for NCA reading
2023-08-21 16:29:04 +02:00
Liam
9b39e25805
sockets: avoid locking around socket session calls
2023-08-19 23:09:35 -04:00
Fernando S
54426fb2a3
Merge pull request #11320 from Kelebek1/mask_depthstencil_clear
...
Support masked depthstencil clears
2023-08-19 17:28:28 +02:00
Kelebek1
5d1961ad67
Masked depthstencil clears
2023-08-19 03:29:46 +01:00
Fernando Sahmkow
01858648d1
Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagation
2023-08-18 22:17:02 -04:00
liamwhite
1f584c14e7
Merge pull request #11278 from Kelebek1/dma_sync
...
Mark accelerated DMA destination buffers and images as GPU-modified
2023-08-18 09:12:27 -04:00
liamwhite
fba72cc462
Merge pull request #11288 from liamwhite/svc-tick
...
kernel: remove relative task registration
2023-08-18 09:12:19 -04:00
liamwhite
574a25e31b
Merge pull request #11310 from vonchenplus/vulkan_format
...
video_core: Fix vulkan format assert error
2023-08-18 09:12:11 -04:00
Feng Chen
c8c4aa6ef7
video_core: Fix vulkan assert error
2023-08-18 14:40:11 +08:00
Liam
f9870c754f
file_sys/card_image: support dumps with prepended key area
2023-08-17 22:03:47 -04:00
liamwhite
7445cf1feb
Merge pull request #10989 from comex/epipe
...
sockets: Improve behavior when sending to closed connection
2023-08-17 11:59:47 -04:00
liamwhite
5d794eabaf
cmake: mark warning disable for gcc 11 ( #11301 )
2023-08-17 16:03:34 +02:00
lat9nq
251481a19c
uisettings: Add TODO for stretched aspect being ignored
2023-08-16 22:57:19 -04:00