Fixed missing break statement in a switch

This commit is contained in:
Joseph Kogut 2011-08-13 12:42:18 -07:00
parent bc5295471f
commit 9694e344cf

4
tvm.c
View file

@ -33,8 +33,8 @@ void run_vm(tvm_t* vm)
switch(vm->pProgram->instr[*instr_idx])
{
case 0x0: break;
case 0x1:
/* nop */ case 0x0: break;
/* interrupt */ case 0x1: break;
case 0x2: *arg0 = *arg1; break;
case 0x3: stack_push(vm->pMemory, arg0); break;
case 0x4: stack_pop(vm->pMemory, arg0); break;