mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Base] Fix to_hex_string out-of-indexing for vec128_t type
Trying to print five `{:08X}` when vec128_t only has four values. 🥴
This commit is contained in:
parent
5317907523
commit
f645c3ba31
|
|
@ -134,7 +134,7 @@ inline std::string to_hex_string(double value) {
|
|||
}
|
||||
|
||||
inline std::string to_hex_string(const vec128_t& value) {
|
||||
return fmt::format("[{:08X} {:08X} {:08X} {:08X} {:08X}]", value.u32[0],
|
||||
return fmt::format("[{:08X} {:08X} {:08X} {:08X}]", value.u32[0],
|
||||
value.u32[1], value.u32[2], value.u32[3]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue