Remove dead constants, change vsync margin during ystart to match frame.

This commit is contained in:
Christian Speckner 2017-10-17 22:31:55 +02:00
parent 86e789a6cf
commit b5feb9fc40
3 changed files with 6 additions and 7 deletions

View File

@ -31,12 +31,7 @@ enum Metrics: uInt32 {
vsync = 3,
maxLinesVsync = 50,
visibleOverscan = 20,
tvModeDetectionTolerance = 20,
initialGarbageFrames = TIAConstants::initialGarbageFrames,
minStableFrames = 10,
maxStabilizationFrames = 20,
minDeltaForJitter = 3,
framesForStableHeight = 2
initialGarbageFrames = TIAConstants::initialGarbageFrames
};
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -26,7 +26,7 @@ enum Metrics: uInt32 {
frameLinesPAL = 312,
vblankNTSC = 37,
vblankPAL = 45,
waitForVsync = 32,
waitForVsync = 50,
tvModeDetectionTolerance = 20,
maxUnderscan = 10,
maxVblankViolations = 2,

View File

@ -20,6 +20,10 @@
#include "AbstractFrameManager.hxx"
/**
* This frame manager detects ystart from the first line with vblank = off.
*/
class YStartDetector: public AbstractFrameManager {
public: