diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-07-17 21:36:03 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-07-17 21:36:03 +0200 |
commit | 5bbc3aef1368cc1fcc59304013f0999b0827115b (patch) | |
tree | a78a09ae6dfbd779536059f8806077cb2a710b76 | |
parent | Merge pull request #10934 from abouvier/cmake-vma (diff) | |
download | yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.tar yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.tar.gz yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.tar.bz2 yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.tar.lz yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.tar.xz yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.tar.zst yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nifm/nifm.cpp | 1 | ||||
-rw-r--r-- | src/core/hle/service/nifm/nifm.h | 7 | ||||
-rw-r--r-- | src/core/internal_network/socket_proxy.cpp | 1 | ||||
-rw-r--r-- | src/core/internal_network/socket_proxy.h | 4 | ||||
-rw-r--r-- | src/core/internal_network/sockets.h | 3 |
5 files changed, 11 insertions, 5 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp index 91d42853e..21b06d10b 100644 --- a/src/core/hle/service/nifm/nifm.cpp +++ b/src/core/hle/service/nifm/nifm.cpp @@ -7,6 +7,7 @@ #include "core/hle/service/kernel_helpers.h" #include "core/hle/service/nifm/nifm.h" #include "core/hle/service/server_manager.h" +#include "network/network.h" namespace { diff --git a/src/core/hle/service/nifm/nifm.h b/src/core/hle/service/nifm/nifm.h index 9b20e6823..ae99c4695 100644 --- a/src/core/hle/service/nifm/nifm.h +++ b/src/core/hle/service/nifm/nifm.h @@ -4,14 +4,15 @@ #pragma once #include "core/hle/service/service.h" -#include "network/network.h" -#include "network/room.h" -#include "network/room_member.h" namespace Core { class System; } +namespace Network { +class RoomNetwork; +} + namespace Service::NIFM { void LoopProcess(Core::System& system); diff --git a/src/core/internal_network/socket_proxy.cpp b/src/core/internal_network/socket_proxy.cpp index 44e9e3093..ce0dee970 100644 --- a/src/core/internal_network/socket_proxy.cpp +++ b/src/core/internal_network/socket_proxy.cpp @@ -10,6 +10,7 @@ #include "core/internal_network/network.h" #include "core/internal_network/network_interface.h" #include "core/internal_network/socket_proxy.h" +#include "network/network.h" #if YUZU_UNIX #include <sys/socket.h> diff --git a/src/core/internal_network/socket_proxy.h b/src/core/internal_network/socket_proxy.h index e12c413d1..70500cf4a 100644 --- a/src/core/internal_network/socket_proxy.h +++ b/src/core/internal_network/socket_proxy.h @@ -10,10 +10,12 @@ #include "common/common_funcs.h" #include "core/internal_network/sockets.h" -#include "network/network.h" +#include "network/room_member.h" namespace Network { +class RoomNetwork; + class ProxySocket : public SocketBase { public: explicit ProxySocket(RoomNetwork& room_network_) noexcept; diff --git a/src/core/internal_network/sockets.h b/src/core/internal_network/sockets.h index 46a53ef79..4ba51f62c 100644 --- a/src/core/internal_network/sockets.h +++ b/src/core/internal_network/sockets.h @@ -15,12 +15,13 @@ #include "common/common_types.h" #include "core/internal_network/network.h" -#include "network/network.h" // TODO: C++20 Replace std::vector usages with std::span namespace Network { +struct ProxyPacket; + class SocketBase { public: #ifdef YUZU_UNIX |