Exemple #1
0
        public void Restart()
        {
            if ((!IsHandleCreated || IsDisposed) && !Global.Config.DisplayRamWatch)
            {
                return;
            }

            if (_watches != null && !string.IsNullOrWhiteSpace(_watches.CurrentFileName))
            {
                _watches.RefreshDomans(_memoryDomains, _memoryDomains.MainMemory);
                _watches.Reload();
                SetPlatformAndMemoryDomainLabel();
                UpdateStatusBar();
            }
            else
            {
                _watches = new WatchList(_memoryDomains, _memoryDomains.MainMemory, _emu.SystemId);
                NewWatchList(true);
            }
        }