mirror of
https://github.com/dborth/snes9xgx.git
synced 2025-02-17 11:56:25 +01:00
simplify
This commit is contained in:
parent
d612bf27f9
commit
9816922af5
@ -58,7 +58,6 @@ static int currentMode;
|
|||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
extern void __exception_setreload(int t);
|
extern void __exception_setreload(int t);
|
||||||
extern u32 __di_check_ahbprot(void);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extern void S9xInitSync();
|
extern void S9xInitSync();
|
||||||
@ -337,13 +336,6 @@ 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user