From 8caf7fd97283c02892e66fda81c0b5d2e05bcdb4 Mon Sep 17 00:00:00 2001 From: dborth Date: Mon, 9 Aug 2010 18:16:03 +0000 Subject: [PATCH] typefix --- source/fceugx.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/fceugx.cpp b/source/fceugx.cpp index d99a48a..1c7c4f8 100644 --- a/source/fceugx.cpp +++ b/source/fceugx.cpp @@ -235,7 +235,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; @@ -354,8 +357,6 @@ int main(int argc, char *argv[]) else if((version < 61 || version >= 200) && FindIOS(61)) IOS_ReloadIOS(61); } - - DI_LoadDVDX(false); DI_Init(); #endif