| 88 | } |
| 89 | |
| 90 | int32_t twutils::Log::AddAsyncJob::Run() |
| 91 | { |
| 92 | char *sptr; |
| 93 | |
| 94 | // Replace '=' in playlists with '}' to not confuse INI processor |
| 95 | sptr = sce_paf_strchr(m_data.c_str(), '='); |
| 96 | |
| 97 | while (sptr) |
| 98 | { |
| 99 | *sptr = '}'; |
| 100 | sptr = sce_paf_strchr(sptr, '='); |
| 101 | } |
| 102 | |
| 103 | m_parent->m_ini->add(m_data.c_str(), ""); |
| 104 | m_parent->m_ini->flush(); |
| 105 | |
| 106 | return SCE_PAF_OK; |
| 107 | } |
| 108 | |
| 109 | void twutils::Log::AddAsync(const char *data) |
| 110 | { |
nothing calls this directly
no outgoing calls
no test coverage detected