mirror of
https://github.com/fadden/6502bench.git
synced 2024-06-12 23:29:32 +00:00
Fix bit rot in sample
Also, use the "uninitialized data" feature in the amper-fdraw project.
This commit is contained in:
parent
4537f24958
commit
399a54efa7
File diff suppressed because it is too large
Load Diff
|
@ -33,6 +33,11 @@ namespace ExtensionScriptSample {
|
|||
AppDomain.CurrentDomain.Id + "): prepare()");
|
||||
}
|
||||
|
||||
public void Unprepare() {
|
||||
mAppRef = null;
|
||||
mFileData = null;
|
||||
}
|
||||
|
||||
public void UpdateSymbolList(List<PlSymbol> plSyms) {
|
||||
// reset this every time, in case they remove the symbol
|
||||
mInlineL1StringAddr = -1;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user