Settings.cs 727 B

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