disc - restore intended crash-free handling of slow loading abort

This commit is contained in:
zeromus 2015-07-19 11:56:18 -05:00
parent bcab41c676
commit 9d3888a8a4
1 changed files with 9 additions and 6 deletions
BizHawk.Emulation.DiscSystem

View File

@ -180,15 +180,18 @@ namespace BizHawk.Emulation.DiscSystem
OUT_Disc = ccdLoader.LoadCCDToDisc(IN_FromPath, IN_DiscMountPolicy);
}
DONE: ;
DONE:
//setup the lowest level synth provider
var sssp = new ArraySectorSynthProvider()
if (OUT_Disc != null)
{
Sectors = OUT_Disc._Sectors,
FirstLBA = -150
};
OUT_Disc.SynthProvider = sssp;
var sssp = new ArraySectorSynthProvider()
{
Sectors = OUT_Disc._Sectors,
FirstLBA = -150
};
OUT_Disc.SynthProvider = sssp;
}
}
}