1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-05 19:51:45 +00:00

tma: better GetSettingsTask output

This commit is contained in:
Michael Scire 2018-12-05 13:21:21 -08:00
parent 61ad4e0991
commit d1985fe77e

View file

@ -39,8 +39,10 @@ void GetSettingTask::OnReceivePacket(TmaPacket *packet) {
void GetSettingTask::OnSendPacket(TmaPacket *packet) {
packet->Write<u8>((u8)this->succeeded);
if (this->succeeded) {
packet->Write<u32>((u32)this->value_size);
packet->Write(this->value, this->value_size);
}
this->Complete();
}