From 51e4a13384ecbee674ce12f1ad045fe642b50be6 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 23 Jun 2018 11:29:06 -0500 Subject: [PATCH] Hex Editor - fix exception if autoload is set on table files when no files are in the recent menu --- BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs b/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs index 82b3f53de1..1b6c98b9e4 100644 --- a/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs +++ b/BizHawk.Client.EmuHawk/tools/HexEditor/HexEditor.cs @@ -1271,6 +1271,11 @@ namespace BizHawk.Client.EmuHawk private bool LoadTable(string path) { + if (string.IsNullOrWhiteSpace(path)) + { + return false; + } + var file = new FileInfo(path); if (!file.Exists) {