1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

rsx: fix register_vertex_printer value func

This commit is contained in:
Megamouse 2023-07-31 21:32:37 +02:00
parent 6cd5a7eab9
commit ef12da774e

View File

@ -4526,7 +4526,7 @@ struct register_vertex_printer<u8, 4>
return "uchar4"; return "uchar4";
} }
static std::string value(std::string& out, u32 v) static std::string value(u32 v)
{ {
return fmt::format("%u %u %u %u", (v & 0xff), ((v >> 8) & 0xff), ((v >> 16) & 0xff), ((v >> 24) & 0xff)); return fmt::format("%u %u %u %u", (v & 0xff), ((v >> 8) & 0xff), ((v >> 16) & 0xff), ((v >> 24) & 0xff));
} }