From a1dcd9928e24410b96939160b7c65ed80088c58d Mon Sep 17 00:00:00 2001 From: jdpurcell Date: Sun, 8 Feb 2015 15:16:28 +0000 Subject: [PATCH] Fix empty DisassemblerView with non-standard DPI settings. --- .../tools/Debugger/GenericDebugger.Disassembler.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.Disassembler.cs b/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.Disassembler.cs index 8a635feb8a..c890cb9709 100644 --- a/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.Disassembler.cs +++ b/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.Disassembler.cs @@ -159,7 +159,10 @@ namespace BizHawk.Client.EmuHawk private void DisassemblerView_SizeChanged(object sender, EventArgs e) { SetDisassemblerItemCount(); - Disassemble(); + if (CanDisassemble) + { + Disassemble(); + } } private void DisassemblerView_KeyDown(object sender, KeyEventArgs e)