NEWSS:GetNewsDBHeader

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

Request

Index Word Description
0 Header code [0x000A0082]
2 Size
3 (Size<<4) | 12
4 Output buffer ptr

Response

Index Word Description
0 Header code
1 Resultcode
2 Actual copied size.

Description

This copies the header from the start of the news.db save-file in news-module memory, to the output buffer.