all repos — mgba @ 7408ee9c568699fd567d11a52386bd1406f143c2

mGBA Game Boy Advance Emulator

Qt: Fix build on older Qt
Vicki Pfau vi@endrift.com
Thu, 04 Feb 2021 01:04:28 -0800
commit

7408ee9c568699fd567d11a52386bd1406f143c2

parent

9d1eb3dedbb80ec91f7d8235bc406ccd7ff47dd2

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/qt/SaveConverter.cppsrc/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;