3DS Virtual Console: Difference between revisions

No edit summary
Fix confusion about CAA descriptor type
 
(One intermediate revision by one other user not shown)
Line 215: Line 215:
| 0x0
| 0x0
| 0x4
| 0x4
| If 1, then this config descriptor is used. If 0, and the following value is not 0, then the GBA VC load fails outright (causes result 0xC900464F). Otherwise, this config descriptor is skipped.
| Entry type. 0 is the ROM itself (without the CAA stuff) and offset must be 0 (otherwise fails w/ result 0xC900464F). 1 is ROM metadata, see below
|-
|-
| 0x4
| 0x4
| 0x4
| 0x4
| Offset to config
| Offset to entry data
|-
|-
| 0x8
| 0x8
| 0x4
| 0x4
| Size of config (unused by the function that parses this, which hardcodes the config size (0x324) to memcpy)
| Size of entry data (unused by the function that parses this, which hardcodes the config size (0x324) to memcpy for type 1)
|-
|-
| 0xC
| 0xC
Line 230: Line 230:
|}
|}


====Config====
====AGB ROM metadata====


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 237: Line 237:
!  SIZE
!  SIZE
!  DESCRIPTION
!  DESCRIPTION
|-
|  0x000
|  0x4
|  Padding
|-
|-
|  0x004
|  0x004
Line 245: Line 249:
| 0x4
| 0x4
| Save type (see below for supported values and [[ARM7_Registers#ARM7_SAVE_MODE|here]] for details)
| Save type (see below for supported values and [[ARM7_Registers#ARM7_SAVE_MODE|here]] for details)
|-
|  0x00C
|  0x2
|  Padding (set to FF FF usually?)
|-
|-
| 0x00E
| 0x00E
Line 256: Line 264:
| 0x020
| 0x020
| 0x4
| 0x4
| LCD ghosting (01-FF, lower values equal more ghosting)
| "Accumulated" interframe alpha blending (01-FF, lower values equal more "ghosting"). Uses previous *output* instead of previous input
|-
|-
| 0x024
| 0x024