MCPcopy Create free account
hub / github.com/devkitPro/libctru / _romfs_read_chk

Function _romfs_read_chk

libctru/source/romfs_dev.c:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54static bool _romfs_read_chk(romfs_mount *mount, u64 offset, void* buffer, u32 size)
55{
56 ssize_t res = _romfs_read(mount, offset, buffer, size);
57 return res >= 0 && (u32)res == size;
58}
59
60//-----------------------------------------------------------------------------
61

Callers 1

romfsMountFromFileFunction · 0.85

Calls 1

_romfs_readFunction · 0.85

Tested by

no test coverage detected