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

Method titleAt

3ds/source/script/scripthost.cpp:115–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113 }
114
115 bool titleAt(int idx, HostTitle& out) override
116 {
117 Title title;
118 if (!catalogTitle(idx, title)) {
119 return false;
120 }
121 out.id = title.id();
122 out.name = title.longDescription();
123 out.productCode = title.productCode;
124 out.isCart = title.mediaType() == MEDIATYPE_GAME_CARD;
125 out.hasSave = title.accessibleSave();
126 out.hasExtdata = title.accessibleExtdata();
127 return true;
128 }
129
130 int titleIndexOf(uint64_t id) override
131 {

Callers 1

titleArgFunction · 0.45

Calls 4

mediaTypeMethod · 0.80
accessibleSaveMethod · 0.80
accessibleExtdataMethod · 0.80
idMethod · 0.45

Tested by

no test coverage detected