1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-04-06 18:15:20 +05:30

reverse-ramdisk.c: reformat

This commit is contained in:
パチュリー・ノーレッジ 2024-07-30 17:50:04 +03:00
parent 57c368e6c9
commit b1cce2603a
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -301,7 +301,7 @@ int tf_read(int ID, size_t offset, void* dest, size_t data_size) {
#else
NULL
#endif
)
) {
return -1;
// Read the data from the file
@ -356,7 +356,7 @@ int tf_read(int ID, size_t offset, void* dest, size_t data_size) {
for (size_t i = 0; i < data_size; i++) {
if (i > 0)
putc(' ', stdout);
printf("0x%02" PRIX8, *((uint8_t*)((uint8_t*)dest + i)));
printf("0x%02" PRIX8, *((uint8_t*) ((uint8_t*) dest + i)));
}
printf("'\n");
fflush(stdout);