From cb9fe32b8c3f47d41c3beb7f85b25d2f10502e2c Mon Sep 17 00:00:00 2001 From: "crediar@rypp.net" Date: Fri, 24 May 2013 18:40:02 +0000 Subject: [PATCH] -updated to version 2.10- *Fixed a bug in the pattern detection code (DVDLowReadDiskID) git-svn-id: svn://localhost/Users/andi/Downloads/code/trunk@40 be6c1b03-d731-4111-a574-e37d80d43941 --- Patches.c | 2 +- global.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Patches.c b/Patches.c index df8b256..7fe1f33 100644 --- a/Patches.c +++ b/Patches.c @@ -940,7 +940,7 @@ void DoPatches( char *ptr, u32 size, u32 SectionOffset ) if( (PatchCount & 512) == 0 ) //DVDLowReadDiskID { - if( (read32( (u32)ptr + i ) & 0xFCFFFFFF ) == 0x3C00A800 && (read32( (u32)ptr + i + 4 ) & 0xFCFFFFFF ) == 0x38000040 ) + if( (read32( (u32)ptr + i ) & 0xFC00FFFF ) == 0x3C00A800 && (read32( (u32)ptr + i + 4 ) & 0xFC00FFFF ) == 0x38000040 ) { u32 Offset = (u32)ptr + i; diff --git a/global.h b/global.h index 5528118..767cc2b 100644 --- a/global.h +++ b/global.h @@ -15,7 +15,7 @@ #define PADHOOK 1 #define CONFIG_VERSION 0x00000002 -#define DM_VERSION 0x00020009 +#define DM_VERSION 0x0002000a #define DI_SUCCESS 1 #define DI_ERROR 2