| 35 | } |
| 36 | |
| 37 | int32_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 | |
| 56 | void twutils::Log::Flush() |
| 57 | { |
no outgoing calls
no test coverage detected