- add backup size hack for Dementium II;
This commit is contained in:
mtabachenko 2013-10-20 17:19:25 +00:00
parent de36370a91
commit f9b4229fd5
1 changed files with 1 additions and 0 deletions

View File

@ -283,6 +283,7 @@ void BackupDevice::detect()
default:
//the archaic case: write the address and then some modulo-4 number of bytes
//why modulo 4? who knows.
if(!memcmp(gameInfo.header.gameCode,"BDE", 3)) { addr_size = 2; break; } // Dementium II
//SM64 (KOR) makes it here with autodetect_size=11 and nothing interesting in the buffer
addr_size = autodetect_size & 3;
break;