mirror of
https://github.com/xcat2/xNBA.git
synced 2025-01-18 21:43:14 +00:00
Tidy up hex_dump() output.
This commit is contained in:
parent
b24947f0c0
commit
35b0233baa
@ -25,10 +25,10 @@ void hex_dump ( const unsigned char *data, const unsigned int len ) {
|
||||
more();
|
||||
}
|
||||
if ( ( index % 16 ) == 0 ) {
|
||||
printf ( "%p [%lX] : %X :", data + index,
|
||||
printf ( "%p [%lx] : %04x :", data + index,
|
||||
virt_to_phys ( data + index ), index );
|
||||
}
|
||||
printf ( " %02X", data[index] );
|
||||
printf ( " %02x", data[index] );
|
||||
}
|
||||
printf ( "\n" );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user