NEWSS:SetNewsDBHeader

From 3dbrew
Revision as of 21:17, 12 December 2014 by Yellows8 (talk | contribs) (→‎Request)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x00060042]
1 Size
2 (Size<<4) | 12
3 Buffer ptr

Response[edit]

Index Word Description
0 Header code
1 Resultcode

Description[edit]

This copies the input buffer to the header at the start of the news.db save-file in news-module memory, then writes the updated news.db to savedata. The max size is 0x10-bytes.