Minor cleanup and texture update

This commit is contained in:
Piotr Krygier committed 2025-06-20 13:44:33 +02:00
1 parent 2d230d7280
commit 3bd14b20c2
9 files changed
+8 -16

No files matched your search

+5 -2
View File
@@ -17,7 +17,10 @@ void rse_read_file(const char* file_name, long* bytes_count, char* buffer)
return;
}
fread(buffer, *bytes_count, 1, file);
if (fread(buffer, *bytes_count, 1, file)) {
perror("Empty file read");
}
fclose(file);
}
@@ -29,4 +32,4 @@ void rse_write_to_file(const char* file_name, long bytes_count, char* buffer)
fwrite(buffer, bytes_count, 1, file);
fclose(file);
}
}