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

Method Get

NetStream/source/tw_utils.cpp:37–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

OnTexPoolAddMethod · 0.45
CreateListItemMethod · 0.45
OnTexPoolAddMethod · 0.45
CreateListItemMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected