mirror of
https://github.com/RPCSX/xed.git
synced 2024-11-23 11:39:40 +00:00
fix compilation for windows. variable defn after executable code
Change-Id: Id1dd721744b2370e2e2872c3a7f8b5498634a15b
This commit is contained in:
parent
ac509e1c15
commit
9da8d893e8
@ -39,9 +39,11 @@ void xed3_static_decode(xed_decoded_inst_t* d)
|
||||
if (find_f_arr) // very predictable branch, mostly taken
|
||||
{
|
||||
xed_uint8_t opcode;
|
||||
xed3_find_func_t find_f;
|
||||
|
||||
opcode = (xed_uint8_t)xed3_operand_get_nominal_opcode(d);
|
||||
// we have 0 for undefined map-opcodes as function pointer
|
||||
xed3_find_func_t find_f = find_f_arr[opcode];
|
||||
find_f = find_f_arr[opcode];
|
||||
if (find_f)
|
||||
xed3_idx = (*find_f)(d);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user