Qt: Fix build on older Qt

This commit is contained in:
Vicki Pfau 2021-02-04 01:04:28 -08:00
parent 9d1eb3dedb
commit 7408ee9c56
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ QByteArray SaveConverter::AnnotatedSave::convertTo(const SaveConverter::Annotate
if (size == target.size + GB_SIZE_MBC6_FLASH) { if (size == target.size + GB_SIZE_MBC6_FLASH) {
converted = backing->read(target.size); converted = backing->read(target.size);
} else if (target.size == GB_SIZE_MBC6_FLASH) { } else if (target.size == GB_SIZE_MBC6_FLASH) {
backing->skip(size - GB_SIZE_MBC6_FLASH); backing->seek(size - GB_SIZE_MBC6_FLASH);
converted = backing->read(GB_SIZE_MBC6_FLASH); converted = backing->read(GB_SIZE_MBC6_FLASH);
} }
break; break;