Difference between revisions of "NEWSS:GetNewsDBHeader"

From 3dbrew
Jump to navigation Jump to search
(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...")
 
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x000A0082]
+
| Header code [0x000A0042]
 
|-
 
|-
 
| 2
 
| 2

Revision as of 18:05, 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.