mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
Compilation fix
This commit is contained in:
parent
2d7bf06dea
commit
f3ee2ac9ef
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "Utilities/Log.h"
|
#include "Utilities/Log.h"
|
||||||
#include "Emu/System.h"
|
#include "Emu/System.h"
|
||||||
#include "Emu/Memory/Memory.h"
|
#include "Emu/Memory/Memory.h"
|
||||||
|
@ -44,7 +44,7 @@ namespace sce_libc_func
|
||||||
case '%':
|
case '%':
|
||||||
{
|
{
|
||||||
const auto start = fmt - 1;
|
const auto start = fmt - 1;
|
||||||
const bool <EFBFBD>” = *fmt == '#' ? fmt++, true : false;
|
const bool number_sign = *fmt == '#' ? fmt++, true : false;
|
||||||
|
|
||||||
switch (*fmt++)
|
switch (*fmt++)
|
||||||
{
|
{
|
||||||
|
@ -67,7 +67,7 @@ namespace sce_libc_func
|
||||||
// hexadecimal
|
// hexadecimal
|
||||||
const u64 value = context.get_next_gpr_arg(g_count, f_count, v_count);
|
const u64 value = context.get_next_gpr_arg(g_count, f_count, v_count);
|
||||||
|
|
||||||
if (<EFBFBD>” && value)
|
if (number_sign && value)
|
||||||
{
|
{
|
||||||
result += "0x";
|
result += "0x";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue