mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Core: Namespace NetPlay utilities under the NetPlay namespace
Previously there was only one function under the NetPlay namespace, which is kind of silly considering we have all of these other types and functions existing outside of the namespace. This moves the rest of them into the namespace. This gets some general names, like Player, for example, out of the global namespace.
This commit is contained in:
@ -14,6 +14,8 @@ namespace PowerPC
|
||||
enum class CPUCore;
|
||||
}
|
||||
|
||||
namespace NetPlay
|
||||
{
|
||||
struct NetSettings
|
||||
{
|
||||
bool m_CPUthread;
|
||||
@ -109,7 +111,5 @@ using FrameNum = u32;
|
||||
using PadMapping = s8;
|
||||
using PadMappingArray = std::array<PadMapping, 4>;
|
||||
|
||||
namespace NetPlay
|
||||
{
|
||||
bool IsNetPlayRunning();
|
||||
}
|
||||
} // namespace NetPlay
|
||||
|
Reference in New Issue
Block a user