diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index b7f718134..79d9d4121 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -591,7 +591,7 @@ int NDS_LoadROM(const char *filename, const char *physicalName, const char *logi buf[4] = 0; if (advsc.checkDB(buf, gameInfo.crc)) { - u8 sv = advsc.getSaveType(); + u8 sv = advsc.getSaveType() + 1; // skip autodetect description in save_types[] struct printf("Found in game database by %s:\n",advsc.getIdMethod()); printf("\t* ROM save type: "); if (sv == 0xFF) diff --git a/desmume/src/mc.cpp b/desmume/src/mc.cpp index 06dd4cc49..432b144b5 100644 --- a/desmume/src/mc.cpp +++ b/desmume/src/mc.cpp @@ -1035,7 +1035,7 @@ void BackupDevice::loadfile() { if (advsc.isLoaded()) { - info.type = advsc.getSaveType(); + info.type = advsc.getSaveType() + 1; // skip autodetect description in save_types[] struct if (info.type != 0xFF && info.type != 0xFE) { u32 adv_size = save_types[info.type+1].size;