EmuHawk: fix exception on multidiskbundler xml check when file is within an archive

This commit is contained in:
Asnivor 2018-06-22 17:42:17 +01:00
parent b397cb58fb
commit 8979b0abe1
1 changed files with 1 additions and 1 deletions

View File

@ -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