Tiny optimization
This commit is contained in:
parent
ab889172cf
commit
98da3cbe31
2
build.sh
2
build.sh
|
@ -28,7 +28,7 @@ else
|
|||
fi
|
||||
|
||||
echo "Assembling.."
|
||||
./bin/assembler projects/examples/dev.time.usm bin/boot.rom
|
||||
./bin/assembler projects/software/left.usm bin/boot.rom
|
||||
|
||||
echo "Running.."
|
||||
if [ "${2}" = '--cli' ];
|
||||
|
|
|
@ -145,7 +145,7 @@ opcuxn(Uxn *u, Uint8 instr)
|
|||
int
|
||||
stepuxn(Uxn *u, Uint8 instr)
|
||||
{
|
||||
if(getflag(&u->status, FLAG_LIT2) || getflag(&u->status, FLAG_LIT1))
|
||||
if(u->status & 0x0c)
|
||||
lituxn(u, instr);
|
||||
else
|
||||
opcuxn(u, instr);
|
||||
|
|
Loading…
Reference in New Issue