From 85419ab656067ce076eebac86b623f6dddde64c5 Mon Sep 17 00:00:00 2001 From: zeromus Date: Thu, 28 Jul 2011 05:24:33 +0000 Subject: [PATCH] fix recently crashing archive file loading --- BizHawk.MultiClient/MainForm.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BizHawk.MultiClient/MainForm.cs b/BizHawk.MultiClient/MainForm.cs index ab6d721113..ecb966a561 100644 --- a/BizHawk.MultiClient/MainForm.cs +++ b/BizHawk.MultiClient/MainForm.cs @@ -833,7 +833,8 @@ namespace BizHawk.MultiClient IEmulator nextEmulator = null; RomGame game = null; - if (Path.GetExtension(path).ToLower() == ".iso") + + if (file.Extension.ToLower() == ".iso") { if (Global.PsxCoreLibrary.IsOpen) {