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:
parent
57c368e6c9
commit
b1cce2603a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user