| 40 | } |
| 41 | |
| 42 | int32_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 | |
| 61 | void ytutils::Log::Flush() |
| 62 | { |
nothing calls this directly
no outgoing calls
no test coverage detected