Ameer J
31afe02215
Merge pull request #6563 from ReinUsesLisp/thread-worker
common: Add stateful thread worker and unique function utilities
5 years ago
ReinUsesLisp
976c29518e
common/thread_worker: Stop workers on stop_token when waiting
5 years ago
ReinUsesLisp
efd62f7130
common/thread_worker: Add support for stateful threads
5 years ago
FernandoS27
e5f8e2d2de
common/thread_worker: Simplify logic
5 years ago
FernandoS27
fd43841060
common/thread_worker: Fix data race
5 years ago
ReinUsesLisp
6310150fcc
common/thread_worker: Use unique function
5 years ago
ReinUsesLisp
3a0e4487ba
common: Add unique function
5 years ago
ReinUsesLisp
8645319a49
common/thread_worker: Add wait for requests method
5 years ago
Ameer J
60e29dd3b0
Merge pull request #6539 from lat9nq/default-setting
general: Move most settings' defaults and labels into their definition
5 years ago
lat9nq
d9109a708b
general: Code formatting improvements
Slight improvements to readability.
Dropped suggestions for string_view (settings.h:101), pass by value
(settings.h:82), reverting double to a float (config.cpp:316), and other
smaller ones, some out of scope.
Addresses review feedback.
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
5 years ago
Feng Chen
4adb9d01f7
Out of bound blit ( #6531 )
* Fix out of bound blit error
* Fix code read
* Fix ci error
Co-authored-by: Feng Chen <chen.feng@gloritysolutions.com>
5 years ago
Morph
e027ca45c1
Merge pull request #6564 from Kelebek1/Audio
Support more PCM formats
5 years ago
Morph
655e3c0a5c
Merge pull request #6569 from Kelebek1/Vol
audio_core: Preserve front channel volume after 6 to 2 downmix
5 years ago
Kelebek1
0a4e300431
audio_core: Preserve front channel volume after 6 to 2 downmix
Many games report 6 channel output while only providing data for 2. We only output 2-channel audio regardless, and in the downmixing, front left/right only provide 36% of their volume. This is done assuming all of the other channels also contain valid data, but in many games they don't. This PR alters the downmixing to preserve front left/right, so volume is not lost.
This improves volume in Link's Awakening, New Super Mario Bros U, Disgaea 6, Super Kirby Clash.
5 years ago
bunnei
e99c725050
Merge pull request #6567 from Kelebek1/Audio2
[audren] Report 2 channels active rather than 1
5 years ago
Rodrigo Locatti
9b9819c263
Merge pull request #6570 from lat9nq/bind-image-true
util_shaders: Fix BindImageTexture
5 years ago
lat9nq
93bb8ce425
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
78063cc32b
Merge pull request #6562 from Morph1984/flush-behavior
common: fs: More misc. changes
5 years ago
bunnei
661a0f6569
Merge pull request #6497 from FernandoS27/scotty-doesnt-know
GPU Memory Manager - Correct handling of non continuous backing memory.
5 years ago
bunnei
01bd403873
Merge pull request #6566 from Morph1984/sign-compare-as-error
CMakeLists: Treat -Wsign-compare as an error on GCC/Clang
5 years ago
Kelebek1
6089a29f54
Report 2 channels active. Fixes Tales of Vesperia's mono channel audio.
5 years ago
Kelebek1
b659019c90
Support more PCM formats. Fixes Ys IX audio.
5 years ago
Morph
64f22684d4
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
3d2b67f5e3
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
d4671282a9
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
ab1259c88f
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
88cb6c26f3
Merge pull request #6537 from Morph1984/warnings
general: Enforce multiple warnings in MSVC
5 years ago
bunnei
c47df4745e
Merge pull request #6556 from Morph1984/default-mii
service: mii: Retrieve the correct default miis.
5 years ago
Ameer J
72b17e1988
Merge pull request #6540 from Kelebek1/nvdec
Slightly refactor NVDEC and codecs for readability and safety
5 years ago
Morph
caf9cc3ecf
Merge pull request #6561 from german77/analog_fix
input_common: Add missing modifier callback to analog from button
5 years ago
german77
cf1280874f
input_common: Add missing modifier callback to analog from button
5 years ago
Morph
a78d8a4258
Merge pull request #6559 from german77/compilation_warnings
Replace usages of deprecated member functions in QMouseEvent and QWheelEvent
5 years ago
german77
99bf1aa49f
profiler: Fix deprecated functions
5 years ago
Mai M
2e71ebb112
Merge pull request #6552 from Morph1984/c4189-msvc
CMakeLists: Enforce C4189 on MSVC
5 years ago
Fernando Sahmkow
82c04074c7
Texture Cache: Fix collision with multiple overlaps of the same sparse texture.
5 years ago
Fernando Sahmkow
9be87e6a71
Texture Cache: Fix GCC & Clang.
5 years ago
Fernando Sahmkow
73d501ed4b
Texture Cache: Address feedback.
5 years ago
Fernando Sahmkow
083e0527fd
Texture Cache: Improve accuracy of sparse texture detection.
5 years ago
Fernando Sahmkow
5854ca4ff0
Texture Cache: Initial Implementation of Sparse Textures.
5 years ago
Ameer J
57dbb34afa
Merge pull request #6553 from FernandoS27/bite-a-bat-change-the-world
TextureCache: Fix 1D to 2D overlapps.
5 years ago
Morph
b3ca6f09bb
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
e30d18801d
TextureCacheOGL: Implement Image Copies for 1D and 1D Array.
5 years ago
Fernando Sahmkow
141f92619b
TextureCache: Fix 1D to 2D overlapps.
5 years ago
Morph
3be5ca932a
CMakeLists: Enforce C4189
This supplements C4101 by detecting initialized but unreferenced local variables
5 years ago
bunnei
4168a4d571
Merge pull request #6498 from Kelebek1/Audio
[audio_core] Decouple audio update and processing, and process at variable rate
5 years ago
lat9nq
c316fc4f2d
config: Read UISettings as basic settings
I must have been asleep or something. These need to be read with the new
ReadBasicSetting function.
5 years ago
lat9nq
2574064759
settings: Set resolution_factor default to 1
Fixes Disgaea 6 Demo issues.
5 years ago
Kelebek1
05fb3db000
Slightly refactor NVDEC and codecs for readability and safety
5 years ago
Kelebek1
07e637d8c6
Fix XC2/VOEZ crashing, add audio looping and a few misc fixes
5 years ago
Ameer J
00232f761a
Merge pull request #6459 from lat9nq/ubuntu-fixes
cmake: Improve Linux dependency checking for externals
5 years ago