NIMU:GetAutoDbgDat: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Steveice10 (talk | contribs)
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00190002] |- | 1 | Mapped Output Buffer Header (Size << 4 <nowiki>|</nowiki>..."
 
Steveice10 (talk | contribs)
mNo edit summary
 
Line 6: Line 6:
|-
|-
| 0
| 0
| Header code [0x00190002]
| Header code [0x001A0002]
|-
|-
| 1
| 1
Line 22: Line 22:
|-
|-
| 0
| 0
| Header code [0x00190042]
| Header code [0x001A0042]
|-
|-
| 1
| 1

Latest revision as of 05:57, 3 March 2023

Request

Index Word Description
0 Header code [0x001A0002]
1 Mapped Output Buffer Header (Size << 4 | 0xC)
2 AutoDbgDat Output Pointer

Response

Index Word Description
0 Header code [0x001A0042]
1 Result code
1 Mapped Output Buffer Header (Size << 4 | 0xC)
2 AutoDbgDat Output Pointer

Description

Retrieves the contents of autodbg.dat from the NIM save data. Rather than reading the file at call time, NIM will simply copy its in-memory copy of the data to the output. The provided buffer should be of size 0x108.