From 924aa80f7d97d92668a767777fadc1b36ed2fd2e Mon Sep 17 00:00:00 2001 From: adelikat Date: Fri, 23 Aug 2013 00:40:35 +0000 Subject: [PATCH] Fix exception thrown recording of movies on SNES ROMs inside archive files --- BizHawk.MultiClient/MainForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.MultiClient/MainForm.cs b/BizHawk.MultiClient/MainForm.cs index 79c6e6ef15..f171c8ba75 100644 --- a/BizHawk.MultiClient/MainForm.cs +++ b/BizHawk.MultiClient/MainForm.cs @@ -1217,7 +1217,7 @@ namespace BizHawk.MultiClient game.System = "SNES"; nextComm.SNES_ExePath = SNES_Prepare(Global.Config.SNESProfile); - ((CoreFileProvider)nextComm.CoreFileProvider).SubfileDirectory = Path.GetDirectoryName(path); + ((CoreFileProvider)nextComm.CoreFileProvider).SubfileDirectory = Path.GetDirectoryName(path.Replace("|", "")); //Dirty hack to get around archive filenames (since we are just getting the directory path, it is safe to mangle the filename var snes = new LibsnesCore(nextComm); nextEmulator = snes;