Qt: Fix build on older Qt
Vicki Pfau vi@endrift.com
Thu, 04 Feb 2021 01:04:28 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/platform/qt/SaveConverter.cpp
→
src/platform/qt/SaveConverter.cpp
@@ -641,7 +641,7 @@ case GB_MBC6:
if (size == target.size + GB_SIZE_MBC6_FLASH) { converted = backing->read(target.size); } 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); } break;