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