This commit is contained in:
dborth 2010-10-14 20:16:10 +00:00
parent eccf34439b
commit 9c3ebad47c

View File

@ -40,7 +40,6 @@
extern "C" { extern "C" {
extern void __exception_setreload(int t); extern void __exception_setreload(int t);
extern u32 __di_check_ahbprot(void);
} }
extern int emulating; extern int emulating;
@ -305,13 +304,6 @@ int main(int argc, char *argv[])
#endif #endif
#ifdef HW_RVL #ifdef HW_RVL
// only reload IOS if AHBPROT is not enabled
u32 version = IOS_GetVersion();
s32 preferred = IOS_GetPreferredVersion();
if(version != 58 && preferred > 0 && version != (u32)preferred && __di_check_ahbprot() != 1)
IOS_ReloadIOS(preferred);
StartNetworkThread(); StartNetworkThread();
DI_Init(); DI_Init();
#endif #endif