Common/UPnP: Move interface into Common namespace

Keeps these utilities consistent with the rest of most of the Common
library.
This commit is contained in:
Lioncash
2023-04-12 14:15:56 -04:00
parent c5bbe0af02
commit f5bdfdde1a
3 changed files with 6 additions and 6 deletions

View File

@ -164,14 +164,14 @@ static void UnmapPortThread()
UnmapPort(s_mapped);
}
void UPnP::TryPortmapping(u16 port)
void Common::UPnP::TryPortmapping(u16 port)
{
if (s_thread.joinable())
s_thread.join();
s_thread = std::thread(&MapPortThread, port);
}
void UPnP::StopPortmapping()
void Common::UPnP::StopPortmapping()
{
if (s_thread.joinable())
s_thread.join();