stfour said:
Sorry FIX... I've lost your post... it should be right !
I have to admit that I've tested again and sometimes seems not work... maybe need to invalidate memory before checking. I try. But I'm quite sure that the pattern is unique for dollz. I've tryed to compress different dol.
Worning: b19 has wrong internal build number but the packet is right.
No problem. It would be really amazing if you get it to work because nobody else was able (homebrew channel doesn't count btw
)
Sometime I'm so stupid... this is the right code...
CODE
bool IsDollZ (u8 *buff)
ÂÂÂÂ{
ÂÂÂÂint ret;
ÂÂÂÂ
ÂÂÂÂu8 dollz_stamp[] = {0x3C, 0x20, 0x81, 0x60, 0x7C, 0x78, 0xE2, 0xA6, 0x64, 0x63, 0xA0, 0x00};
ÂÂÂÂint dollz_offs = 0x100;
ÂÂÂÂret = memcmp (&buff[dollz_offs], dollz_stamp, sizeof(dollz_stamp));
ÂÂÂÂif (ret == 0) return true;
ÂÂÂÂ
ÂÂÂÂreturn false;
ÂÂÂÂ}