-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
This commit is contained in:
crediar@rypp.net 2013-05-24 18:40:02 +00:00
parent bc58c3874f
commit cb9fe32b8c
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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