summaryrefslogtreecommitdiff
path: root/src/core (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
| |
* | 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
| |
* | 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
| |
* | 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
* | 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-122-491/+163
|\ \
| * \ Merge pull request #6823 from yzct12345/memory-cleanupGravatar bunnei2021-08-092-491/+163
| |\ \ | | |/ | |/| memory: Clean up code
| | * memory: Address lioncash's reviewGravatar yzct123452021-08-071-52/+6
| | |
| | * memory: Dedup Read and Write and fix logging bugsGravatar yzct123452021-08-071-129/+115
| | |
| | * memory: Clean up CopyBlock tooGravatar yzct123452021-08-051-36/+15
| | |
| | * memory: Address lioncash's reviewGravatar yzct123452021-08-052-7/+8
| | |
| | * memory: Clean up codeGravatar yzct123452021-08-052-329/+81
| | |
* | | 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-126-37/+187
| | | | | | | | | | | | 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-072-99/+4
|\| |
| * | Merge pull request #6799 from ameerj/vp9-fixesGravatar bunnei2021-08-062-99/+4
| |\ \ | | |/ | |/| nvdec: Fix VP9 reference frame refreshes
| | * nvhost_nvdec_common: Remove BufferMapGravatar ameerj2021-08-062-76/+0
| | | | | | | | | | | | This was mainly used to keep track of mapped buffers for later unmapping. Since unmap is no longer implemented, this no longer seves a valuable purpose.
| | * nvhost_nvdec_common: Stub UnmapBuffer IoctlGravatar ameerj2021-08-061-23/+4
| | | | | | | | | | | | Skip unmapping nvdec buffers to avoid breaking the continuity of the VP9 reference frame addresses, and the risk of invalidating data before the async GPU thread is done with it.
* | | 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