summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-09-02Add input/output locationFeng Chen
2021-09-01Add colorfront and txtcoord supportFeng Chen
2021-08-29Merge pull request #6905 from Morph1984/nifm-miscbunnei
nifm/network_interface: Cleanup and populate fields in GetCurrentNetworkProfile
2021-08-28Merge pull request #6921 from ameerj/vp9-unusedbunnei
vp9_types: Remove unusued VP9 info struct members
2021-08-28Merge pull request #6927 from german77/ngctMorph
ngct: Stub NGCT:U service
2021-08-27ngct: Stub NGCT:U servicegerman77
2021-08-27Revert "logging: Display backtrace on crash"Morph
2021-08-27service: nifm: Populate fields in GetCurrentNetworkProfileMorph
Populates the current_address, subnet_mask, and gateway fields from the selected network interface.
2021-08-27service: nifm: Cleanup GetCurrentIpConfigInfoMorph
2021-08-27network_interface: Cleanup codeMorph
2021-08-27network_interface: Replace default return value with std::nulloptMorph
2021-08-26Merge pull request #6870 from yzct12345/trace-back-stack-back-stack-backbunnei
logging: Display backtrace on crash
2021-08-25Revert "kernel: Various improvements to scheduler"bunnei
2021-08-25vp9_types: Minor refactor of VP9 info structs.ameerj
2021-08-25vp9_types: Remove unused Vp9PictureInfo membersameerj
2021-08-25Merge pull request #6919 from ameerj/vk-int8-capabilityFernando S
vulkan_device: Add a check for int8 support
2021-08-25Merge pull request #6894 from FernandoS27/bunneis-left-earAmeer J
GPU_MemoryManger: Fix GetSubmappedRange.
2021-08-24vulkan_device: Add a check for int8 supportameerj
Silences validation errors when shaders use int8 without specifying its support to the API
2021-08-24logging: Fix log filter during initializationameerj
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.
2021-08-24Merge pull request #6878 from BreadFish64/optimize-GetHostThreadIDAmeer J
kernel: Optimize GetHostThreadID
2021-08-23Merge pull request #6912 from lioncash/pluralbunnei
CMakeLists: Ensure proper numerusform tags are generated for pluralized translations
2021-08-22Merge pull request #6869 from yzct12345/shiny-logs-in-the-fireplacebunnei
logging: Simplify and make thread-safe
2021-08-22CMakeLists: Ensure proper numerusform tags are generated for pluralized ↵Lioncash
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).
2021-08-21settings: Amend language_index maximum setting rangeMorph
The maximum is now 17 with the addition of Brazilian Portuguese
2021-08-21Merge pull request #6888 from v1993/patch-3Ameer J
video_core: eliminate constant ternary
2021-08-19Merge pull request #6877 from MerryMage/dyn-ignore-assertsbunnei
dynarmic: Update and enable DYNARMIC_IGNORE_ASSERTS
2021-08-19Merge pull request #6887 from v1993/patch-2Mai M
SPIR-V: Merge two ifs in EmitGetAttribute
2021-08-19Merge pull request #6886 from Morph1984/error-code-64Mai M
applet_error: Fix 64-bit error code conversion
2021-08-19GPU_MemoryManger: Fix GetSubmappedRange.Fernando Sahmkow
2021-08-19Replace QPoint with QPointF where applicableValeri
Previously, floats were implicitly cast to integers
2021-08-19qt_software_keyboard: fix copy-paste errorValeri
2021-08-19video_core: eliminate constant ternaryValeri
`via_header_index` is already checked above, so it would never be true in this branch
2021-08-19applet_error: Fix 64-bit error code conversionMorph
2021-08-19SPIR-V: Merge two ifs in EmitGetAttributeValeri
2021-08-19Fix crash in logging in CreateStrayLayerValeri
It was trying to log value of layer_id which is specifically known not to exist, potentially leading to segfault. Log display_id instead.
2021-08-19Fix check is thread current in GetThreadContextValeri
Misplaced break made it only check for the first core.
2021-08-18Merge pull request #6832 from bunnei/scheduler-improvementsbunnei
kernel: Various improvements to scheduler
2021-08-16Merge pull request #6863 from spholz/fix-lan-playFernando S
Fix LAN Play
2021-08-16kernel: Optimize GetHostThreadIDBreadFish64
2021-08-16network_interface: correct formattingSönke Holz
2021-08-16network_interface: fix mingw-w64 buildspholz
2021-08-16network: retrieve subnet mask and gateway infoSönke Holz
2021-08-15xbyak: Update include pathMerry
2021-08-15Merge pull request #6861 from yzct12345/const-mempy-is-all-the-speedbunnei
decoders: Optimize memcpy for the other functions
2021-08-14core: hle: kernel: Disable dispatch count tracking on single core.bunnei
- This would have limited value, and would be a mess to handle properly.
2021-08-13threadsafe_queue: Fix deadlockyzct12345
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.
2021-08-13logging: Display backtrace on crashyzct12345
This implements backtraces so we don't have to tell users how to use gdb anymore. This prints a backtrace after abort or segfault is detected. It also fixes the log getting cut off with the last line containing only a bracket. This change lets us know what caused a crash not just what happened the few seconds before it. I only know how to add support for Linux with GCC. Also this doesn't work outside of C/C++ such as in dynarmic or certain parts of graphics drivers. The good thing is that it'll try and just crash again but the stack frames are still there so the core dump will work just like before.
2021-08-13logging: Simplify and make thread-safeyzct12345
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.
2021-08-13configuration: fix mingw-w64 buildSönke Holz
2021-08-13network: don't use reinterpret_cast in GetAvailableNetworkInterfacesspholz