mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
++
This commit is contained in:
parent
bef2ee8f72
commit
4f706ed69c
1 changed files with 5 additions and 5 deletions
|
@ -198,7 +198,7 @@ namespace fmt
|
||||||
{
|
{
|
||||||
return to_hex(arg, get_fmt_precision(fmt, len));
|
return to_hex(arg, get_fmt_precision(fmt, len));
|
||||||
}
|
}
|
||||||
else if (fmt[len - 1] == 'd')
|
else if (fmt[len - 1] == 'd' || fmt[len - 1] == 'u')
|
||||||
{
|
{
|
||||||
return to_udec(arg);
|
return to_udec(arg);
|
||||||
}
|
}
|
||||||
|
@ -220,7 +220,7 @@ namespace fmt
|
||||||
{
|
{
|
||||||
return to_hex(arg, get_fmt_precision(fmt, len));
|
return to_hex(arg, get_fmt_precision(fmt, len));
|
||||||
}
|
}
|
||||||
else if (fmt[len - 1] == 'd')
|
else if (fmt[len - 1] == 'd' || fmt[len - 1] == 'u')
|
||||||
{
|
{
|
||||||
return to_udec(arg);
|
return to_udec(arg);
|
||||||
}
|
}
|
||||||
|
@ -242,7 +242,7 @@ namespace fmt
|
||||||
{
|
{
|
||||||
return to_hex(arg, get_fmt_precision(fmt, len));
|
return to_hex(arg, get_fmt_precision(fmt, len));
|
||||||
}
|
}
|
||||||
else if (fmt[len - 1] == 'd')
|
else if (fmt[len - 1] == 'd' || fmt[len - 1] == 'u')
|
||||||
{
|
{
|
||||||
return to_udec(arg);
|
return to_udec(arg);
|
||||||
}
|
}
|
||||||
|
@ -264,7 +264,7 @@ namespace fmt
|
||||||
{
|
{
|
||||||
return to_hex(arg, get_fmt_precision(fmt, len));
|
return to_hex(arg, get_fmt_precision(fmt, len));
|
||||||
}
|
}
|
||||||
else if (fmt[len - 1] == 'd')
|
else if (fmt[len - 1] == 'd' || fmt[len - 1] == 'u')
|
||||||
{
|
{
|
||||||
return to_udec(arg);
|
return to_udec(arg);
|
||||||
}
|
}
|
||||||
|
@ -418,7 +418,7 @@ namespace fmt
|
||||||
{
|
{
|
||||||
return to_hex(arg, get_fmt_precision(fmt, len));
|
return to_hex(arg, get_fmt_precision(fmt, len));
|
||||||
}
|
}
|
||||||
else if (fmt[len - 1] == 'd')
|
else if (fmt[len - 1] == 'd' || fmt[len - 1] == 'u')
|
||||||
{
|
{
|
||||||
return arg ? "1" : "0";
|
return arg ? "1" : "0";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue