diff options
author | Subv <subv2112@gmail.com> | 2017-03-18 19:15:07 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-03-26 15:17:53 +0200 |
commit | 97f1e62b668fae7d34f23e8f10c86187a09756d0 (patch) | |
tree | 355bff56f49a8c97bd3c7680c2caf2561701a397 /src/core/hle/service/nwm/nwm_uds.h | |
parent | Services/UDS: Store the entire NetworkInfo structure that was used to create the network. (diff) | |
download | yuzu-97f1e62b668fae7d34f23e8f10c86187a09756d0.tar yuzu-97f1e62b668fae7d34f23e8f10c86187a09756d0.tar.gz yuzu-97f1e62b668fae7d34f23e8f10c86187a09756d0.tar.bz2 yuzu-97f1e62b668fae7d34f23e8f10c86187a09756d0.tar.lz yuzu-97f1e62b668fae7d34f23e8f10c86187a09756d0.tar.xz yuzu-97f1e62b668fae7d34f23e8f10c86187a09756d0.tar.zst yuzu-97f1e62b668fae7d34f23e8f10c86187a09756d0.zip |
Diffstat (limited to 'src/core/hle/service/nwm/nwm_uds.h')
-rw-r--r-- | src/core/hle/service/nwm/nwm_uds.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/service/nwm/nwm_uds.h b/src/core/hle/service/nwm/nwm_uds.h index 3dfc32de8..65349f9fd 100644 --- a/src/core/hle/service/nwm/nwm_uds.h +++ b/src/core/hle/service/nwm/nwm_uds.h @@ -18,6 +18,11 @@ namespace NWM { const size_t ApplicationDataSize = 0xC8; const u8 DefaultNetworkChannel = 11; +// Number of milliseconds in a TU. +const double MillisecondsPerTU = 1.024; +// Interval measured in TU, the default value is 100TU = 102.4ms +const u16 DefaultBeaconInterval = 100; + struct NodeInfo { u64_le friend_code_seed; std::array<u16_le, 10> username; |