mirror of https://github.com/mgba-emu/mgba.git
Qt: Add exporting of SAV + RTC GB saves from Save Converter to strip RTC data
This commit is contained in:
parent
bd15285ea1
commit
747158d5a6
2
CHANGES
2
CHANGES
|
@ -28,7 +28,7 @@ Misc:
|
|||
- GB Serialize: Add missing savestate support for MBC6 and NT (newer)
|
||||
- GBA: Improve detection of valid ELF ROMs
|
||||
- mGUI: Enable auto-softpatching (closes mgba.io/i/2899)
|
||||
- Qt: Add exporting of SAV + RTC GBA saves from Save Converter to strip RTC data
|
||||
- Qt: Add exporting of SAV + RTC saves from Save Converter to strip RTC data
|
||||
- Scripting: Add `callbacks:oneshot` for single-call callbacks
|
||||
|
||||
0.10.2: (2023-04-23)
|
||||
|
|
|
@ -623,6 +623,11 @@ QList<SaveConverter::AnnotatedSave> SaveConverter::AnnotatedSave::possibleConver
|
|||
}
|
||||
break;
|
||||
default:
|
||||
if (size & 0xFF) {
|
||||
AnnotatedSave noRtc = same;
|
||||
noRtc.size &= ~0xFF;
|
||||
possible.append(noRtc);
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
@ -731,6 +736,9 @@ QByteArray SaveConverter::AnnotatedSave::convertTo(const SaveConverter::Annotate
|
|||
}
|
||||
break;
|
||||
default:
|
||||
if (endianness == target.endianness && size > target.size) {
|
||||
converted = backing->read(target.size);
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue