bunnei
5e600cba3a
Revert "kernel: Various improvements to scheduler"
4 years ago
Fernando S
33f28f1cd5
Merge pull request #6919 from ameerj/vk-int8-capability
vulkan_device: Add a check for int8 support
4 years ago
Ameer J
ef8eb0cb28
Merge pull request #6894 from FernandoS27/bunneis-left-ear
GPU_MemoryManger: Fix GetSubmappedRange.
4 years ago
bunnei
62e8ae7a3b
Merge pull request #6917 from ameerj/log-init-fix
logging: Fix log filter during initialization
4 years ago
ameerj
56cabe631b
vulkan_device: Add a check for int8 support
Silences validation errors when shaders use int8 without specifying its support to the API
4 years ago
ameerj
0debad63cc
logging: Fix log filter during initialization
The log filter was being ignored on initialization due to the logging instance being initialized before the config instance, so the log filter was set to its default value.
This fixes that oversight, along with using descriptive exceptions instead of abort() calls.
4 years ago
Ameer J
b53a87b6b4
Merge pull request #6878 from BreadFish64/optimize-GetHostThreadID
kernel: Optimize GetHostThreadID
4 years ago
bunnei
98c2b7a750
Merge pull request #6912 from lioncash/plural
CMakeLists: Ensure proper numerusform tags are generated for pluralized translations
4 years ago
bunnei
f3931fe2b5
Merge pull request #6869 from yzct12345/shiny-logs-in-the-fireplace
logging: Simplify and make thread-safe
4 years ago
Lioncash
8efa6d4b74
CMakeLists: Ensure proper numerusform tags are generated for pluralized translations
If we don't set an explicit source and target language for the base
english translation, then we'll generate an incorrect number of
<numerusform> tags (which Transifex doesn't like).
4 years ago
Ameer J
4a9033588b
Merge pull request #6904 from Morph1984/lang-settings-range
settings: Amend language_index maximum setting range
4 years ago
Morph
d10148b4aa
settings: Amend language_index maximum setting range
The maximum is now 17 with the addition of Brazilian Portuguese
4 years ago
Ameer J
9cff53ec7c
Merge pull request #6888 from v1993/patch-3
video_core: eliminate constant ternary
4 years ago
bunnei
018c64c976
Merge pull request #6877 from MerryMage/dyn-ignore-asserts
dynarmic: Update and enable DYNARMIC_IGNORE_ASSERTS
4 years ago
Mai M
de6eeaa67a
Merge pull request #6887 from v1993/patch-2
SPIR-V: Merge two ifs in EmitGetAttribute
4 years ago
Mai M
7578fdd63b
Merge pull request #6886 from Morph1984/error-code-64
applet_error: Fix 64-bit error code conversion
4 years ago
Mai M
6a18c2a2aa
Merge pull request #6890 from v1993/patch-5
Replace QPoint with QPointF where applicable
4 years ago
Fernando Sahmkow
c01e168072
GPU_MemoryManger: Fix GetSubmappedRange.
4 years ago
Valeri
e8314deee0
Replace QPoint with QPointF where applicable
Previously, floats were implicitly cast to integers
4 years ago
Morph
8afb8e6619
Merge pull request #6889 from v1993/patch-4
qt_software_keyboard: fix copy-paste error
4 years ago
Valeri
35c40cf0aa
qt_software_keyboard: fix copy-paste error
4 years ago
Valeri
42b0e8cadf
video_core: eliminate constant ternary
`via_header_index` is already checked above, so it would never be true in this branch
4 years ago
Morph
1c1292b13c
applet_error: Fix 64-bit error code conversion
4 years ago
Valeri
1510efac15
SPIR-V: Merge two ifs in EmitGetAttribute
4 years ago
Mai M
ac2c233543
Merge pull request #6885 from v1993/patch-1
Fix crash in logging in CreateStrayLayer
4 years ago
Valeri
6a1ad26160
Fix crash in logging in CreateStrayLayer
It was trying to log value of layer_id which is specifically known not to exist, potentially leading to segfault. Log display_id instead.
4 years ago
Morph
a71b65feb7
Merge pull request #6884 from v1993/patch-1
Fix check is thread current in GetThreadContext
4 years ago
Valeri
190e12a072
Fix check is thread current in GetThreadContext
Misplaced break made it only check for the first core.
4 years ago
bunnei
7a90ad5238
Merge pull request #6832 from bunnei/scheduler-improvements
kernel: Various improvements to scheduler
4 years ago
Fernando S
81f7914b19
Merge pull request #6863 from spholz/fix-lan-play
Fix LAN Play
4 years ago
BreadFish64
8c4f818e77
kernel: Optimize GetHostThreadID
4 years ago
Sönke Holz
12499a34e6
network_interface: correct formatting
4 years ago
spholz
9701ec5ddf
network_interface: fix mingw-w64 build
4 years ago
Sönke Holz
363236e2c6
network: retrieve subnet mask and gateway info
4 years ago
Merry
1aa44659ce
dynarmic: Update and enable DYNARMIC_IGNORE_ASSERTS
4 years ago
Merry
891e19ef4c
xbyak: Update include path
4 years ago
bunnei
3376aeb9bd
Merge pull request #6861 from yzct12345/const-mempy-is-all-the-speed
decoders: Optimize memcpy for the other functions
4 years ago
bunnei
2824d742e4
Merge pull request #6868 from yzct12345/safe-threads-no-deadlocks
threadsafe_queue: Fix deadlock
4 years ago
bunnei
b2f859f47c
core: hle: kernel: Disable dispatch count tracking on single core.
- This would have limited value, and would be a mess to handle properly.
4 years ago
yzct12345
156754e476
threadsafe_queue: Fix deadlock
This fixes a lost wakeup in SPSCQueue. If the reader is in just the right position, the writer's notification will be lost and this will be a problem if the writer then does something to wait on the reader.
This was discovered to affect my upcoming stacktrace PR. I don't think any performance decrease will be noticeable because an uncontended mutex is smart enough to skip the syscall. This PR might also resolve some rare deadlocks but I don't know of any examples.
4 years ago
yzct12345
aee8cc20ea
logging: Simplify and make thread-safe
This simplifies the logging system.
This also fixes some lost messages on startup.
The simplification is simple. I removed unused functions and moved most things in the .h to the .cpp. I replaced the unnecessary linked list with its contents laid out as three member variables. Anything that went through the linked list now directly accesses the backends. Generic functions are replaced with those for each specific use case and there aren't many. This change increases coupling but we gain back more KISS and encapsulation.
With those changes it was easy to make it thread-safe. I just removed the mutex and turned a boolean atomic. I was planning to use this thread-safety in my next PR about stacktraces. It was actually async-signal-safety at first but I ended up using a different approach. Anyway getting rid of the linked list is important for that because have the list of backends constantly changing complicates things.
4 years ago
Sönke Holz
66bc5a27ba
configuration: fix mingw-w64 build
4 years ago
spholz
9826ea72b2
network: don't use reinterpret_cast in GetAvailableNetworkInterfaces
4 years ago
Sönke Holz
8c9ce19145
network: fix mingw-w64 build
The header "combaseapi.h" of mingw-w64 defines "interface" as "struct".
4 years ago
Sönke Holz
da59702a7d
network: don't use assert to check if no network interfaces are returned
4 years ago
bunnei
5364981133
Merge pull request #6862 from german77/badsdl
input_common: Disable sdl raw input mode
4 years ago
Sönke Holz
cce5a6db3b
configuration: move network_interface include to source file
4 years ago
Sönke Holz
b8b4170dd6
network: use Common::BitCast instead of std::bit_cast
4 years ago
Sönke Holz
8e6aa553c0
network: narrow down scope of "result" in win32 code for
GetAvailableNetworkInterfaces
4 years ago
Sönke Holz
90a97c43c7
configuration: use tr instead of QStringLiteral for "None" item in
network interface combobox
4 years ago