private void save(string path) { byte[] arr = loaded_sram.ToArray(); File.WriteAllBytes(path, arr); filePath = path; dirty = false; this.Text = TITLE + " - " + Path.GetFileName(path); }