mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix build on older Qt
This commit is contained in:
parent
9d1eb3dedb
commit
7408ee9c56
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue