mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-23 06:19:41 +00:00
Fix other strings too
This commit is contained in:
parent
3d2cadcfbe
commit
7a5b9e90b0
@ -174,7 +174,7 @@ static int httpMethodStringToInt(const char* method) {
|
||||
return SCE_HTTP_POST;
|
||||
}
|
||||
LOG_USE_MODULE(OnlineNetCore_http);
|
||||
LOG_TRACE(L"unsupported http method: %s", method);
|
||||
LOG_TRACE(L"unsupported http method: %S", method);
|
||||
|
||||
return -1;
|
||||
}
|
||||
@ -197,7 +197,7 @@ static int32_t performHttpRequest(HttpRequestParams* request, HttpResponse* resp
|
||||
return Err::HTTP_SSL_ERROR;
|
||||
}
|
||||
if (std::strcmp(connection->scheme, "http") != 0) {
|
||||
LOG_TRACE(L"unknown scheme: %s://", connection->scheme);
|
||||
LOG_TRACE(L"unknown scheme: %S://", connection->scheme);
|
||||
|
||||
return Err::HTTP_BAD_SCHEME;
|
||||
}
|
||||
@ -269,7 +269,7 @@ static int32_t performHttpRequest(HttpRequestParams* request, HttpResponse* resp
|
||||
}
|
||||
bool tooLow;
|
||||
if ((tooLow = contentLength < 1) || contentLength > 1610612736) {
|
||||
LOG_TRACE(L"bad content length: %s", (tooLow ? "less than 1 byte" : "more than 1.5 GiB"));
|
||||
LOG_TRACE(L"bad content length: %S", (tooLow ? "less than 1 byte" : "more than 1.5 GiB"));
|
||||
|
||||
return Err::HTTP_FAILURE;
|
||||
}
|
||||
|
@ -202,12 +202,12 @@ bool Avplayer::setFile(const char* filename) {
|
||||
|
||||
// Init ffmpeg
|
||||
if (avformat_open_input(&m_pFmtCtx, m_filename.string().c_str(), NULL, NULL) < 0) {
|
||||
LOG_ERR(L"avformat_open_input %s", filename, m_filename.c_str());
|
||||
LOG_ERR(L"avformat_open_input %s", m_filename.c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
if (avformat_find_stream_info(m_pFmtCtx, NULL) < 0) {
|
||||
LOG_ERR(L"avformat_find_stream_info %s", filename, m_filename.c_str());
|
||||
LOG_ERR(L"avformat_find_stream_info %s", m_filename.c_str());
|
||||
avformat_close_input(&m_pFmtCtx);
|
||||
return false;
|
||||
}
|
||||
@ -547,4 +547,4 @@ std::unique_ptr<std::thread> Avplayer::threadFunc() {
|
||||
av_packet_free(&packet);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -23,67 +23,67 @@ EXPORT SYSV_ABI int32_t sceNpPartyCheckCallback() {
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceNpPartyCreate() {
|
||||
LOG_USE_MODULE(libSceNpParty);
|
||||
LOG_ERR(L"todo %s", __FUNCTION__);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceNpPartyGetId() {
|
||||
LOG_USE_MODULE(libSceNpParty);
|
||||
LOG_ERR(L"todo %s", __FUNCTION__);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceNpPartyGetMemberInfo() {
|
||||
LOG_USE_MODULE(libSceNpParty);
|
||||
LOG_ERR(L"todo %s", __FUNCTION__);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceNpPartyGetMemberVoiceInfo() {
|
||||
LOG_USE_MODULE(libSceNpParty);
|
||||
LOG_ERR(L"todo %s", __FUNCTION__);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceNpPartyGetMembers() {
|
||||
LOG_USE_MODULE(libSceNpParty);
|
||||
LOG_ERR(L"todo %s", __FUNCTION__);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceNpPartyGetState() {
|
||||
LOG_USE_MODULE(libSceNpParty);
|
||||
LOG_ERR(L"todo %s", __FUNCTION__);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceNpPartyGetStateAsUser() {
|
||||
LOG_USE_MODULE(libSceNpParty);
|
||||
LOG_ERR(L"todo %s", __FUNCTION__);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceNpPartyRegisterHandler() {
|
||||
LOG_USE_MODULE(libSceNpParty);
|
||||
LOG_ERR(L"todo %s", __FUNCTION__);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceNpPartySendBinaryMessage() {
|
||||
LOG_USE_MODULE(libSceNpParty);
|
||||
LOG_ERR(L"todo %s", __FUNCTION__);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceNpPartyShowInvitationList() {
|
||||
LOG_USE_MODULE(libSceNpParty);
|
||||
LOG_ERR(L"todo %s", __FUNCTION__);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceNpPartyTerminate() {
|
||||
LOG_USE_MODULE(libSceNpParty);
|
||||
LOG_ERR(L"todo %s", __FUNCTION__);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user