From 8979b0abe15be3304498fb245c024a8b010f5f61 Mon Sep 17 00:00:00 2001 From: Asnivor Date: Fri, 22 Jun 2018 17:42:17 +0100 Subject: [PATCH] EmuHawk: fix exception on multidiskbundler xml check when file is within an archive --- BizHawk.Client.EmuHawk/MainForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/MainForm.cs b/BizHawk.Client.EmuHawk/MainForm.cs index 508a6840b0..6c7bcfb5e4 100644 --- a/BizHawk.Client.EmuHawk/MainForm.cs +++ b/BizHawk.Client.EmuHawk/MainForm.cs @@ -3640,7 +3640,7 @@ namespace BizHawk.Client.EmuHawk CoreFileProvider.SyncCoreCommInputSignals(nextComm); InputManager.SyncControls(); - if (Path.GetExtension(loaderName).ToLower() == ".xml") + if (Path.GetExtension(loaderName.Replace("*OpenRom*", "").Replace("|", "")).ToLower() == ".xml") { // this is a multi-disk bundler file // determine the xml assets and create RomStatusDetails for all of them