summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash in logging in CreateStrayLayerGravatar Valeri2021-08-191-1/+1
| | | It was trying to log value of layer_id which is specifically known not to exist, potentially leading to segfault. Log display_id instead.
* Fix check is thread current in GetThreadContextGravatar Valeri2021-08-191-1/+1
| | | Misplaced break made it only check for the first core.
* Merge pull request #6832 from bunnei/scheduler-improvementsGravatar bunnei2021-08-1823-140/+224
|\ | | | | kernel: Various improvements to scheduler
| * core: hle: kernel: Disable dispatch count tracking on single core.Gravatar bunnei2021-08-143-5/+12
| | | | | | | | - This would have limited value, and would be a mess to handle properly.
| * core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.Gravatar bunnei2021-08-071-1/+1
| |
| * core: cpu_manager: Use invalid core_id on init and simplify shutdown.Gravatar bunnei2021-08-071-7/+3
| |
| * core: hle: service: buffer_queue: Improve management of KEvent.Gravatar bunnei2021-08-073-14/+24
| |
| * core: hle: kernel: k_auto_object: Add GetName method.Gravatar bunnei2021-08-071-0/+4
| | | | | | | | - Useful purely for debugging.
| * core: hle: service: nvflinger/vi: Improve management of KEvent.Gravatar bunnei2021-08-074-16/+30
| |
| * core: hle: kernel: DisableDispatch on suspend threads.Gravatar bunnei2021-08-071-0/+3
| |
| * core: hle: kernel: k_scheduler: Improve DisableScheduling and EnableScheduling.Gravatar bunnei2021-08-071-14/+9
| |
| * core: cpu_manager: Use KScopedDisableDispatch.Gravatar bunnei2021-08-071-7/+8
| |
| * core: hle: kernel: Use CurrentPhysicalCoreIndex as appropriate.Gravatar bunnei2021-08-071-6/+2
| |
| * core: hle: kernel: k_scheduler: Remove unnecessary MakeCurrentProcess.Gravatar bunnei2021-08-071-5/+0
| |
| * core: hle: kernel: k_scheduler: Improve ScheduleImpl.Gravatar bunnei2021-08-071-6/+7
| |
| * core: hle: kernel: k_scheduler: Improve Unload.Gravatar bunnei2021-08-071-17/+29
| |
| * core: hle: kernel: k_process: DisableDispatch on main thread.Gravatar bunnei2021-08-071-0/+1
| |
| * core: hle: kernel: k_handle_table: Use KScopedDisableDispatch as necessary.Gravatar bunnei2021-08-072-0/+8
| |
| * core: hle: kernel: k_thread: Add KScopedDisableDispatch.Gravatar bunnei2021-08-072-1/+47
| |
| * core: hle: kernel: Ensure idle threads are closed before destroying scheduler.Gravatar bunnei2021-08-073-24/+22
| |
| * core: hle: kernel: Reflect non-emulated threads as core 3.Gravatar bunnei2021-08-077-13/+15
| |
| * core: cpu_manager: Use jthread.Gravatar bunnei2021-08-072-18/+13
| |
* | Merge pull request #6863 from spholz/fix-lan-playGravatar Fernando S2021-08-1615-102/+408
|\ \ | | | | | | Fix LAN Play
| * | network_interface: correct formattingGravatar Sönke Holz2021-08-161-1/+1
| | |
| * | network_interface: fix mingw-w64 buildGravatar spholz2021-08-161-1/+1
| | |
| * | network: retrieve subnet mask and gateway infoGravatar Sönke Holz2021-08-165-24/+137
| | |
| * | configuration: fix mingw-w64 buildGravatar Sönke Holz2021-08-131-2/+2
| | |
| * | network: don't use reinterpret_cast in GetAvailableNetworkInterfacesGravatar spholz2021-08-131-7/+4
| | |
| * | network: fix mingw-w64 buildGravatar Sönke Holz2021-08-131-4/+4
| | | | | | | | | | | | The header "combaseapi.h" of mingw-w64 defines "interface" as "struct".
| * | network: don't use assert to check if no network interfaces are returnedGravatar Sönke Holz2021-08-131-2/+4
| | |
| * | configuration: move network_interface include to source fileGravatar Sönke Holz2021-08-132-2/+1
| | |
| * | network: use Common::BitCast instead of std::bit_castGravatar Sönke Holz2021-08-131-2/+3
| | |
| * | network: narrow down scope of "result" in win32 code forGravatar Sönke Holz2021-08-131-4/+5
| | | | | | | | | | | | GetAvailableNetworkInterfaces
| * | configuration: use tr instead of QStringLiteral for "None" item inGravatar Sönke Holz2021-08-131-1/+1
| | | | | | | | | | | | network interface combobox
| * | network: use explicit bool conversions in GetAvailableNetworkInterfacesGravatar Sönke Holz2021-08-131-1/+1
| | |
| * | network: initialize ip_addr in GetHostIPv4Address()Gravatar Sönke Holz2021-08-131-1/+1
| | |
| * | nifm: use operator*() instead of .value() to get value of std::optionalGravatar Sönke Holz2021-08-131-2/+2
| | |
| * | nifm: treat a missing host IP address as a non-critical errorGravatar Sönke Holz2021-08-131-2/+2
| | |
| * | Merge branch 'yuzu-emu:master' into fix-lan-playGravatar spholz2021-08-1244-1467/+1182
| |\ \
| * | | network: correct formatting in network.cpp and network_interface.cppGravatar Sönke Holz2021-08-122-8/+6
| | | |
| * | | configuration: add option to select network interfaceGravatar spholz2021-08-1215-90/+278
| | | | | | | | | | | | | | | | This commit renames the "Services" tab to "Network" and adds a combobox that allows the user to select the network interface that yuzu should use. This new setting is now used to get the local IP address in Network::GetHostIPv4Address. This prevents yuzu from selecting the wrong network interface and thus using the wrong IP address. The return type of Network::GetHostIPv4Adress has also been changed.
| * | | Merge branch 'yuzu-emu:master' into fix-lan-playGravatar spholz2021-08-075-205/+52
| |\ \ \
| * | | | network: GetAndLogLastError: ignore Errno::AGAINGravatar Sönke Holz2021-08-071-1/+5
| | | | | | | | | | | | | | | | | | | | If non-blocking sockets are used, they generate a lot of Errno::AGAIN errors when they didn't receive any data. These errors shouldn't be logged.
| * | | | network: GetCurrentIpConfigInfo: return host IP addressGravatar Sönke Holz2021-08-071-1/+4
| | | | | | | | | | | | | | | | | | | | Service::NIFM::IGeneralService::GetCurrentIpConfigInfo currently hardcodes 192.168.1.100 as the IP address, which prevents LAN play from working correctly.
| * | | | network: fix fcntl cmdsGravatar Sönke Holz2021-08-061-2/+2
| | | | | | | | | | | | | | | | | | | | F_SETFL/F_GETFL are the correct commands to set a socket to be non-blocking
* | | | | Merge pull request #6861 from yzct12345/const-mempy-is-all-the-speedGravatar bunnei2021-08-151-57/+116
|\ \ \ \ \ | | | | | | | | | | | | decoders: Optimize memcpy for the other functions
| * | | | | decoders: Templates allow memcpy optimizationsGravatar yzct123452021-08-121-57/+116
| | | | | |
* | | | | | threadsafe_queue: Fix deadlockGravatar yzct123452021-08-131-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge pull request #6862 from german77/badsdlGravatar bunnei2021-08-121-0/+3
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | input_common: Disable sdl raw input mode
| * | | | | input_common: Disable sdl raw input modeGravatar german772021-08-121-0/+3
| |/ / / /