Exemplo n.º 1
0
 /// <summary>
 /// Signs that the device has been attached to the Spectrum virtual machine
 /// </summary>
 public override void OnAttachedToVm(ISpectrumVm hostVm)
 {
     base.OnAttachedToVm(hostVm);
     _floppyDevice = hostVm.FloppyDevice;
     _config       = hostVm.FloppyConfiguration;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Signs that the device has been attached to the Spectrum virtual machine
 /// </summary>
 public void OnAttachedToVm(ISpectrumVm hostVm)
 {
     HostVm  = hostVm;
     _config = hostVm.FloppyConfiguration;
 }