fix FDS and maybe CGB load fail switch, which were broken because i broke them

This commit is contained in:
goyuken 2014-08-24 17:25:29 +00:00
parent e865599ef6
commit 728a6cf1e7
1 changed files with 5 additions and 0 deletions

View File

@ -427,6 +427,11 @@ namespace BizHawk.Client.Common
system = game.System;
}
// all of the specific exceptions we're trying to catch here aren't expected to have inner exceptions,
// so drill down in case we got a TargetInvocationException or something like that
while (ex.InnerException != null)
ex = ex.InnerException;
// Specific hack here, as we get more cores of the same system, this isn't scalable
if (ex is UnsupportedMapperException)
{