Squall Leonhart
eecd48f2ee
brings back the removed If statement and adds the num_level test
...
This resolves the out of bounds read/writes in the linear swizzler, it brings back the scaled TOTK Recall bug however, pending further work in the block size calculation.
Recall is not glitched in the Dynamic FPS resolution mod to the degree that it is in the native yuzu scaler, this can be a workaround for the time being.
The recall effect is constructed from multiple 320x180 texture slices, it breaking may have a similar origin to https://github.com/Ryujinx/Ryujinx/pull/5640
but it may also be connected to the other deficiencies identified in the Yuzu size calculations, such as no apparent implementation of slice testing for end of slce depth as opposed to full aligned size as implemented in https://github.com/Ryujinx/Ryujinx/pull/5220
2023-10-15 02:09:28 +11:00
Squall-Leonhart
ce3e98cf48
Fix mistaken usage of info.block instead of level_info.block
...
Fixed an error on my part, in the last change I had mistakenly passed unadjusted block info into FullUploadSwizzles and UnswizzleImage
Revert (my mistaken changing of) the construction of SwizzleParameters in UnswizzleImage and FullUploadSwizzles to use level_info.block instead of info.block. This ensures that the block information used in the swizzling process is correctly adjusted for each mip level.
2023-10-11 19:12:33 +11:00
Squall-Leonhart
55e400acd9
Reuse part of my previous idea to to use num_levels to check within AdjustMipBlockSize
...
The partial revert was not enough for Tsukihime, this might do the trick
2023-09-20 03:27:13 +10:00
Squall Leonhart
0ec7d7ec28
Partial revert of #10433
...
The If block in this change was causing some 2D textures to be treated as if their mip 0 was a 3D Slice, this could be ascertained as the same texture viewed from different distances would render fine, but then close up would look like a decoding failure.
It also resulted in some 3D ASTC textures not being scaled appropriate leading to broken graphical effects such as the jagged TOTK recall animation being a circle, as the If block was only accepting the image based on its original info without any adjustments applied.
2023-09-18 23:28:53 +10:00
Narr the Reg
735983587e
Merge pull request #11529 from lat9nq/no-oob-names-pls
...
mii_types: Remove null terminator check
2023-09-17 14:27:44 -06:00
lat9nq
521b048287
mii_types: Remove null terminator check
...
This is an OoB array access, causing a crash on at least the Linux
Flatpak releases.
Co-authored-by: german77 <juangerman-13@hotmail.com>
2023-09-17 15:23:57 -04:00
liamwhite
9c62223511
Merge pull request #11524 from t895/signing-ci
...
android: Set up signing config for release builds
2023-09-17 10:42:57 -04:00
liamwhite
3b8b123ca1
Merge pull request #11522 from liamwhite/vfs-needs-results
...
registered_cache: correct file deletion case
2023-09-17 10:42:51 -04:00
liamwhite
01f19cbd4c
Merge pull request #11460 from Kelebek1/hw_opus
...
Reimplement HardwareOpus
2023-09-17 10:42:44 -04:00
Charles Lombardo
2940967210
android: Set up signing config for release builds
2023-09-17 01:22:16 -04:00
Charles Lombardo
ff2d07a69d
Merge pull request #11523 from t895/shader-workers
...
android: Use 1 worker for shader compilation for all devices
2023-09-16 22:36:43 -04:00
Charles Lombardo
a8e3f2652d
android: Use 1 worker for shader compilation for all devices
2023-09-16 21:38:28 -04:00
Charles Lombardo
d076bb19d7
Merge pull request #11521 from t895/content-install-fix
...
android: Collect task state once view is created
2023-09-16 19:51:29 -04:00
Liam
d8bd6aa253
registered_cache: correct file deletion case
2023-09-16 18:25:17 -04:00
Charles Lombardo
6af676e2ce
android: Collect task state once view is created
...
Before the viewLifecycleOwner wasn't ready and would cause a crash
2023-09-16 17:15:20 -04:00
Kelebek1
07b63b15ad
Reimplement HardwareOpus
2023-09-16 11:56:25 -04:00
liamwhite
d3fb5e07d6
Merge pull request #11519 from german77/system-policy
...
service: hid: Implement ApplyNpadSystemCommonPolicy
2023-09-16 11:40:42 -04:00
liamwhite
99a6311436
Merge pull request #11518 from german77/bad-npad
...
service: hid: Implement last active Npad and fix some errors.
2023-09-16 11:40:35 -04:00
liamwhite
393a13bb28
Merge pull request #11517 from german77/amiibo-format
...
service: nfc: Fix amiibo formatting
2023-09-16 11:40:26 -04:00
liamwhite
424d7d422f
Merge pull request #11500 from liamwhite/debug-stuff
...
core: improve debug workflow
2023-09-16 11:40:17 -04:00
liamwhite
8e8e1d4910
Merge pull request #11499 from Squall-Leonhart/bitlockerfix
...
add std::error_code for std::filesystem exceptions
2023-09-16 11:40:10 -04:00
liamwhite
f56103605e
Merge pull request #11492 from lat9nq/c-numeric-conversions
...
general: Remove uncaught usages of C++ string number conversions
2023-09-16 11:40:03 -04:00
liamwhite
a821c64716
Merge pull request #11483 from FearlessTobi/save-size-max
...
am: Stub GetSaveDataSizeMax
2023-09-16 11:39:56 -04:00
liamwhite
12bf67e68d
Merge pull request #11475 from GPUCode/renderdoc-hotkey
...
debug: Add renderdoc capture hotkey
2023-09-16 11:39:50 -04:00
german77
ef869803f8
service: hid: Implement ApplyNpadSystemCommonPolicy
2023-09-16 08:38:10 -06:00
german77
5318d8059b
hid: service: Remove outdated field from npad
2023-09-16 00:31:45 -06:00
german77
d6aef45e6d
hid: service: Implement Last active Npad
2023-09-16 00:31:19 -06:00
german77
7f1f2ac887
service: hid: Ensure state is correct
2023-09-16 00:31:09 -06:00
german77
3bca24616a
service: nfc: Fix amiibo formatting
2023-09-15 22:02:57 -06:00
Charles Lombardo
cad4813770
Merge pull request #11508 from t895/audio-mute
...
android: Remove settings interface specifically for audio mute
2023-09-15 00:00:56 -04:00
Charles Lombardo
f6b02d059e
android: Remove settings interface specifically for audio mute
2023-09-14 23:46:19 -04:00
Charles Lombardo
1fd72951b8
Merge pull request #11507 from t895/emulation-stop-fix
...
android: Return the correct status code on emulation stop
2023-09-14 23:22:00 -04:00
Charles Lombardo
3ce204e7ba
Merge pull request #11506 from t895/icon-fix
...
android: Use resource as shortcut intermediary
2023-09-14 23:21:45 -04:00
Charles Lombardo
52d7075ae0
android: Return the correct status code on emulation stop
2023-09-14 23:08:06 -04:00
Charles Lombardo
a1b80ed37a
Merge pull request #11505 from t895/config-patch
...
android: Don't reinitialize settings on emulation start
2023-09-14 22:20:45 -04:00
Charles Lombardo
ebcde602e7
android: Use resource as shortcut intermediary
...
Fixes issue where the shortcut icon would appear cropped on certain devices
2023-09-14 22:19:08 -04:00
Charles Lombardo
b1e7638eab
Merge pull request #11504 from t895/emu-args
...
android: Fix emulation to settings navigation args
2023-09-14 21:25:58 -04:00
Charles Lombardo
136e1f395d
android: Don't reinitialize settings on emulation start
...
Config is already initialized on application start
2023-09-14 21:25:17 -04:00
Charles Lombardo
003ee32d6d
android: Fix emulation to settings navigation args
2023-09-14 20:24:43 -04:00
Charles Lombardo
b0256b52f6
Merge pull request #11503 from t895/stateflow-patch
...
android: Delay collecting UI state in games fragment
2023-09-14 20:23:49 -04:00
Charles Lombardo
e6595bb31d
android: Delay collecting UI state in games fragment
2023-09-14 20:02:48 -04:00
Charles Lombardo
3e20b31ed3
Merge pull request #11425 from t895/stateflows
...
android: Use StateFlow instead of LiveData
2023-09-14 16:54:21 -04:00
Liam
efef3d8487
core: improve debug workflow
2023-09-14 16:44:15 -04:00
Charles Lombardo
89660a50bf
android: Refactor menu tags to enum
2023-09-14 15:18:56 -04:00
Charles Lombardo
0c2cbd2469
android: Use StateFlow instead of LiveData
2023-09-14 15:18:56 -04:00
Squall-Leonhart
e263eb1a98
add std::error_code for std::filesystem exceptions
...
Resolves a case on Windows where an unmounted bitlocker protected volume containing an assigned game directory would crash Yuzu at start.
May also resolve cases where a disconnected SMB volume causes similar crashes (needs testing)
2023-09-15 04:47:15 +10:00
lat9nq
9264e1d1ad
shared_widget: Use default literals more
2023-09-14 11:31:26 -04:00
lat9nq
cd0fb12c62
settings_common: Fix typo
2023-09-14 11:30:14 -04:00
GPUCode
cc2c6d8805
debug: Add renderdoc capture hotkey
2023-09-14 16:37:41 +03:00
liamwhite
4c4208c8e9
Merge pull request #11496 from liamwhite/ngc
...
ngc: implement service
2023-09-14 09:24:46 -04:00