throttle diagnostics

This commit is contained in:
zeromus 2011-08-27 18:09:54 +00:00
parent 9ffaf56630
commit 27136932c3
2 changed files with 5 additions and 1 deletions

View File

@ -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();

View File

@ -144,6 +144,7 @@ namespace BizHawk.MultiClient
tmethod = 1;
else
afsfreq = 1000;
Console.WriteLine("throttle method: {0}; resolution: {1}", tmethod, afsfreq);
tfreq = afsfreq << 16;
}