Fix exception thrown recording of movies on SNES ROMs inside archive files

This commit is contained in:
adelikat 2013-08-23 00:40:35 +00:00
parent 1a9eb940a6
commit 924aa80f7d
1 changed files with 1 additions and 1 deletions

View File

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