mirror of
https://github.com/fadden/6502bench.git
synced 2026-03-10 23:22:19 +00:00
Fix bit rot in sample
Also, use the "uninitialized data" feature in the amper-fdraw project.
This commit is contained in:
@@ -33,9 +33,15 @@ namespace ExtensionScriptSample {
|
||||
AppDomain.CurrentDomain.Id + "): prepare()");
|
||||
}
|
||||
|
||||
public void Unprepare() {
|
||||
mAppRef = null;
|
||||
mFileData = null;
|
||||
}
|
||||
|
||||
public void UpdateSymbolList(List<PlSymbol> plSyms) {
|
||||
mNullStringAddrs.Clear();
|
||||
|
||||
// Find matching symbols.
|
||||
foreach (PlSymbol sym in plSyms) {
|
||||
if (sym.Label.StartsWith(LABEL_PREFIX)) {
|
||||
mNullStringAddrs.Add(sym.Value, sym);
|
||||
|
||||
Reference in New Issue
Block a user