mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-31 21:30:59 +00:00
Minor updates
This commit is contained in:
parent
1c79cddb47
commit
c637d6549c
@ -256,7 +256,7 @@ namespace SourceGen {
|
||||
// Load the settings from the file. If this fails we have no way to tell the user,
|
||||
// so just keep going.
|
||||
LoadAppSettings();
|
||||
SetAppWindowLocation();
|
||||
SetAppWindowLocation(); // <-- this causes WindowLoaded to fire
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -1529,6 +1529,7 @@ namespace SourceGen {
|
||||
|
||||
public void ShowAppSettings(Window owner, EditAppSettings.Tab initialTab,
|
||||
AsmGen.AssemblerInfo.Id initialAsmId) {
|
||||
// TODO: this can be done in a less-awkward way by subscribing to an event
|
||||
EditAppSettings dlg = new EditAppSettings(owner, mMainWin, this,
|
||||
initialTab, initialAsmId);
|
||||
dlg.ShowDialog();
|
||||
|
@ -165,7 +165,7 @@ namespace SourceGen.Tools.Omf {
|
||||
}
|
||||
first = false;
|
||||
|
||||
Debug.Assert(seg.FileLength > 0);
|
||||
Debug.Assert(seg != null && seg.FileLength > 0);
|
||||
|
||||
SegmentList.Add(seg);
|
||||
offset += seg.FileLength;
|
||||
|
@ -22,6 +22,7 @@ using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
using Microsoft.Win32;
|
||||
|
||||
using Asm65;
|
||||
@ -30,7 +31,6 @@ using CommonUtil;
|
||||
using AssemblerInfo = SourceGen.AsmGen.AssemblerInfo;
|
||||
using AssemblerConfig = SourceGen.AsmGen.AssemblerConfig;
|
||||
using ExpressionMode = Asm65.Formatter.FormatConfig.ExpressionMode;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace SourceGen.WpfGui {
|
||||
/// <summary>
|
||||
|
@ -183,7 +183,7 @@ CopyData lda #<addrs ;get pointer into
|
||||
</div>
|
||||
|
||||
|
||||
</div> <!-- grid-container -->
|
||||
</div> <!-- main -->
|
||||
|
||||
<div id="prevnext">
|
||||
<a href="using-sourcegen.html" class="btn-next">Next »</a>
|
||||
|
Loading…
Reference in New Issue
Block a user