Difference between revisions of "NEWSS:GetNewsDBHeader"
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...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|- | |- | ||
| 0 | | 0 | ||
− | | Header code [ | + | | Header code [0x000A0042] |
|- | |- | ||
− | | | + | | 1 |
| Size | | Size | ||
|- | |- | ||
− | | | + | | 2 |
| (Size<<4) <nowiki>|</nowiki> 12 | | (Size<<4) <nowiki>|</nowiki> 12 | ||
|- | |- | ||
− | | | + | | 3 |
| Output buffer ptr | | Output buffer ptr | ||
|} | |} | ||
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. |
Latest revision as of 20:17, 12 December 2014
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x000A0042] |
1 | Size |
2 | (Size<<4) | 12 |
3 | Output buffer ptr |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Resultcode |
2 | Actual copied size. |
Description[edit]
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.