Settings.cs 795 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Ryujinx.Profiler
  5. {
  6. public class ProfilerSettings
  7. {
  8. // Default settings for profiler
  9. public bool Enabled { get; set; } = false;
  10. public bool FileDumpEnabled { get; set; } = false;
  11. public string DumpLocation { get; set; } = "";
  12. public float UpdateRate { get; set; } = 0.1f;
  13. public int MaxLevel { get; set; } = 0;
  14. public int MaxFlags { get; set; } = 1000;
  15. // 19531225 = 5 seconds in ticks on most pc's.
  16. // It should get set on boot to the time specified in config
  17. public long History { get; set; } = 19531225;
  18. // Controls
  19. public ProfilerKeyboardHandler Controls;
  20. }
  21. }