diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-03-18 13:41:23 +0000 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-03-18 13:41:23 +0000 |
| commit | b2484afe96ecb2e68150432fd7f8fe05b26dabee (patch) | |
| tree | d42d7f63ecbbc06af89fa36a9985abe553a4f3c0 /src | |
| parent | e2e7479b8e7e55fbac90896d6875f6759b83bc1a (diff) | |
| download | box64-b2484afe96ecb2e68150432fd7f8fe05b26dabee.tar.gz box64-b2484afe96ecb2e68150432fd7f8fe05b26dabee.zip | |
[RV64_DYNAREC] Fixed an issue with UFLAG_OP12 helper macro
Diffstat (limited to 'src')
| -rw-r--r-- | src/dynarec/rv64/dynarec_rv64_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_helper.h b/src/dynarec/rv64/dynarec_rv64_helper.h index f05dc57e..5b282715 100644 --- a/src/dynarec/rv64/dynarec_rv64_helper.h +++ b/src/dynarec/rv64/dynarec_rv64_helper.h @@ -376,7 +376,7 @@ #endif #define UFLAG_OP1(A) if(dyn->insts[ninst].x64.gen_flags) {SDxw(A, xEmu, offsetof(x64emu_t, op1));} #define UFLAG_OP2(A) if(dyn->insts[ninst].x64.gen_flags) {SDxw(A, xEmu, offsetof(x64emu_t, op2));} -#define UFLAG_OP12(A1, A2) if(dyn->insts[ninst].x64.gen_flags) {SDxw(A1, xEmu, offsetof(x64emu_t, op1));SDxw(A2, 0, offsetof(x64emu_t, op2));} +#define UFLAG_OP12(A1, A2) if(dyn->insts[ninst].x64.gen_flags) {SDxw(A1, xEmu, offsetof(x64emu_t, op1));SDxw(A2, xEmu, offsetof(x64emu_t, op2));} #define UFLAG_RES(A) if(dyn->insts[ninst].x64.gen_flags) {SDxw(A, xEmu, offsetof(x64emu_t, res));} #define UFLAG_DF(r, A) if(dyn->insts[ninst].x64.gen_flags) {SET_DF(r, A)} #define UFLAG_IF if(dyn->insts[ninst].x64.gen_flags) |