-moved IOS reload call for d2x v8+

This commit is contained in:
fix94.1 2012-01-22 18:19:54 +00:00
parent 009c98909d
commit a68c99e09b
2 changed files with 3 additions and 3 deletions

View File

@ -85,9 +85,7 @@ s32 Apploader_Run(entry_point *entry, u8 vidMode, GXRModeObj *vmode, bool vipatc
PrinceOfPersiaPatch();
/* Set entry point from apploader */
*entry = appldr_final();
IOSReloadBlock(IOS_GetVersion());
*entry = appldr_final();
/* ERROR 002 fix (WiiPower) */
*(u32 *)0x80003140 = *(u32 *)0x80003188;

View File

@ -341,6 +341,8 @@ s32 Disc_BootPartition(u64 offset, u8 vidMode, bool vipatch, bool countryString,
{
entry_point p_entry;
IOSReloadBlock(IOS_GetVersion());
s32 ret = WDVD_OpenPartition(offset, 0, 0, 0, Tmd_Buffer);
if (ret < 0) return ret;