Replace magic disconnect channel number with a constant

This commit is contained in:
Pokechu22
2019-11-10 12:55:29 -08:00
parent 5477409847
commit a23609562d
4 changed files with 6 additions and 3 deletions

View File

@ -63,6 +63,8 @@ enum class InitializeMode
// The Real Wii Remote sends report every ~5ms (200 Hz).
constexpr int UPDATE_FREQ = 200;
// Custom channel ID used in ControlChannel to indicate disconnects
constexpr int DOLPHIN_DISCONNET_CONTROL_CHANNEL = 99;
void Shutdown();
void Initialize(InitializeMode init_mode);