mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
Ignore XML exception to allow invalid DLC XMLs to parse
This commit is contained in:
parent
05e09ba7e2
commit
21fc80798e
1 changed files with 13 additions and 0 deletions
|
|
@ -64,3 +64,16 @@ PPC_FUNC(sub_82547DF0)
|
|||
__imp__sub_82547DF0(ctx, base);
|
||||
}
|
||||
}
|
||||
|
||||
/* Ignore xercesc::EmptyStackException to
|
||||
allow DLC stages with invalid XML to load. */
|
||||
PPC_FUNC_IMPL(__imp__sub_8305D5B8);
|
||||
PPC_FUNC(sub_8305D5B8)
|
||||
{
|
||||
auto value = PPC_LOAD_U32(ctx.r3.u32 + 4);
|
||||
|
||||
if (!value)
|
||||
return;
|
||||
|
||||
__imp__sub_8305D5B8(ctx, base);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue