mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 13:44:15 +01:00
-moved IOS reload call for d2x v8+
This commit is contained in:
parent
009c98909d
commit
a68c99e09b
@ -85,9 +85,7 @@ s32 Apploader_Run(entry_point *entry, u8 vidMode, GXRModeObj *vmode, bool vipatc
|
|||||||
PrinceOfPersiaPatch();
|
PrinceOfPersiaPatch();
|
||||||
|
|
||||||
/* Set entry point from apploader */
|
/* Set entry point from apploader */
|
||||||
*entry = appldr_final();
|
*entry = appldr_final();
|
||||||
|
|
||||||
IOSReloadBlock(IOS_GetVersion());
|
|
||||||
|
|
||||||
/* ERROR 002 fix (WiiPower) */
|
/* ERROR 002 fix (WiiPower) */
|
||||||
*(u32 *)0x80003140 = *(u32 *)0x80003188;
|
*(u32 *)0x80003140 = *(u32 *)0x80003188;
|
||||||
|
@ -341,6 +341,8 @@ s32 Disc_BootPartition(u64 offset, u8 vidMode, bool vipatch, bool countryString,
|
|||||||
{
|
{
|
||||||
entry_point p_entry;
|
entry_point p_entry;
|
||||||
|
|
||||||
|
IOSReloadBlock(IOS_GetVersion());
|
||||||
|
|
||||||
s32 ret = WDVD_OpenPartition(offset, 0, 0, 0, Tmd_Buffer);
|
s32 ret = WDVD_OpenPartition(offset, 0, 0, 0, Tmd_Buffer);
|
||||||
if (ret < 0) return ret;
|
if (ret < 0) return ret;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user