Function FS Reset Sector

From Uzebox Wiki
Jump to: navigation, search
Prototype

void FS_Reset_Sector(sdc_struct_t* sds);

Description

Resets sector pointer to the beginning of the file.

Parameters
  • sds: SD data structure.
Returns

Void

Video Modes

All

Since

V.5.x.x bootloaders

Notes

When selecting a file with FS_Select_Root() or FS_Select_Cluster(), the base address of the file is remembered within the SD data structure. This function can be used to revert to that address to restart reading the file.