MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / LoadComments

Method LoadComments

Source/FamiTrackerDocIO.cpp:1037–1040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1035}
1036
1037void CFamiTrackerDocIO::LoadComments(CFamiTrackerModule &modfile, int ver) {
1038 bool disp = file_.GetBlockInt() == 1;
1039 modfile.SetComment(file_.ReadString(), disp);
1040}
1041
1042void CFamiTrackerDocIO::SaveComments(const CFamiTrackerModule &modfile, int ver) {
1043 if (auto str = modfile.GetComment(); !str.empty()) {

Callers

nothing calls this directly

Calls 3

GetBlockIntMethod · 0.80
SetCommentMethod · 0.45
ReadStringMethod · 0.45

Tested by

no test coverage detected