Compilation fix

This commit is contained in:
Nekotekina 2015-01-21 01:46:59 +03:00
parent 2d7bf06dea
commit f3ee2ac9ef

View file

@ -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";
} }