Skip to content

Commit 30f678e

Browse files
committed
NEWS: Add stub for WriteNewsDBSavedata
This is required by the HOME Menu with system version 10.3.0.
1 parent c05a3bd commit 30f678e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/processes/news.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ static auto NEWSSCommandHandler(FakeNEWS& context, FakeThread& thread, Platform:
3232
thread.WriteTLS(0x88, 0);
3333
break;
3434

35+
case 0x13: // WriteNewsDBSavedata
36+
thread.WriteTLS(0x80, IPC::CommandHeader::Make(0, 1, 0).raw);
37+
thread.WriteTLS(0x84, RESULT_OK);
38+
break;
39+
3540
case 0x14: // Unknown, returns at least one uint32_t value in addition to the result
3641
thread.WriteTLS(0x80, IPC::CommandHeader::Make(0, 2, 0).raw);
3742
thread.WriteTLS(0x84, RESULT_OK);

0 commit comments

Comments
 (0)