mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Fix bug with vector arg alignment in BIND_FUNC and callbacks.
This commit is contained in:
parent
b655e4aa47
commit
d254a5736b
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ namespace ppu_cb_detail
|
|||
is_context ? ARG_CONTEXT :
|
||||
ARG_UNKNOWN;
|
||||
|
||||
const u32 g = g_count + (is_general || is_float ? 1 : is_vector ? ::align(g_count, 2) + 2 : 0);
|
||||
const u32 g = g_count + (is_general || is_float ? 1 : is_vector ? (g_count & 1) + 2 : 0);
|
||||
const u32 f = f_count + is_float;
|
||||
const u32 v = v_count + is_vector;
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ namespace ppu_func_detail
|
|||
is_variadic ? ARG_VARIADIC :
|
||||
ARG_UNKNOWN;
|
||||
|
||||
const u32 g = g_count + (is_general || is_float ? 1 : is_vector ? ::align(g_count, 2) + 2 : 0);
|
||||
const u32 g = g_count + (is_general || is_float ? 1 : is_vector ? (g_count & 1) + 2 : 0);
|
||||
const u32 f = f_count + is_float;
|
||||
const u32 v = v_count + is_vector;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue