Enable sending a end message so ns-usbloader can see when we're done

This commit is contained in:
Huntereb 2020-09-28 00:10:31 -04:00
parent 1446217d1e
commit 31bc7f38c2

View File

@ -115,8 +115,8 @@ namespace netInstStuff{
u8 ack = 0;
tin::network::WaitSendNetworkData(m_clientSocket, &ack, sizeof(u8));
// Send 'DEAD\r\n' so ns-usbloader knows we're done
//u8 nsUsbAck [6] = {0x44,0x45,0x41,0x44,0x0D,0x0A};
//tin::network::WaitSendNetworkData(m_clientSocket, &nsUsbAck, sizeof(u8) * 6);
u8 nsUsbAck [6] = {0x44,0x45,0x41,0x44,0x0D,0x0A};
tin::network::WaitSendNetworkData(m_clientSocket, &nsUsbAck, sizeof(u8) * 6);
}
void installTitleNet(std::vector<std::string> ourUrlList, int ourStorage, std::vector<std::string> urlListAltNames, std::string ourSource)