Avida

 

Changeset 3655

Show
Ignore:
Timestamp:
03/01/10 16:34:22 (6 months ago)
Author:
baerb
Message:

In text viewer set it so the correct name of the instruction set file will
appear in the Options screen when the default instrucion set is used (i.e. user
entered "-" or "" in the avida.cfg file for the INST_SET setting.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • development/source/cpu/cHardwareManager.cc

    r3198 r3655  
    7777    filename = default_filename; 
    7878    cDriverManager::Status().NotifyComment(cString("Using default instruction set: ") + filename); 
     79    // set INST_SET so that the proper name will show up in the text viewer 
     80    world->GetConfig().INST_SET.Set(filename); 
    7981  } 
    8082