NEWSS:GetNewsDBHeader: Difference between revisions

No edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
| Header code [0x000A0042]
| Header code [0x000A0042]
|-
|-
| 2
| 1
| Size
| Size
|-
|-
| 3
| 2
| (Size<<4)  <nowiki>|</nowiki> 12
| (Size<<4)  <nowiki>|</nowiki> 12
|-
|-
| 4
| 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.