lat9nq
2f0e1f5d02
util_shaders: Fix BindImageTexture
According to
https://gitlab.freedesktop.org/mesa/mesa/-/issues/3820#note_753371 we
need to set these to true for use with 3D textures.
Fixes BOTW teleporting on RadeonSI and iris.
5 years ago
bunnei
2eb018c80f
Merge pull request #6562 from Morph1984/flush-behavior
common: fs: More misc. changes
5 years ago
bunnei
eb3cb3af35
Merge pull request #6497 from FernandoS27/scotty-doesnt-know
GPU Memory Manager - Correct handling of non continuous backing memory.
5 years ago
bunnei
b07423f6e2
Merge pull request #6566 from Morph1984/sign-compare-as-error
CMakeLists: Treat -Wsign-compare as an error on GCC/Clang
5 years ago
Morph
ebb82b0b83
CMakeLists: Treat -Wsign-compare as an error on GCC/Clang
Treats (un)signed comparison mismatches as errors to be consistent with MSVC
5 years ago
Morph
a59ae5e702
common: logging: backend: Close the file after exceeding the write limit
There's no point in keeping the file open after the write limit is exceeded. This allows the file to be committed to the disk shortly after it is closed and avoids redundantly checking whether or not the write limit is exceeded.
5 years ago
Morph
14ab50defb
common: fs: file: Revert Flush to its previous behavior and add Commit
It became apparent that logging can continuously spam errors that trigger file flushing.
Since committing the files to disk is an expensive operation, this causes unnecessarily high disk usage.
As such, we will revert Flush() to the previous behavior and add a Commit() member function in the event that this behavior is needed.
5 years ago
Morph
d299d5531f
common: fs: file: Flush the file in GetSize
This ensures that GetSize always retrieves the correct file size after a write operation.
5 years ago
bunnei
bf50345d4c
Merge pull request #6537 from Morph1984/warnings
general: Enforce multiple warnings in MSVC
5 years ago
bunnei
3d03a6ae02
Merge pull request #6556 from Morph1984/default-mii
service: mii: Retrieve the correct default miis.
5 years ago
Ameer J
c770fa9823
Merge pull request #6540 from Kelebek1/nvdec
Slightly refactor NVDEC and codecs for readability and safety
5 years ago
Morph
942c0d6cdd
Merge pull request #6561 from german77/analog_fix
input_common: Add missing modifier callback to analog from button
5 years ago
german77
c19ec2edd9
input_common: Add missing modifier callback to analog from button
5 years ago
Morph
dd44089f87
Merge pull request #6559 from german77/compilation_warnings
Replace usages of deprecated member functions in QMouseEvent and QWheelEvent
5 years ago
german77
b188d7792a
profiler: Fix deprecated functions
5 years ago
Mai M
669cef2da3
Merge pull request #6552 from Morph1984/c4189-msvc
CMakeLists: Enforce C4189 on MSVC
5 years ago
Fernando Sahmkow
c6a9e91784
Texture Cache: Fix collision with multiple overlaps of the same sparse texture.
5 years ago
Fernando Sahmkow
a8a0927d42
Texture Cache: Fix GCC & Clang.
5 years ago
Fernando Sahmkow
8f9f142956
Texture Cache: Address feedback.
5 years ago
Fernando Sahmkow
fd98fcf7f0
Texture Cache: Improve accuracy of sparse texture detection.
5 years ago
Fernando Sahmkow
38165fb7e3
Texture Cache: Initial Implementation of Sparse Textures.
5 years ago
Ameer J
eb0e10cff2
Merge pull request #6553 from FernandoS27/bite-a-bat-change-the-world
TextureCache: Fix 1D to 2D overlapps.
5 years ago
Morph
5dfa313d2c
service: mii: Retrieve the correct default miis.
We were including the first 2 default miis which are not meant to be shown in games. With this change, we properly retrieve the 6 default miis shown in games, with 3 of each gender.
5 years ago
Fernando Sahmkow
0aab55d26a
TextureCacheOGL: Implement Image Copies for 1D and 1D Array.
5 years ago
Fernando Sahmkow
ebaa7e391c
TextureCache: Fix 1D to 2D overlapps.
5 years ago
Morph
3a3f4983b6
CMakeLists: Enforce C4189
This supplements C4101 by detecting initialized but unreferenced local variables
5 years ago
bunnei
2fc0a760f0
Merge pull request #6498 from Kelebek1/Audio
[audio_core] Decouple audio update and processing, and process at variable rate
5 years ago
Kelebek1
208a04dcff
Slightly refactor NVDEC and codecs for readability and safety
5 years ago
Kelebek1
b455043e45
Fix XC2/VOEZ crashing, add audio looping and a few misc fixes
5 years ago
Ameer J
bab400daaf
Merge pull request #6459 from lat9nq/ubuntu-fixes
cmake: Improve Linux dependency checking for externals
5 years ago
Morph
39be4c3026
Merge pull request #6471 from lat9nq/dump-as-mod
yuzu qt, core: Support LayeredFS mods from SDMC directory
5 years ago
Morph
ec68cba440
Merge pull request #6502 from ameerj/vendor-title
main: Add GPU Vendor name to running title bar
5 years ago
Morph
248a146ab7
CMakeLists: Disable all warnings for external headers
This lets us avoid needing to wrap external headers with #pragma warning directives for warnings we treat as errors and avoids generating warnings for external code.
Thanks to MerryMage for pointing this out.
5 years ago
Morph
22d7b89c15
video_core: Remove #pragma warning directives for external headers
5 years ago
Morph
954259312e
input_common: Remove #pragma warning directives for external headers
5 years ago
Morph
0eae00e263
CMakeLists: Enforce C4018, C4267, C4305, C4389
5 years ago
Morph
e828c5a559
core: Enforce C4242
5 years ago
Morph
58550cfcdc
input_common: Enforce C4242
5 years ago
Morph
a47704f4dd
video_core: Enforce C4242
5 years ago
Morph
511ee03a21
patch_manager: Do not apply LayeredFS mods when dumping
We should not apply any mods when dumping a game's RomFS.
5 years ago
Morph
6ac978426c
filesystem: Open a read-only directory for SDMC mods
This prevents mod files from being locked due to the read-only share flag in Windows.
5 years ago
lat9nq
844e0114b0
core: Simplify SDMC mod loading
If someone else wants to support other mod formats in the SDMC
directory, that can be added later. For now, just allow RomFS modding
here and force people to do other types of mods the old way.
Addresses review comments.
Co-authored-by: LC <mathew1800@gmail.com>
5 years ago
lat9nq
1664c74a6c
core: Support LayeredFS mod from SDMC directory
Enables loading a mod directly from `[yuzu data
directory]/sdmc/atmosphere/contents/[title_id]`. For use with some
homebrew mod managers.
5 years ago
lat9nq
bfecd395d4
yuzu qt: Add option to dump to SDMC directory
Enables dumping the RomFS to SDMC directory, specifically '[yuzu data
directory]/sdmc/atmosphere/contents/[title_id]/romfs'.
5 years ago
Morph
d3d6613d33
video_core: Silence signed/unsigned mismatch warnings
5 years ago
Morph
c5e25cffb9
Merge pull request #6535 from ameerj/insert-fancy-name
main: Display the instruction set of the running title in the window name
5 years ago
ameerj
4cee25281f
main: Display the instruction set of the running title in the window name
Displays whether the currently running title uses 64-bit instructions or only 32-bit instructions.
5 years ago
Kelebek1
0857d6a3db
Decouple audio processing and run at variable rate
Currently, processing of audio samples is called from AudioRenderer's Update method, using a fixed 4 buffers to process the given samples. Games call Update at variable rates, depending on framerate and/or sample count, which causes inconsistency in audio processing. From what I've seen, 60 FPS games update every ~0.004s, but 30 FPS/160 sample games update somewhere between 0.02 and 0.04, 5-10x slower. Not enough samples get fed to the backend, leading to a lot of audio skipping.
This PR seeks to address this by de-coupling the audio consumption and the audio update. Update remains the same without calling for buffer queuing, and the consume now schedules itself to run based on the sample rate and count.
5 years ago
Morph
4df04ad48a
Merge pull request #6529 from ReinUsesLisp/reaper-fixups
buffer_cache,texture_cache: Misc fixups from the memory reaper
5 years ago
Morph
3bc7b0a587
Merge pull request #6532 from MerryMage/libusb-apple
libusb: Apple is a POSIX system
5 years ago