~ubuntu-branches/ubuntu/raring/vice/raring

« back to all changes in this revision

Viewing changes to src/core/ciatimer.h

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2009-03-31 00:37:15 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20090331003715-mzclchtl0dp7fcl0
Tags: upstream-2.1.dfsg
ImportĀ upstreamĀ versionĀ 2.1.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
385
385
/* single-step a timer. update _must_ have been called before */
386
386
_CIAT_FUNC int ciat_single_step(ciat_t *state, CLOCK cclk)
387
387
{
388
 
    state->state |= CIAT_STEP;
389
 
 
390
 
    ciat_set_alarm(state, cclk);
 
388
    if (state->state & CIAT_CR_START) {
 
389
        state->state |= CIAT_STEP;
 
390
        ciat_set_alarm(state, cclk);
 
391
    }
391
392
 
392
393
    return 0;
393
394
}