Difference between revisions of "FSPXI:CalcSavegameMAC"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000C0104] |- | 1 | File handle lower word |- | 2 | File handle upper word |- | 3...")
 
Line 15: Line 15:
 
|-
 
|-
 
| 3
 
| 3
| MAC buf size?(always 0x100?)
+
| Output MAC buffer size
 
|-
 
|-
 
| 4
 
| 4
| DISA/DIFF input buf size?(always 0x100?)
+
| Input buffer size
 
|-
 
|-
 
| 5
 
| 5
Line 24: Line 24:
 
|-
 
|-
 
| 6
 
| 6
| 0x100-byte DISA/DIFF input buf pointer
+
| 0x100-byte DISA/DIFF input buffer pointer
 
|-
 
|-
 
| 7
 
| 7
Line 30: Line 30:
 
|-
 
|-
 
| 8
 
| 8
| MAC out buf pointer
+
| MAC output buffer pointer
 
|}
 
|}
  

Revision as of 18:06, 16 August 2012

Request

Index Word Description
0 Header code [0x000C0104]
1 File handle lower word
2 File handle upper word
3 Output MAC buffer size
4 Input buffer size
5 (inputbuf_size<<8) | 4
6 0x100-byte DISA/DIFF input buffer pointer
7 (macbuf_size<<8) | 20
8 MAC output buffer pointer

Response

Index Word Description
0 Header code
1 Result code