diff --git a/stratosphere/tma/source/settings/settings_task.cpp b/stratosphere/tma/source/settings/settings_task.cpp index 650cc6c15..52540e623 100644 --- a/stratosphere/tma/source/settings/settings_task.cpp +++ b/stratosphere/tma/source/settings/settings_task.cpp @@ -39,8 +39,10 @@ void GetSettingTask::OnReceivePacket(TmaPacket *packet) { void GetSettingTask::OnSendPacket(TmaPacket *packet) { packet->Write((u8)this->succeeded); - packet->Write((u32)this->value_size); - packet->Write(this->value, this->value_size); + if (this->succeeded) { + packet->Write((u32)this->value_size); + packet->Write(this->value, this->value_size); + } this->Complete(); } \ No newline at end of file