mirror of
https://github.com/fadden/6502bench.git
synced 2025-07-23 01:24:07 +00:00
Make "smart" PLP handling optional
We try to be clever with PHP/PLP, but sometimes we get it wrong. If we get it wrong a lot, we want to turn it off. Now we can.
This commit is contained in:
@@ -51,18 +51,22 @@ namespace SourceGen {
|
||||
public TextScanMode DefaultTextScanMode { get; set; }
|
||||
public int MinCharsForString { get; set; }
|
||||
public bool SeekNearbyTargets { get; set; }
|
||||
public bool SmartPlpHandling { get; set; }
|
||||
|
||||
public AnalysisParameters() {
|
||||
// Set default values.
|
||||
AnalyzeUncategorizedData = true;
|
||||
DefaultTextScanMode = TextScanMode.LowHighAscii;
|
||||
MinCharsForString = DataAnalysis.DEFAULT_MIN_STRING_LENGTH;
|
||||
SeekNearbyTargets = true;
|
||||
SmartPlpHandling = true;
|
||||
}
|
||||
public AnalysisParameters(AnalysisParameters src) {
|
||||
AnalyzeUncategorizedData = src.AnalyzeUncategorizedData;
|
||||
DefaultTextScanMode = src.DefaultTextScanMode;
|
||||
MinCharsForString = src.MinCharsForString;
|
||||
SeekNearbyTargets = src.SeekNearbyTargets;
|
||||
SmartPlpHandling = src.SmartPlpHandling;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user