From 27136932c3bb4ff67fa66b7aab00417866a698f5 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 27 Aug 2011 18:09:54 +0000 Subject: [PATCH] throttle diagnostics --- BizHawk.MultiClient/MainForm.cs | 5 ++++- BizHawk.MultiClient/Throttle.cs | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/BizHawk.MultiClient/MainForm.cs b/BizHawk.MultiClient/MainForm.cs index cd470252ba..30397e4593 100644 --- a/BizHawk.MultiClient/MainForm.cs +++ b/BizHawk.MultiClient/MainForm.cs @@ -45,7 +45,7 @@ namespace BizHawk.MultiClient DateTime runloop_second; bool runloop_last_ff; - Throttle throttle = new Throttle(); + Throttle throttle; bool unthrottled = false; //For handling automatic pausing when entering the menu @@ -74,6 +74,9 @@ namespace BizHawk.MultiClient LogConsole.ShowConsole(); displayLogWindowToolStripMenuItem.Checked = true; } + + throttle = new Throttle(); + DiscSystem.FFMpeg.FFMpegPath = PathManager.MakeProgramRelativePath(Global.Config.FFMpegPath); Global.CheatList = new CheatList(); diff --git a/BizHawk.MultiClient/Throttle.cs b/BizHawk.MultiClient/Throttle.cs index ae75641cbd..57d697f15d 100644 --- a/BizHawk.MultiClient/Throttle.cs +++ b/BizHawk.MultiClient/Throttle.cs @@ -144,6 +144,7 @@ namespace BizHawk.MultiClient tmethod = 1; else afsfreq = 1000; + Console.WriteLine("throttle method: {0}; resolution: {1}", tmethod, afsfreq); tfreq = afsfreq << 16; }