From 14f9f79cdfddb76c5a27450af839541af380f2ec 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/DML@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 2cf39fc..9ceb1e6 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 7999c0a..7b91a1c 100644 --- a/global.h +++ b/global.h @@ -15,7 +15,7 @@ #define PADHOOK 1 #define CONFIG_VERSION 0x00000002 -#define DML_VERSION 0x00020009 +#define DML_VERSION 0x0002000a #define DI_SUCCESS 1 #define DI_ERROR 2