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
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
Sönke Holz
a7e514f3db
network: use explicit bool conversions in GetAvailableNetworkInterfaces
4 years ago
Sönke Holz
052fb4ec7e
network: initialize ip_addr in GetHostIPv4Address()
4 years ago
Sönke Holz
4e840ab505
nifm: use operator*() instead of .value() to get value of std::optional
4 years ago
Sönke Holz
4262dc09d7
nifm: treat a missing host IP address as a non-critical error
4 years ago
Sönke Holz
d5e4ac4b29
network: correct formatting in network.cpp and network_interface.cpp
4 years ago
spholz
bef7cbbe41
configuration: add option to select network interface
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.
4 years ago
german77
134a2c23ac
input_common: Disable sdl raw input mode
4 years ago
ameerj
f885866fba
codec: Replace deprecated av_init_packet usage
4 years ago
ameerj
561fd5f7a4
nvdec: Implement GPU accelerated decoding for all platforms
Supplements the VAAPI intel gpu decoder by implementing the D3D11VA decoder for Windows, and CUVID/VDPAU for Nvidia and AMD on drivers linux respectively.
4 years ago
yzct12345
4f7ee3d7c6
decoders: Templates allow memcpy optimizations
4 years ago
lat9nq
6ebd0fe021
settings: Fix MSVC issues
According to https://stackoverflow.com/questions/469508 , we run into a
MSVC bug (since VS 2005) when using diamond inheritance for
RangedSetting.
This explicitly implements those functions in RangedSetting. GetValue is
implemented as just calling the inherited version. The explicit
converson operator is reimplemented. I opted for this over ignoring the
warning with a pragma since this specifies the inherited behavior, and I
have now less faith in MSVC to pick the right one.
In addition, we mark destructors as virtual to silence what I believe is
a fair MSVC compilation error.
4 years ago
ameerj
8236b4f4d7
vic: Specify sws_scale height stride.
Silences a sws_scale runtime warning about unaligned strides.
4 years ago
Fernando Sahmkow
f76d1a1dae
yuzu-cmd/CMakeLists: Correct attribution for this function.
4 years ago
ameerj
4cd45cf374
vp9: Ensure the first frame is complete
Silences a runtime error due to the first frame missing the frame data, and being set to hidden despite being a key-frame.
4 years ago
yzct12345
3c7d3363c1
texture_cache: Address ameerj's review
4 years ago
ameerj
24e2e4288e
configure_general: Swap positions of speed limit and frame limit options
4 years ago
german77
32e0572a68
input_common: Improve SDL joystick and hide toggle option
5 years ago
german77
56090126ec
main: Avoid stopping emulation when taking a screenshot
4 years ago
bunnei
8d8a230257
core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.
4 years ago
bunnei
79c64bf1ee
core: cpu_manager: Use invalid core_id on init and simplify shutdown.
4 years ago
bunnei
1b1b33993b
core: hle: service: buffer_queue: Improve management of KEvent.
4 years ago
bunnei
1458629fc8
core: hle: kernel: k_auto_object: Add GetName method.
- Useful purely for debugging.
4 years ago
bunnei
8cbb66daf8
core: hle: service: nvflinger/vi: Improve management of KEvent.
4 years ago
bunnei
0cd7bf70a3
core: hle: kernel: DisableDispatch on suspend threads.
4 years ago
bunnei
19457823ea
core: hle: kernel: k_scheduler: Improve DisableScheduling and EnableScheduling.
4 years ago
bunnei
62b84a3e96
core: cpu_manager: Use KScopedDisableDispatch.
4 years ago
bunnei
347e4d6ab8
core: hle: kernel: Use CurrentPhysicalCoreIndex as appropriate.
4 years ago
bunnei
aedc599224
core: hle: kernel: k_scheduler: Remove unnecessary MakeCurrentProcess.
4 years ago
bunnei
edba87b96d
core: hle: kernel: k_scheduler: Improve ScheduleImpl.
4 years ago
bunnei
0d22a55e01
core: hle: kernel: k_scheduler: Improve Unload.
4 years ago
bunnei
cba49de65b
core: hle: kernel: k_process: DisableDispatch on main thread.
4 years ago
bunnei
92ef6e44ee
core: hle: kernel: k_handle_table: Use KScopedDisableDispatch as necessary.
4 years ago
bunnei
9951f24bad
core: hle: kernel: k_thread: Add KScopedDisableDispatch.
4 years ago
bunnei
43fcb97ef3
core: hle: kernel: Ensure idle threads are closed before destroying scheduler.
4 years ago
bunnei
951143ba57
core: hle: kernel: Reflect non-emulated threads as core 3.
4 years ago
bunnei
b0cb5c830c
core: cpu_manager: Use jthread.
4 years ago
Robin Kertels
f8f27b6caf
vulkan_memory_allocator: Respect bufferImageGranularity
4 years ago
ameerj
f52a3de990
nvdec: Better logging for unimplemented codecs
4 years ago
yzct12345
b61be44dbc
memory: Address lioncash's review
4 years ago
yzct12345
a21f46127b
memory: Dedup Read and Write and fix logging bugs
4 years ago
yzct12345
0cef80ec92
texture_cache: Address ameerj's review
4 years ago
Sönke Holz
47f72f9345
network: GetAndLogLastError: ignore Errno::AGAIN
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.
4 years ago
Sönke Holz
2c0d0e8af4
network: GetCurrentIpConfigInfo: return host IP address
Service::NIFM::IGeneralService::GetCurrentIpConfigInfo currently hardcodes 192.168.1.100 as the IP address, which prevents LAN play from working correctly.
4 years ago