aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
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-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-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-13network: don't use reinterpret_cast in GetAvailableNetworkInterfacesspholz
2021-08-13network: fix mingw-w64 buildSönke Holz
The header "combaseapi.h" of mingw-w64 defines "interface" as "struct".
2021-08-13network: don't use assert to check if no network interfaces are returnedSönke Holz
2021-08-13network: use Common::BitCast instead of std::bit_castSönke Holz
2021-08-13network: narrow down scope of "result" in win32 code forSönke Holz
GetAvailableNetworkInterfaces
2021-08-13network: use explicit bool conversions in GetAvailableNetworkInterfacesSönke Holz
2021-08-13network: initialize ip_addr in GetHostIPv4Address()Sönke Holz
2021-08-13nifm: use operator*() instead of .value() to get value of std::optionalSönke Holz
2021-08-13nifm: treat a missing host IP address as a non-critical errorSönke Holz
2021-08-12Merge branch 'yuzu-emu:master' into fix-lan-playspholz
2021-08-12network: correct formatting in network.cpp and network_interface.cppSönke Holz
2021-08-12configuration: add option to select network interfacespholz
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.
2021-08-09Merge pull request #6823 from yzct12345/memory-cleanupbunnei
memory: Clean up code
2021-08-07core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.bunnei
2021-08-07core: cpu_manager: Use invalid core_id on init and simplify shutdown.bunnei
2021-08-07core: hle: service: buffer_queue: Improve management of KEvent.bunnei
2021-08-07core: hle: kernel: k_auto_object: Add GetName method.bunnei
- Useful purely for debugging.
2021-08-07core: hle: service: nvflinger/vi: Improve management of KEvent.bunnei
2021-08-07core: hle: kernel: DisableDispatch on suspend threads.bunnei
2021-08-07core: hle: kernel: k_scheduler: Improve DisableScheduling and EnableScheduling.bunnei
2021-08-07core: cpu_manager: Use KScopedDisableDispatch.bunnei
2021-08-07core: hle: kernel: Use CurrentPhysicalCoreIndex as appropriate.bunnei
2021-08-07core: hle: kernel: k_scheduler: Remove unnecessary MakeCurrentProcess.bunnei
2021-08-07core: hle: kernel: k_scheduler: Improve ScheduleImpl.bunnei
2021-08-07core: hle: kernel: k_scheduler: Improve Unload.bunnei
2021-08-07core: hle: kernel: k_process: DisableDispatch on main thread.bunnei
2021-08-07core: hle: kernel: k_handle_table: Use KScopedDisableDispatch as necessary.bunnei
2021-08-07core: hle: kernel: k_thread: Add KScopedDisableDispatch.bunnei
2021-08-07core: hle: kernel: Ensure idle threads are closed before destroying scheduler.bunnei
2021-08-07core: hle: kernel: Reflect non-emulated threads as core 3.bunnei
2021-08-07core: cpu_manager: Use jthread.bunnei
2021-08-07memory: Address lioncash's reviewyzct12345
2021-08-07memory: Dedup Read and Write and fix logging bugsyzct12345
2021-08-07Merge branch 'yuzu-emu:master' into fix-lan-playspholz
2021-08-07network: GetAndLogLastError: ignore Errno::AGAINSönke Holz
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.
2021-08-06Merge pull request #6799 from ameerj/vp9-fixesbunnei
nvdec: Fix VP9 reference frame refreshes
2021-08-07network: GetCurrentIpConfigInfo: return host IP addressSönke Holz
Service::NIFM::IGeneralService::GetCurrentIpConfigInfo currently hardcodes 192.168.1.100 as the IP address, which prevents LAN play from working correctly.
2021-08-06nvhost_nvdec_common: Remove BufferMapameerj
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.
2021-08-06nvhost_nvdec_common: Stub UnmapBuffer Ioctlameerj
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.
2021-08-06network: fix fcntl cmdsSönke Holz
F_SETFL/F_GETFL are the correct commands to set a socket to be non-blocking
2021-08-05memory: Clean up CopyBlock tooyzct12345
2021-08-05memory: Address lioncash's reviewyzct12345
2021-08-05memory: Clean up codeyzct12345