[bug]fixup nosim=t initialisation (if a simulation is started manually)

This commit is contained in:
BigEd 2010-11-05 21:39:01 +00:00
parent 353e0a8f78
commit e885646e5e
2 changed files with 3 additions and 0 deletions

View File

@ -103,6 +103,7 @@ function setup_part4(){
logThese=signalSet(loglevel);
loadProgram();
if(noSimulation){
stopChip();
running=undefined;
setStatus('Ready!');
} else {

View File

@ -366,6 +366,8 @@ function resetChip(){
}
function stepForward(){
if(typeof running == "undefined")
initChip();
stopChip();
step();
}