MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / Get

Method Get

NetStream/source/yt_utils.cpp:42–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42int32_t ytutils::Log::Get(const char *data)
43{
44 char *sptr;
45 char dataCopy[SCE_INI_FILE_PROCESSOR_KEY_BUFFER_SIZE];
46 char val[2];
47
48 sce_paf_strncpy(dataCopy, data, SCE_INI_FILE_PROCESSOR_KEY_BUFFER_SIZE);
49
50 // Restore '}'
51 sptr = sce_paf_strchr(dataCopy, '=');
52 while (sptr)
53 {
54 *sptr = '}';
55 sptr = sce_paf_strchr(sptr, '=');
56 }
57
58 return m_ini->get(dataCopy, val, sizeof(val), 0);
59}
60
61void ytutils::Log::Flush()
62{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected