throttle diagnostics
This commit is contained in:
parent
9ffaf56630
commit
27136932c3
|
@ -45,7 +45,7 @@ namespace BizHawk.MultiClient
|
||||||
DateTime runloop_second;
|
DateTime runloop_second;
|
||||||
bool runloop_last_ff;
|
bool runloop_last_ff;
|
||||||
|
|
||||||
Throttle throttle = new Throttle();
|
Throttle throttle;
|
||||||
bool unthrottled = false;
|
bool unthrottled = false;
|
||||||
|
|
||||||
//For handling automatic pausing when entering the menu
|
//For handling automatic pausing when entering the menu
|
||||||
|
@ -74,6 +74,9 @@ namespace BizHawk.MultiClient
|
||||||
LogConsole.ShowConsole();
|
LogConsole.ShowConsole();
|
||||||
displayLogWindowToolStripMenuItem.Checked = true;
|
displayLogWindowToolStripMenuItem.Checked = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
throttle = new Throttle();
|
||||||
|
|
||||||
DiscSystem.FFMpeg.FFMpegPath = PathManager.MakeProgramRelativePath(Global.Config.FFMpegPath);
|
DiscSystem.FFMpeg.FFMpegPath = PathManager.MakeProgramRelativePath(Global.Config.FFMpegPath);
|
||||||
|
|
||||||
Global.CheatList = new CheatList();
|
Global.CheatList = new CheatList();
|
||||||
|
|
|
@ -144,6 +144,7 @@ namespace BizHawk.MultiClient
|
||||||
tmethod = 1;
|
tmethod = 1;
|
||||||
else
|
else
|
||||||
afsfreq = 1000;
|
afsfreq = 1000;
|
||||||
|
Console.WriteLine("throttle method: {0}; resolution: {1}", tmethod, afsfreq);
|
||||||
tfreq = afsfreq << 16;
|
tfreq = afsfreq << 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue