Fix exception thrown recording of movies on SNES ROMs inside archive files
This commit is contained in:
parent
1a9eb940a6
commit
924aa80f7d
|
@ -1217,7 +1217,7 @@ namespace BizHawk.MultiClient
|
||||||
game.System = "SNES";
|
game.System = "SNES";
|
||||||
nextComm.SNES_ExePath = SNES_Prepare(Global.Config.SNESProfile);
|
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);
|
var snes = new LibsnesCore(nextComm);
|
||||||
nextEmulator = snes;
|
nextEmulator = snes;
|
||||||
|
|
Loading…
Reference in New Issue