Difference between revisions of "AMPXI:MigrateAGBtoSAV"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x006500C0] |- | 1 | u8 |- | 2-3 | u64, unused? |} =Response= {| class="wikitable...")
 
(Add forwarded types from AM:PerpetuateAgbSaveData)
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| u8
+
| Media type
 
|-
 
|-
 
| 2-3
 
| 2-3
| u64, unused?
+
| u64, title ID
 
|}
 
|}
  
Line 22: Line 22:
 
|-
 
|-
 
| 0
 
| 0
| Header code
+
| Header code [0x00650040]
 
|-
 
|-
 
| 1
 
| 1
Line 30: Line 30:
 
=Description=
 
=Description=
 
This reads the raw AGB partition and exports [[SD Savedata Backups|.SAV files]] to SD card. See [[3DS Virtual Console#NAND Savegame|3DS Virtual Console]] for more info.
 
This reads the raw AGB partition and exports [[SD Savedata Backups|.SAV files]] to SD card. See [[3DS Virtual Console#NAND Savegame|3DS Virtual Console]] for more info.
 +
 +
Process9 immediately returns 0 (and skips the rest of the function) if [[CONFIG Registers#CFG_BOOTENV|CFG_BOOTENV]] is not AGB.

Latest revision as of 06:30, 6 March 2020

Request[edit]

Index Word Description
0 Header code [0x006500C0]
1 Media type
2-3 u64, title ID

Response[edit]

Index Word Description
0 Header code [0x00650040]
1 Result code

Description[edit]

This reads the raw AGB partition and exports .SAV files to SD card. See 3DS Virtual Console for more info.

Process9 immediately returns 0 (and skips the rest of the function) if CFG_BOOTENV is not AGB.