diff options
| author | 2017-03-27 13:08:26 -0500 | |
|---|---|---|
| committer | 2017-03-27 13:08:26 -0500 | |
| commit | 5c4bd3ef33a3e660119686a9b7160c08454666a0 (patch) | |
| tree | a7d0ef6a3b9724cb91670d2e75a2c7347dafac6b | |
| parent | Services/UDS: Use consistent spelling for WiFi and simplify the GetChannel fu... (diff) | |
| download | yuzu-5c4bd3ef33a3e660119686a9b7160c08454666a0.tar.gz yuzu-5c4bd3ef33a3e660119686a9b7160c08454666a0.tar.xz yuzu-5c4bd3ef33a3e660119686a9b7160c08454666a0.zip | |
Services/UDS: Fixed a style mistake in GetChannel.
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/nwm/nwm_uds.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/nwm/nwm_uds.cpp b/src/core/hle/service/nwm/nwm_uds.cpp index f56925fee..ef6c5ebe3 100644 --- a/src/core/hle/service/nwm/nwm_uds.cpp +++ b/src/core/hle/service/nwm/nwm_uds.cpp | |||
| @@ -320,8 +320,7 @@ static void GetChannel(Interface* self) { | |||
| 320 | IPC::RequestParser rp(Kernel::GetCommandBuffer(), 0x1A, 0, 0); | 320 | IPC::RequestParser rp(Kernel::GetCommandBuffer(), 0x1A, 0, 0); |
| 321 | IPC::RequestBuilder rb = rp.MakeBuilder(2, 0); | 321 | IPC::RequestBuilder rb = rp.MakeBuilder(2, 0); |
| 322 | 322 | ||
| 323 | bool is_connected = connection_status.status != | 323 | bool is_connected = connection_status.status != static_cast<u32>(NetworkStatus::NotConnected); |
| 324 | static_cast<u32>(NetworkStatus::NotConnected); | ||
| 325 | 324 | ||
| 326 | u8 channel = is_connected ? network_channel : 0; | 325 | u8 channel = is_connected ? network_channel : 0; |
| 327 | 326 | ||