Removed unused variable
This commit is contained in:
parent
6b9717276d
commit
c29c480e92
|
@ -27,17 +27,16 @@ WITH REGARD TO THIS SOFTWARE.
|
||||||
int
|
int
|
||||||
uxn_eval(Uxn *u, Uint16 pc)
|
uxn_eval(Uxn *u, Uint16 pc)
|
||||||
{
|
{
|
||||||
Uint8 t, ksp, *sp, *tp, *ram = u->ram;
|
Uint8 t, kp, *sp, *ram = u->ram;
|
||||||
Uint16 tt, a, b, c;
|
Uint16 tt, a, b, c;
|
||||||
if(!pc || u->dev[0x0f]) return 0;
|
if(!pc || u->dev[0x0f]) return 0;
|
||||||
for(;;) {
|
for(;;) {
|
||||||
Uint8 ins = ram[pc++], opc = ins & 0x1f;
|
Uint8 ins = ram[pc++], opc = ins & 0x1f;
|
||||||
Uint8 m2 = ins & 0x20;
|
Uint8 m2 = ins & 0x20;
|
||||||
Stack *s = ins & 0x40 ? &u->rst : &u->wst;
|
Stack *s = ins & 0x40 ? &u->rst : &u->wst;
|
||||||
if(ins & 0x80) {
|
if(ins & 0x80)
|
||||||
ksp = s->ptr;
|
kp = s->ptr, sp = &kp;
|
||||||
sp = &ksp;
|
else
|
||||||
} else
|
|
||||||
sp = &s->ptr;
|
sp = &s->ptr;
|
||||||
/* Opcodes */
|
/* Opcodes */
|
||||||
switch(opc - (!opc * (ins >> 5))) {
|
switch(opc - (!opc * (ins >> 5))) {
|
||||||
|
|
Loading…
Reference in New Issue