//-------------------------------------------------------------- // Purpose: Loads the last file loaded // Returns: nothing //-------------------------------------------------------------- private void ResetToLastExe() { ResetRegisters(); LoadFile(filename); ResetDisasmTesting(); updateGUI(); runToolBtn.Enabled = true; stepToolBtn.Enabled = true; stopToolBtn.Enabled = false; comp.ResetEnd(); Computer.ResetInput(); try { tracefile = new StreamWriter(Directory.GetCurrentDirectory() + "\\trace.log", false); } catch { tracefile.Dispose(); } }