diff --git a/source/vbagx.cpp b/source/vbagx.cpp index 90f1474..202974b 100644 --- a/source/vbagx.cpp +++ b/source/vbagx.cpp @@ -222,7 +222,10 @@ bool SaneIOS() u32 num_titles=0; u32 tmd_size; u32 ios = IOS_GetVersion(); - u8 tmdbuffer[MAX_SIGNED_TMD_SIZE] ATTRIBUTE_ALIGN(32); + u32 tmdbuffer[MAX_SIGNED_TMD_SIZE] ATTRIBUTE_ALIGN(32); + + if(ios > 200) + return false; if (ES_GetNumTitles(&num_titles) < 0) return false; @@ -341,8 +344,6 @@ int main(int argc, char *argv[]) else if((version < 61 || version >= 200) && FindIOS(61)) IOS_ReloadIOS(61); } - - DI_LoadDVDX(false); DI_Init(); #endif