mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 00:04:49 +02:00
Reindent (->tabs)
This commit is contained in:
+9
-9
@@ -34,7 +34,7 @@ unsigned int parseHex(const char *_szValue)
|
||||
case 'e': Value += 14; break;
|
||||
case 'F': Value += 15; break;
|
||||
case 'f': Value += 15; break;
|
||||
default:
|
||||
default:
|
||||
Value = (Value >> 4);
|
||||
Count = Finish;
|
||||
}
|
||||
@@ -43,11 +43,11 @@ unsigned int parseHex(const char *_szValue)
|
||||
}
|
||||
|
||||
void DataToHexString(const uint8 *data, size_t size, std::string *output) {
|
||||
Buffer buffer;
|
||||
for (size_t i = 0; i < size; i++) {
|
||||
buffer.Printf("%02x ", data[i]);
|
||||
if (i && !(i & 15))
|
||||
buffer.Printf("\n");
|
||||
}
|
||||
buffer.TakeAll(output);
|
||||
}
|
||||
Buffer buffer;
|
||||
for (size_t i = 0; i < size; i++) {
|
||||
buffer.Printf("%02x ", data[i]);
|
||||
if (i && !(i & 15))
|
||||
buffer.Printf("\n");
|
||||
}
|
||||
buffer.TakeAll(output);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user