Difference between revisions of "NEWSS:GetNewsDBHeader"

From 3dbrew
Jump to navigation Jump to search
Line 35: Line 35:
  
 
=Description=
 
=Description=
This copies the header from the start of the news.db save-file in news-module memory, to the output buffer.
+
This copies the header from the start of the news.db save-file in news-module memory, to the output buffer. The max size is 0x10-bytes.

Revision as of 19:10, 12 December 2014

Request

Index Word Description
0 Header code [0x000A0042]
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. The max size is 0x10-bytes.