mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Remove unused code
Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
@@ -339,24 +339,3 @@ file_Length(FILE * f)
|
|||||||
|
|
||||||
return (r);
|
return (r);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
lib_ReadXLB0(FILE * f)
|
|
||||||
{
|
|
||||||
SLONG size;
|
|
||||||
|
|
||||||
size = file_Length(f) - 4;
|
|
||||||
while (size) {
|
|
||||||
char *name;
|
|
||||||
|
|
||||||
size -= readasciiz(&name, f);
|
|
||||||
readword(f);
|
|
||||||
size -= 2;
|
|
||||||
readword(f);
|
|
||||||
size -= 2;
|
|
||||||
size -= readlong(f);
|
|
||||||
size -= 4;
|
|
||||||
obj_ReadOpenFile(f, name);
|
|
||||||
free(name);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user