mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
BBA/HLE: Move functions to anonymous namespace
This commit is contained in:
@ -26,12 +26,7 @@ u64 GetTickCountStd()
|
|||||||
using namespace std::chrono;
|
using namespace std::chrono;
|
||||||
return duration_cast<milliseconds>(steady_clock::now().time_since_epoch()).count();
|
return duration_cast<milliseconds>(steady_clock::now().time_since_epoch()).count();
|
||||||
}
|
}
|
||||||
} // namespace
|
|
||||||
|
|
||||||
namespace ExpansionInterface
|
|
||||||
{
|
|
||||||
namespace
|
|
||||||
{
|
|
||||||
std::vector<u8> BuildFINFrame(StackRef* ref)
|
std::vector<u8> BuildFINFrame(StackRef* ref)
|
||||||
{
|
{
|
||||||
const Common::TCPPacket result(ref->bba_mac, ref->my_mac, ref->from, ref->to, ref->seq_num,
|
const Common::TCPPacket result(ref->bba_mac, ref->my_mac, ref->from, ref->to, ref->seq_num,
|
||||||
@ -70,6 +65,8 @@ void SetIPIdentification(u8* ptr, std::size_t size, u16 value)
|
|||||||
}
|
}
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
namespace ExpansionInterface
|
||||||
|
{
|
||||||
bool CEXIETHERNET::BuiltInBBAInterface::Activate()
|
bool CEXIETHERNET::BuiltInBBAInterface::Activate()
|
||||||
{
|
{
|
||||||
if (IsActivated())
|
if (IsActivated())
|
||||||
|
Reference in New Issue
Block a user