yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Services/UDS: Fixed a style mistake in GetChannel.

This commit is contained in:
Sebastian Valle 2017-03-27 13:08:26 -05:00 committed by GitHub
parent f8f3b27eb3
commit 5c4bd3ef33
1 changed files with 1 additions and 2 deletions

View File

@ -320,8 +320,7 @@ static void GetChannel(Interface* self) {
IPC::RequestParser rp(Kernel::GetCommandBuffer(), 0x1A, 0, 0); IPC::RequestParser rp(Kernel::GetCommandBuffer(), 0x1A, 0, 0);
IPC::RequestBuilder rb = rp.MakeBuilder(2, 0); IPC::RequestBuilder rb = rp.MakeBuilder(2, 0);
bool is_connected = connection_status.status != bool is_connected = connection_status.status != static_cast<u32>(NetworkStatus::NotConnected);
static_cast<u32>(NetworkStatus::NotConnected);
u8 channel = is_connected ? network_channel : 0; u8 channel = is_connected ? network_channel : 0;