NEWSS:SetNewsDBHeader

Revision as of 18: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)

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.