bool _FAT_cache_readLittleEndianValue(CACHE *cache, uint32_t *value, sec_t sector, unsigned int offset, int num_bytes)
Definition: cache.c:206
static bool _FAT_cache_writeSector(CACHE *cache, const void *buffer, sec_t sector)
Definition: cache.h:107
unsigned int bytesPerSector
Definition: cache.h:55
bool _FAT_cache_writePartialSector(CACHE *cache, const void *buffer, sec_t sector, unsigned int offset, size_t size)
Definition: cache.c:224
void _FAT_cache_destructor(CACHE *cache)
Definition: cache.c:93
void _FAT_cache_invalidate(CACHE *cache)
Definition: cache.c:325
bool _FAT_cache_writeSectors(CACHE *cache, sec_t sector, sec_t numSectors, const void *buffer)
Definition: cache.c:278
unsigned int last_access
Definition: cache.h:45
GLsizeiptr size
Definition: glext.h:6559
bool _FAT_cache_flush(CACHE *cache)
Definition: cache.c:308
sec_t endOfPartition
Definition: cache.h:52
CACHE * _FAT_cache_constructor(unsigned int numberOfPages, unsigned int sectorsPerPage, const DISC_INTERFACE *discInterface, sec_t endOfPartition, unsigned int bytesPerSector)
Definition: cache.c:49
bool _FAT_cache_readPartialSector(CACHE *cache, void *buffer, sec_t sector, unsigned int offset, size_t size)
Definition: cache.c:190
uint8_t * cache
Definition: cache.h:47
unsigned int sectorsPerPage
Definition: cache.h:54
uint32_t sec_t
Definition: iosuhax_disc_interface.h:40
bool _FAT_cache_writeLittleEndianValue(CACHE *cache, const uint32_t value, sec_t sector, unsigned int offset, int num_bytes)
Definition: cache.c:241
unsigned int count
Definition: cache.h:44
sec_t sector
Definition: cache.h:43
bool _FAT_cache_eraseWritePartialSector(CACHE *cache, const void *buffer, sec_t sector, unsigned int offset, size_t size)
Definition: cache.c:259
unsigned int numberOfPages
Definition: cache.h:53
bool dirty
Definition: cache.h:46
Definition: iosuhax_disc_interface.h:52
CACHE_ENTRY * cacheEntries
Definition: cache.h:56
GLsizei const GLfloat * value
Definition: glext.h:6709
const DISC_INTERFACE * disc
Definition: cache.h:51
static bool _FAT_cache_readSector(CACHE *cache, void *buffer, sec_t sector)
Definition: cache.h:100
Definition: video4linux2.c:51
GLintptr offset
Definition: glext.h:6560
bool _FAT_cache_readSectors(CACHE *cache, sec_t sector, sec_t numSectors, void *buffer)
Definition: cache.c:161
unsigned char uint8_t
Definition: stdint.h:124
unsigned int uint32_t
Definition: stdint.h:126