NEWSS:SetNewsDBHeader

From 3dbrew
Revision as of 19:10, 12 December 2014 by Yellows8 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00060042] |- | 2 | Size |- | 3 | (Size<<4) <nowiki>|</nowiki> 12 |- | 4 | Buffe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

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

Response

Index Word Description
0 Header code
1 Resultcode

Description

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.