add another autodetection

This commit is contained in:
zeromus 2009-05-18 17:15:22 +00:00
parent 3c3b9a4a23
commit e461cc9ce5
1 changed files with 2 additions and 1 deletions

View File

@ -597,7 +597,8 @@ void BackupDevice::reset_command()
addr_size = autodetect_size - 1;
if(autodetect_size==6) addr_size = 2; //castlevania dawn of sorrow 64kbit eeprom (EEPROM2 in the old system)
if(autodetect_size==258) addr_size = 2; //warioware touched
if(autodetect_size==9) addr_size = 1; //star wars III
if(autodetect_size==9) addr_size = 1; //star wars III (BM_CMD_READLOW)
if(autodetect_size==113) addr_size = 1; //space invaders revolution (BM_CMD_READLOW)
if(addr_size>4)
{
LOG("Unexpected backup memory address size: %d\n",addr_size);