- fixed bad code for OP_SRL_KR.

This commit is contained in:
Christoph Oelckers 2018-09-02 18:20:08 +02:00
parent 207988bb1b
commit 4571aa52f0
1 changed files with 1 additions and 1 deletions

View File

@ -1033,7 +1033,7 @@ static int Exec(VMFrameStack *stack, const VMOP *pc, VMReturn *ret, int numret)
NEXTOP;
OP(SRL_KR):
ASSERTD(a); ASSERTKD(B); ASSERTD(C);
reg.d[a] = (unsigned)konstd[B] >> C;
reg.d[a] = (unsigned)konstd[B] >> reg.d[C];
NEXTOP;
OP(SRA_RR):