if (tia.videoOutput().monitor() == null) return;
videoStandardAutoDetectionInProgress = true;
tia.videoOutput().monitor().videoStandardDetectionStart();
// TODO This thread is a source of indeterminism. Potential problem in multiplayer sync
new Thread("Console VideoStd Detection") { public void run() {
VideoStandard std;
int tries = 0;
do {
try { Thread.sleep(20); } catch (InterruptedException e) {};
std = tia.videoOutput().monitor().videoStandardDetected();
} while (std == null && ++tries < 1500/20);