bring back monitor
This commit is contained in:
parent
4dc6b4cf42
commit
576063d929
1 changed files with 7 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include "config.h"
|
||||
#include "cpu.h"
|
||||
#include "monitor.h"
|
||||
|
||||
#define SPEED_HZ_UI 64
|
||||
|
||||
|
@ -183,7 +184,12 @@ int main( int argc, char** argv )
|
|||
it.it_value.tv_usec = 1000000 / SPEED_HZ_UI;
|
||||
setitimer( ITIMER_REAL, &it, ( struct itimerval* )0 );
|
||||
|
||||
Emulator();
|
||||
if ( config->monitor )
|
||||
/* Invoke Monitor */
|
||||
Monitor();
|
||||
else
|
||||
/* Call Emulator directly */
|
||||
Emulator();
|
||||
|
||||
/* never reached */
|
||||
return EXIT_SUCCESS;
|
||||
|
|
Loading…
Add table
Reference in a new issue