src/emulation/emulation.cc
/*
 * Runs the main emulation loop.
 * Returns when a termination signal is received.
 *
 * Assumes signals have been initialized.
 */
Runs the main emulation loop.
Returns when a termination signal is received.

Assumes signals have been initialized.
Runs the main emulation loop . Returns when a termination signal is received . Assumes signals have been initialized .
void Emulation::Run(void) {
  while (ndb_running) {
    SyncFrameRate();
    UpdateFrameCounter();
    window_->ProcessEvents();
    RunEmulationCycle();
  }
  return;
}
void Emulation :: Run ( void ) { while ( ndb_running ) { SyncFrameRate ( ) ; UpdateFrameCounter ( ) ; window_ -> ProcessEvents ( ) ; RunEmulationCycle ( ) ; } return ; }
Runs the main emulation loop.
Runs the main emulation loop .
// Syncs the emulation to 60 FPS, when possible. // Updates the frame rate display. // Processes any events on the SDL queue. // Executes the next frame of emulation.