mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
- fixed: The ADDA_RK opcode used the wrong constant type for the offset it adds to the pointer.
This commit is contained in:
parent
98124c8049
commit
daca12600d
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ xx(EQV3_K, beqv3, CVRK, NOP, 0, 0), // this will never be used.
|
|||
|
||||
// Pointer math.
|
||||
xx(ADDA_RR, add, RPRPRI, NOP, 0, 0), // pA = pB + dkC
|
||||
xx(ADDA_RK, add, RPRPKI, ADDA_RR,4, REGT_POINTER),
|
||||
xx(ADDA_RK, add, RPRPKI, ADDA_RR,4, REGT_INT),
|
||||
xx(SUBA, sub, RIRPRP, NOP, 0, 0), // dA = pB - pC
|
||||
xx(EQA_R, beq, CPRR, NOP, 0, 0), // if ((pB == pkC) != A) then pc++
|
||||
xx(EQA_K, beq, CPRK, EQA_R, 4, REGT_POINTER),
|
||||
|
|
Loading…
Reference in a new issue