/[svn]/linuxsampler/trunk/src/scriptvm/ScriptVM.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/ScriptVM.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3260 by schoenebeck, Wed May 31 21:07:44 2017 UTC revision 3277 by schoenebeck, Mon Jun 5 18:40:18 2017 UTC
# Line 366  namespace LinuxSampler { Line 366  namespace LinuxSampler {
366    
367          ctx->status = VM_EXEC_RUNNING;          ctx->status = VM_EXEC_RUNNING;
368          ctx->instructionsCount = 0;          ctx->instructionsCount = 0;
369          StmtFlags_t flags = STMT_SUCCESS;          StmtFlags_t& flags = ctx->flags;
370          int instructionsCounter = 0;          int instructionsCounter = 0;
371          int synced = m_autoSuspend ? 0 : 1;          int synced = m_autoSuspend ? 0 : 1;
372    
# Line 484  namespace LinuxSampler { Line 484  namespace LinuxSampler {
484              ++instructionsCounter;              ++instructionsCounter;
485          }          }
486    
487          if (flags & STMT_SUSPEND_SIGNALLED) {          if ((flags & STMT_SUSPEND_SIGNALLED) && !(flags & STMT_ABORT_SIGNALLED)) {
488              ctx->status = VM_EXEC_SUSPENDED;              ctx->status = VM_EXEC_SUSPENDED;
489                ctx->flags  = STMT_SUCCESS;
490          } else {          } else {
491              ctx->status = VM_EXEC_NOT_RUNNING;              ctx->status = VM_EXEC_NOT_RUNNING;
492              if (flags & STMT_ERROR_OCCURRED)              if (flags & STMT_ERROR_OCCURRED)

Legend:
Removed from v.3260  
changed lines
  Added in v.3277

  ViewVC Help
Powered by ViewVC