Compilation fix

This commit is contained in:
Nekotekina 2015-01-21 01:46:59 +03:00
parent 2d7bf06dea
commit f3ee2ac9ef
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "Utilities/Log.h"
#include "Emu/System.h"
#include "Emu/Memory/Memory.h"
@ -44,7 +44,7 @@ namespace sce_libc_func
case '%':
{
const auto start = fmt - 1;
const bool <EFBFBD> = *fmt == '#' ? fmt++, true : false;
const bool number_sign = *fmt == '#' ? fmt++, true : false;
switch (*fmt++)
{
@ -67,7 +67,7 @@ namespace sce_libc_func
// hexadecimal
const u64 value = context.get_next_gpr_arg(g_count, f_count, v_count);
if (<EFBFBD> && value)
if (number_sign && value)
{
result += "0x";
}