SSBM Decomp
Loading...
Searching...
No Matches
CardReadArgs Struct Reference

CARD_CMD_READ_BLOCK, CARD_CMD_SCAN_BLOCK: phys 0 shares the last header sector. More...

#include <card.h>

Data Fields

s32 x0
s32 x4
s32 phys
s32 xC
void * data
s32 offset
s32 size

Detailed Description

CARD_CMD_READ_BLOCK, CARD_CMD_SCAN_BLOCK: phys 0 shares the last header sector.

For READ_BLOCK, a negative phys only loads sector_buf (no checksum, no copy) so that the WRITE_HEADER after it keeps block 0's data.

Field Documentation

◆ x0

s32 CardReadArgs::x0

◆ x4

s32 CardReadArgs::x4

◆ phys

s32 CardReadArgs::phys

◆ xC

s32 CardReadArgs::xC

◆ data

void* CardReadArgs::data

◆ offset

s32 CardReadArgs::offset

◆ size

s32 CardReadArgs::size

The documentation for this struct was generated from the following file:
  • src/sysdolphin/baselib/card.h