1
0
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:
Andy McFadden
2021-11-14 09:18:12 -08:00
parent 4537f24958
commit 399a54efa7
3 changed files with 1237 additions and 235 deletions

View File

@@ -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);