Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
CdSectorHeader Struct Reference

What cdCheckSector reads first of each sector, the 3 words that CdlModeSize1 puts before its data: the sector's header, whose position it compares with the one it expects, and the XA subheader, which nothing reads. More...

#include <engine/file.h>

Data Fields

CdlLOC pos
 
u_char subheader [8]
 
u_char pad [4]
 never read: the 4 bytes past the header, see above
 

Detailed Description

What cdCheckSector reads first of each sector, the 3 words that CdlModeSize1 puts before its data: the sector's header, whose position it compares with the one it expects, and the XA subheader, which nothing reads.

The buffer takes 16 bytes in the .bss (the sound buffers follow 0x10 after it), so 4 more than it reads.

Definition at line 74 of file file.h.

Field Documentation

◆ pos

CdlLOC CdSectorHeader::pos

Definition at line 75 of file file.h.

Referenced by cdCheckSector().

◆ subheader

u_char CdSectorHeader::subheader[8]

Definition at line 76 of file file.h.

◆ pad

u_char CdSectorHeader::pad[4]

never read: the 4 bytes past the header, see above

Definition at line 77 of file file.h.


The documentation for this struct was generated from the following file: