From 8660b41833d6935934af75c99ee8a7aa48886c2a Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Wed, 21 Jan 2015 17:43:45 +0300 Subject: [PATCH] Compilation fix --- rpcs3/Emu/ARMv7/PSVFuncList.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/ARMv7/PSVFuncList.h b/rpcs3/Emu/ARMv7/PSVFuncList.h index 195460de5f..0850a88ccf 100644 --- a/rpcs3/Emu/ARMv7/PSVFuncList.h +++ b/rpcs3/Emu/ARMv7/PSVFuncList.h @@ -497,7 +497,7 @@ namespace psv_func_detail const int stack_pos = (g_count - 5) * 4 - FIXED_STACK_FRAME_SIZE; static_assert(stack_pos < 0, "TODO: Increase fixed stack frame size (arg count limit broken)"); - context.write_stack_arg(stack_pos, cast_to_armv7_gpr(arg)); + context.put_stack_arg(stack_pos, cast_to_armv7_gpr(arg)); } }; @@ -613,8 +613,8 @@ namespace psv_func_detail static_assert(!std::is_pointer::value, "Invalid callback argument type (pointer)"); static_assert(!std::is_reference::value, "Invalid callback argument type (reference)"); // TODO: check calculations - const bool is_float = std::is_floating_point::value; - const bool is_vector = std::is_same::value; + const bool is_float = std::is_floating_point::value; + const bool is_vector = std::is_same::value; const bind_arg_type t = is_float ? ((f_count >= 4) ? ARG_STACK : ARG_FLOAT) : (is_vector ? ((v_count >= 4) ? ARG_STACK : ARG_VECTOR) : ((g_count >= 4) ? ARG_STACK : ARG_GENERAL));