if (fseek(f_idx, sizeof(EMUFS_IDX)*ID, SEEK_SET) == 0) {
fread(®, sizeof(EMUFS_IDX), 1, f_idx);
if (reg.location != EMUFS_NOT_FOUND) {
if (fseek(f_idx, sizeof(EMUFS_IDX)*ID, SEEK_SET) == 0) {
fread(®, sizeof(EMUFS_IDX), 1, f_idx);
if (reg.location != EMUFS_NOT_FOUND) {