MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / source

Method source

3ds/source/backuptarget.cpp:55–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55SaveDataSource BackupTarget::source(void) const
56{
57 if (mKind == BackupKind::Save) {
58 if (mTitle.isDSiWare()) {
59 return SaveDataSource::twlSave(mTitle.lowId(), mTitle.highId());
60 }
61 return mTitle.isGBAVC() ? SaveDataSource::rawGba(mTitle.mediaType(), mTitle.lowId(), mTitle.highId())
62 : SaveDataSource::ctrSave(mTitle.mediaType(), mTitle.lowId(), mTitle.highId());
63 }
64 return SaveDataSource::extdata(mTitle.extdataId());
65}
66
67BackupTarget Title::backup(BackupKind kind)
68{

Callers

nothing calls this directly

Calls 6

isDSiWareMethod · 0.80
lowIdMethod · 0.80
highIdMethod · 0.80
isGBAVCMethod · 0.80
mediaTypeMethod · 0.80
extdataIdMethod · 0.80

Tested by

no test coverage detected